how to enable / disable line wrapping based on file type

I enabled the option "wrap when typing reaches the right magin" in settings code style -> general so I don't have very long lines in my java code.  However for other file types such as plain text, I don't want intellij to automatically insert line breaks.  Is there a way to enable or disable this option for selected file types?  Thanks.

3

This is really important for markdown.

4

Hi Peter,

There is no way to achieve that at the moment. Feel free to submit correspondin ticket to the tracker

Denis

0

请先登录再写评论。