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 269030 - Add a way to locally disable formatting
Summary: Add a way to locally disable formatting
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 13:17 UTC by terje7601
Modified: 2016-11-18 13: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 terje7601 2016-11-18 13:17:16 UTC
Similar to the possibility of adding code folds ( http://wiki.netbeans.org/SurroundWithCodeFolding ), I'd like a way to insert line comments which specify that anything in between must not be formatted by NetBeans.
For example, if I have comments which contain "diagrams" in ASCII-art, then I want to be able to let NetBeans format the whole project, except for those diagrams. Or sometimes NetBeans' formatting just doesn't make sense to me, and I'd like it to stop formatting a particular piece of code.


Product Version: NetBeans IDE 8.2 (Build 201609300101)
Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b15
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)