[英]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.