This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ULP how to disable diagnostics messages on a line by line basis

Hello,


I like the diagnostics messages generated e.g. by the ULP - but not all the time. So is there a way to selectively disable diagnostics messages for a specific code line? Like e.g. by putting a special comment on the code line?


Background:

The diagnostics messages are often usefull and should be taken into account. But sometimes they are just wrong or not appropriate for the specific line of code. Instead of disabling the concerned message category alltogether on file or even project level, it would be helpfull to disable the diagnostics just for this one specific line of code.

Other diagnostics systems e.g. eclipse/pydev for Python provide such a mechanism. There the disabling works by putting a "# @CATEGORY" comment on the line. This 'disable-comment' can even be added via the CTRL-1 suggestion mechanism...


Thanks in advance for any comment.

**Attention** This is a public forum