intellij messes up with tabs in non-program files -


so spent time fussing on why string.split call in scala failed - trying split on tab.

problem wasn't doing, rather fact intellij changes tabs spaces. fair enough, can tell intellij not files - random text files might using test/learning purposes?

first, turn on settings > editor > appearance > show whitespaces, way you're sure white space characters there.

next, under settings > code style > general there should use tab character check box. says "use tabs that's not java, scala, html, etc.". make sure java, scala*, etc. use tab character setting set want.

unfortunately, don't know of way more fine grained file types , not use tabs vs. spaces.

*i'm assuming intellij scala plugin adds tab in settings > code style.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -