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 56115 - Autoformating does work properly in preprocessor blocks
Summary: Autoformating does work properly in preprocessor blocks
Status: CLOSED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 08:55 UTC by rubesm
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rubesm 2005-03-10 08:55:36 UTC
Autoformating does work properly when using multiple configurations inactive
preprocessor blocks are reformated as normal comments. It is not expected
behaviour. Thay should be handled as regular parts of the code.
Comment 1 Adam Sotona 2005-03-10 09:16:42 UTC
Autoformating was fixed before 4.1 to do not format commented preprocessor
blocks (to do not shift all the comments right) and this works for me.
If you need to reformat some preprocessor block content that is currently
commented out you need to switch to the appropriate project configuration before.
Comment 2 Lukas Hasik 2005-05-04 13:22:57 UTC
verified, the non-active preprocessor block is commneted but the formating is
still the same.