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 88171 - Highlight initial spaces in action lines in red
Summary: Highlight initial spaces in action lines in red
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 00:36 UTC by _ gordonp
Modified: 2010-11-12 22:24 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 _ gordonp 2006-10-28 00:36:08 UTC
A Makefile has very exact rules about tabs beginning an action line (for
this IZ, I'm referring to an action as the lines following a line of the
form "foo.o: foo.c"). If the line begins with spaces then its syntactically
incorrect and the make will fail.

Currently, pressing return from a rule line ("foo.o: foo.c") auto-indents
a tab. But users can either overcome this by backspacing and typing spaces
or they could read in a Makefile with spaces here. 

It would be helpfull for the editor to highlight these spaces in red (its
not an original idea, vim does it and other editors may as well).