a vertical bar is inserted automatically when there is a line break in a string in Scala

 Hi,

I recently noticed that whenever I paste a piece of text with some line breaks into a Scala multi-line string ("""xxx"""), or when I hit enter in the string, a vertical bar ("|") is inserted to the beginning of the line. This is very annoying because I have to manually remove them so that Json could parse the string correctly. Is there a way to stop Intellij from adding these bars automatically? 

Thanks a lot.

He Wang

0
Avatar
Permanently deleted user

Hello, 

it can be disabled in 'Multi-line strings support' 

0

请先登录再写评论。