ShlomiRex
ShlomiRex

Reputation: 321

Eclipse editor replaces spaces,tabs, new lines with gibberish

Eclipse Editor Problem

The problem: As you can see, the editor 'replaces' spaces, tabs and new lines with weird characters.

What I tried to do to fix the problem:

And I have no clue how to fix it, as there is no answer in google.

Upvotes: 1

Views: 128

Answers (1)

greg-449
greg-449

Reputation: 111142

You have 'show whitespace characters' enabled. The characters are not 'gibberish' they are showing you things like tab and new line characters.

Open the Preferences and go to 'General > Editors > Text Editors' and deselect the 'show whitespace characters' option. You can also configure exactly which characters are shown here.

There is also a button on the toolbar for this.

Upvotes: 2

Related Questions