简体   繁体   中英

How to disable right margin only for xml in Intellij?

I'm using Intellij 2017.3 Community Edition. I need to disable right margin only for XML and enable it for java. In Settings/Editor/Code Style, there is Hard Wrap option. If I remove this, then right margin will be disable for java also right? I don't want that to happen. I want Intellij to format java files for Right margin but not XML files. There is no option to disable Right Margin under Settings/Editor/Code Style/XML. How to achieve this?

How to configure right margin for editor in IntelliJ on per project basis Do you see the individual languages under code style? For me I see iot under XML->Other->Right margin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM