Nagabhushan S N
Nagabhushan S N

Reputation: 7277

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?

Upvotes: 0

Views: 223

Answers (1)

Camilla
Camilla

Reputation: 170

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

Upvotes: 1

Related Questions