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 77208 - neither //NOI18N nor // NOI18N seem to work
Summary: neither //NOI18N nor // NOI18N seem to work
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
: 60821 (view as bug list)
Depends on:
Reported: 2006-06-01 09:31 UTC by Milos Kleint
Modified: 2013-05-07 09:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2006-06-01 09:31:38 UTC
While doing I18N work I figured that the internationalization support doesn't
skip lines with either //NOI18N nor //  NOI18N (no space or two spaces).
it actually requires the comment to have exactly one space between the //
characters and the text.
Comment 1 Marian Petras 2006-07-04 16:51:29 UTC
Confirmed, accepted.

The defining file is and the expresssions are in method
Comment 2 Marian Petras 2007-02-14 13:53:42 UTC
Fixed in the trunk.

Any number of spaces (including zero) is now allowed between "//" and "NOI18N".

Modified file:
   i18n/src/org/netbeans/modules/i18n/   (1.42)

Comment 3 Marian Petras 2007-03-12 13:31:30 UTC
*** Issue 60821 has been marked as a duplicate of this issue. ***
Comment 4 marcopar 2013-05-07 09:35:03 UTC
Please reopen

I think this bug is affecting 7.3

the wizard continues to stop on //NOI18N lines and hitting ignore adds the comment to the line every time