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

10 comments
Comment actions Permalink

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.

3
Comment actions Permalink

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 !

1
Comment actions Permalink

In the latest version it's now at Settings | Editor | General | Appearance | Show whitespace

8
Comment actions Permalink

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

0
Comment actions Permalink

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.

0
Comment actions Permalink

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

1
Comment actions Permalink

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

1
Comment actions Permalink

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.

0
Comment actions Permalink

@Eldaw

You can configure it now. But not "2+ only" kind of stuff.

Other related:

0
Comment actions Permalink

Andriy Bazanov

Thanks for the tip, I've configured that in the meantime.

0

Please sign in to leave a comment.