Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389086

Summary: Need a way to suppress NLS validator warnings in a file
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: 1.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-09-07 15:03:59 EDT
In the Eclipse Java world, you can hide "unexternalized string" warnings on Java code by using a @SuppressWarnings("nls") annotation.

I'd like the JavaScript NLS validator to support a similar option. For example adding a block like

/**
 * @nonnls
 */

or 

/*nls warn:false*/

To your file would disable the NLS warnings. This would make it easier to write tests and message bundles.
Comment 1 Ken Walker CLA 2012-11-13 14:22:08 EST
I added helpwanted here.  The NLS tool is just a plugin so should be able to be worked on by anyone.
Comment 2 John Arthorne CLA 2015-05-05 15:46:18 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 3 John Arthorne CLA 2015-05-05 16:00:09 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html