How to configure right margin for editor in IntelliJ on per project basis

懵懂的女人 提交于 2019-12-08 14:32:18

问题


Is there a way to configure the Right Margin (columns) (under Code Style -> General) on a per project basis?

OR/AND is there a way to configure that same value on a per language basis. For example, I want my Java code to end at 90 columns, but my HTML to end at 120.

Thanks!


回答1:


You can override the global setting with a per-language settings under Editor -> Code Style -> -> Wrapping and Braces. Example:



来源:https://stackoverflow.com/questions/19424353/how-to-configure-right-margin-for-editor-in-intellij-on-per-project-basis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!