Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
貼り付けたときにIntellijIDEAがコードを再作成しないようにしたい。 これどうやってするの?
PS Erlang(ErlGrayプラグイン)のコードフォーマットをカスタマイズできないために必要です
他の誰かがこれに遭遇し、プロジェクト全体の設定を変更したくない場合は、最近「単純な貼り付け」コマンド(Ctrl + Alt + Shift + V)を見つけました。追加されたバージョンはわかりませんが、IntelliJ13の時点で存在しています。
セットSettings(PreferencesMacの場合)| Editor| Smart Keys| なしReformat on Pasteへ:
Settings
Preferences
Editor
Smart Keys
Reformat on Paste
[貼り付けの再フォーマット]を[なし]に変更するだけではうまくいかないことがわかりました。また、「スマートインデント貼り付け行」のチェックを外さなければなりませんでした