How to make "show whitespace" turn on as default?
Hello,
How do I set this option to be on always for all files/formats? I find it that having to manually turn it on via menu for every window is not optimal.
Is there a setting that would accomplish this?
Thanks,
Ramin
Please sign in to leave a comment.
Hi there,
Settings | Editor | Appearance | Show whitespaces
P.S. (Tips)
Settings screen has nice search feature (top left corner) -- does magic.
Similar (to a some degree) effect can be achieved by using "Search Anywhere" (Shift two times) or "Help | Find Action..." (Ctrl+Shift+A) -- both of them can show settings entries (and take you there) as well.
With menu navigation undergoing constant change, the one fantastic feature that makes IJ stand out among others is Ctrl+Shift+A
That took me to the very setting I wanted - sometimes I forget to use that instead of google !
In the latest version it's now at Settings | Editor | General | Appearance | Show whitespace
Settings | Editor | General | Appearance | Show whitespaces
For me, it is above. This is doubled up with Peter's post, just would like to make this standout a bit for other ppl. Cheers
Is it possible to tell it to only show tabs and don't show other whitespace?
Thing is that by default, we use spaces, but some people are still using tabs.
Since that's like an exception, I don't want to see the dots everywhere. Only the tabs when they happen to appear.
Unfortunately, no. This option is working for both types at the same time.
Here are two tickets with a somewhat close idea to distinguish whitespaces and tabs:
https://youtrack.jetbrains.com/issue/IDEA-127020
https://youtrack.jetbrains.com/issue/IDEA-62395
Thanks, Vasiliy
IDEA-127020 is exactly what I mean. The example being from Eclipse is exactly my thoughts. I've been using Eclipse since forever and even though IntelliJ is immensely superior, Eclipse still has a few things that work better
It would be nice if the JetBrains IDEs supported a whitespace option similar to the 'Render Whitespace: boundary' option in Visual Studio Code.
There, that option shows leading and trailing whitespace at the beginning and ends of lines, as well as in cases where there are multiple consecutive spaces between text characters. All other whitespace characters (like single spaces) are not shown.
@Eldaw
You can configure it now. But not "2+ only" kind of stuff.
Other related:
Andriy Bazanov
Thanks for the tip, I've configured that in the meantime.