supressWarnings

Hi, what values can I set for the tag @supressWarnings? I haven’t found anything in the documentation :?

They were mentioned in the New in this Release section, but were indeed missing from the http://wiki.servoy.com/display/DOCS/Ann … sing+JSDoc page. I added them now.

Paul

Wow! I see them now! thanks!

Is there a way to suppress ALL the warnings for a specific function? I have functions which I wrote long ago for a one-time need. I’m not sure I will ever use them again but it’s possible so I keep them in my solution. It’s not worth my time to add all the JSDoc tags to get rid of all the warnings, and I can’t seem to get rid of them all using the supressWarnings parameters listed in the wiki ([deprecated], [hides], [wrongparameters], [undeclared], [unused], [nls]). Is there any way to suppress ALL the warnings for a specific function?

Also, what warnings does the [nls] parameter suppress?

Thank you!

There is no way to just suppress all warnings for one function.

The nls relates to non-externalized Strings: If you turn on the builder markers for non-externalized Strings (turned off by default), you can suppress the individually (see quickfix on the warning) or on function level using the @SuppressWarnings(nls)

Paul