This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180882 - Need visual difference between leading tabs vs. spaces
Summary: Need visual difference between leading tabs vs. spaces
Status: RESOLVED DUPLICATE of bug 4619
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-17 23:13 UTC by janicki
Modified: 2010-02-18 07:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janicki 2010-02-17 23:13:19 UTC
I have configured the IDE to indent via tabs (size=2).  Sometimes while editing files (especially in a shared development environment) I'll notice that someone used two spaces instead of a tab, but it's not readily apparent.  

One solution is to show tabs visually, perhaps as a very light grey arrow.  Or to be more clever, the IDE could only make tabs or spaces visible when they aren't expected, e.g. spaces indenting lines in a normally tab-indented file could show up as yellow, or similarly highlight tabs indenting a normally space-indented file.  

Also, maybe visually draw tabs whenever they appear in the middle or end of a line (not as an indent).  I don't think there is any reason for them to (ever?) be used there.
Comment 1 Vitezslav Stejskal 2010-02-18 07:17:08 UTC
IMO duplicate of issue #4619.

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