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 211546 - Turning off formatting locally
Summary: Turning off formatting locally
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal with 8 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 09:26 UTC by maartenl
Modified: 2017-06-02 08:21 UTC (History)
1 user (show)

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 maartenl 2012-04-21 09:26:50 UTC
I know in Eclipse there's the possibility of turning off formatting at local code parts (for example, with things that require specific formatting, like SQL statements).

// @formatter:off
private static final SQLSTRING = "SELECT stuff "
                                 "FROM table";
// @formatter:on

Is that something that Netbeans editor would support?
Comment 1 KraushLu 2016-03-30 08:55:48 UTC
+1
Comment 2 almircampos 2017-01-23 11:17:26 UTC
+1
Comment 3 AMarguier 2017-06-02 08:21:04 UTC
Hi Guys,
It would be a very nice feature to have.
It may be a bad habit from Eclipse, I guess, but it is very useful.

Any news about it ?