Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 107076

Summary: Show spaces and tabs as symbols
Product: [Eclipse Project] Platform Reporter: Jozef S. <selesi>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: billy.biggs, pombredanne
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Jozef S. CLA 2005-08-15 18:45:43 EDT
There should be an option to show spaces, tabs and possibly other non-printable
characters as symbols. When there are strict code style guidelines, this would
make it much simpler to check if there are any spaces before newline characters,
 if there are any spaces where only tabs should be present, or if visually empty
lines contain any non-printable symbols. I am currently forced to use a
different editor to do final code inspection before committing.

The KDE project's Kate editor has an excellent implementation of this feature,
and I encourage any developer who works on this to check it out. Here's a
simplified example of how it looks like (it actually doesn't use a dot, but a
different symbol):

.       This begins with a tab;
.       .       Two tabs on this line;
   This line has three spaces at its beginning;
 .      This line begins with a space and a tab;
    .   This line begins with four spaces and a tab;
...
The previous line has three spaces before the newline character.
This line has a space before the newline character;.
Comment 1 Dani Megert CLA 2005-08-16 10:24:22 EDT

*** This bug has been marked as a duplicate of 22712 ***