当我打开带有很长行的文件时,IntelliJ 强行换行并给出此消息this document contains very long lines. soft wraps were forcibly enabled to improve editor performance。
按照此链接中的说明,我在常规编辑器设置中禁用了软包装,并使用帮助菜单创建了一个 idea.properties 文件,在其中添加了'editor.soft.wrap.force.limit=nnnnn.
但是,除非我在活动编辑器中明确禁用它们,否则 intellij 会继续包装这些行。有什么建议?
You should specify some large number instead of nnnnn, like
editor.soft.wrap.force.limit=100000
Run Code Online (Sandbox Code Playgroud)
Notice that editor may become very slow. Default limit is 10000.
| 归档时间: |
|
| 查看次数: |
4733 次 |
| 最近记录: |