1

My friend used my laptop for a while and I forgot to close Eclipse, Later on when I started to work on my project, its showing strange symbols like ">>" and some sort of "q", can any one tell me how to remove this? Any help would be highly appreciated. Thanks.

enter image description here

ALi Akbar
  • 135
  • 1
  • 13
  • Your friend has turned on the display of invisible characters. You can turn them off: [this answer](http://stackoverflow.com/a/364199/1864610) has the details –  Jul 24 '14 at 21:51
  • The ">>" signifies a tab and the "q"-like symbol is a line break. They won't affect your code at all. – Brett Haines Jul 24 '14 at 21:51
  • possible duplicate of [Show SOME invisible/whitespace characters in Eclipse](http://stackoverflow.com/questions/364168/show-some-invisible-whitespace-characters-in-eclipse) –  Jul 24 '14 at 21:52
  • Thanks for your quick response guys. I know that won't affect my code but that was really annoying, its gone now, Thanks :) – ALi Akbar Jul 24 '14 at 21:56
  • "invisible characters" are also known as whitespace. – David Conrad Jul 24 '14 at 22:05

2 Answers2

6

You need to click (actually un-click) one button with symbol of Pi.

enter image description here

Characters you see are symbols of tabulations and line breaks (normally invisible).

Pshemo
  • 113,402
  • 22
  • 170
  • 242
2

Eclipse is displaying all whitespace characters. Use

Window > Preferences > General > Editors > Text Editors

and uncheck the "whitespace characters" checkbox to hide them

Reimeus
  • 152,723
  • 12
  • 195
  • 261