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.
Summary: | Support good whitespace handling in the editor | ||
---|---|---|---|
Product: | editor | Reporter: | _ sandipchitale <sandipchitale> |
Component: | Formatting & Indentation | Assignee: | issues@editor <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ sandipchitale
2005-06-13 01:45:49 UTC
Another instance of extraneous whitespace is the case of blank lines separating the blocks of code. For example: Start with: // block 1 if (condition) { : : : } When I type ENTER after closing } of if the cursor is one the next line the }. This is correct behaviour of indentation. However if I hit enter again to start another block the indentation is not deleted. // block 1 if (condition) { : : : }<ENTER> <ENTER> <---- indentation not deleted // block 2 The indentation engine could be smart about detecting this and delete the whitespace on block separating blank lines. *** This issue has been marked as a duplicate of 13063 *** |