# supressWarnings

**URL:** https://forum.servoy.com/t/supresswarnings/14451
**Category:** Classic Servoy
**Created:** [August 10, 2011, 7:49am UTC](https://forum.servoy.com/t/supresswarnings/14451 "2011-08-10T07:49:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![log-out](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@log-out](https://forum.servoy.com/u/log-out)
#### Post date: [August 10, 2011, 7:49am UTC](https://forum.servoy.com/t/supresswarnings/14451/1 "2011-08-10T07:49:00Z")

</div>

Hi, what values can I set for the tag _@supressWarning_s? I haven’t found anything in the documentation ![:?]( "Confused")

---

<div class="post-metadata">

### Author: ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)
#### Post date: [August 10, 2011, 11:26am UTC](https://forum.servoy.com/t/supresswarnings/14451/2 "2011-08-10T11:26:51Z")

</div>

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](http://wiki.servoy.com/display/DOCS/Annotating+JavaScript+using+JSDoc) page. I added them now.

Paul

---

<div class="post-metadata">

### Author: ![log-out](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@log-out](https://forum.servoy.com/u/log-out)
#### Post date: [August 10, 2011, 11:52am UTC](https://forum.servoy.com/t/supresswarnings/14451/3 "2011-08-10T11:52:55Z")

</div>

Wow! I see them now! thanks!

---

<div class="post-metadata">

### Author: ![amcgilly](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@amcgilly](https://forum.servoy.com/u/amcgilly)
#### Post date: [January 31, 2014, 10:09pm UTC](https://forum.servoy.com/t/supresswarnings/14451/4 "2014-01-31T22:09:29Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)
#### Post date: [February 3, 2014, 8:17am UTC](https://forum.servoy.com/t/supresswarnings/14451/5 "2014-02-03T08:17:16Z")

</div>

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
