Bug 120767 - a way of disabling Code Formatter for certain code blocks
Summary: a way of disabling Code Formatter for certain code blocks
Status: RESOLVED DUPLICATE of bug 76435
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 18:04 EST by paul stanton CLA
Modified: 2005-12-19 14:58 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul stanton CLA 2005-12-13 18:04:19 EST
i religously use the code formatter, however there are some cases where it makes code less readable.

I could benefit by being able to wrap a "do not format" tag and "end do not format" around a block of code i know gives the formatter trouble.

maybe it could be implemented as a javadoc attribute for a method, or a pair of comments:

// to not format
ugly.javaCode(yes, very, ugly);
// end do not format

cheers.
Comment 1 Olivier Thomann CLA 2005-12-19 14:58:03 EST

*** This bug has been marked as a duplicate of 76435 ***