Bug 211546 - Turning off formatting locally
Turning off formatting locally
Status: NEW
Product: editor
Classification: Unclassified
Component: Formatting & Indentation
-S1S-
All All
: P3 with 8 votes (vote)
: TBD
Assigned To: Dusan Balek
issues@editor
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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 ?


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo