如何粘贴代码而无需在IDEA中重新格式化 [英] How to paste code without reformating in IDEA
本文介绍了如何粘贴代码而无需在IDEA中重新格式化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望在粘贴时阻止Intellij IDEA重新格式化我的代码。
我该怎么做?
I want to prevent Intellij IDEA from reformating my code when I paste it.
How can I do this?
P.S。这是必需的,因为我无法自定义Erlang(ErlGray插件)的代码格式
P.S. It is needed because I can't customize code formatting for Erlang (ErlGray plugin)
推荐答案
设置设置
(Mac上的偏好设置
)| 编辑
| 智能钥匙
| 重新格式化粘贴
为无:
Set Settings
(Preferences
on Mac) | Editor
| Smart Keys
| Reformat on Paste
to None:
这篇关于如何粘贴代码而无需在IDEA中重新格式化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文