Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

problem with code formatter and case indent

$
0
0

You can configure IntelliJ to format case statements with or without

indentation.

 

This works fine so long as you don't enclose your case block in {}. If

you do, it refuses to indent.  So what?  Take off the {}.  But

that will often create duplicate declarations.

--

Roedy Green Canadian Mind Products http://mindprod.com

Culture is your operating system.

~ Terence McKenna (born: 1946-11-16 died: 2000-04-03 at age: 53)

 


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>