[英]Is it possible to disable the auto format by copy&past in IntelliJ?
当我复制并粘贴我的源文件时,IntelliJ 会自动格式化文件内容。 例如更改导入顺序。
如何禁用此行为?
您可以在Settings/Preferences (on macOS) | Editor | General | Smart Keys | Reformat on paste
Settings/Preferences (on macOS) | Editor | General | Smart Keys | Reformat on paste
在“设置”-->“编辑器”-->“代码样式”-->“Java”中,您可以找到一个选项卡导入。 在那里你可以改变这种行为
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.