Replies: 2 comments
-
Related: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In 3.x, in addition to
# warning-ignore
, there are# warning-ignore-all
and# warnings-disable
:In 4.0-dev, there is only the
@warning_ignore
annotation, which only affects the next statement.I suggest adding
@warning_ignore_start
and@warning_ignore_restore
to ignore warnings in code regions or to the end of the file (@warning_ignore_restore
is optional).The difference from
@warning_ignore_on
and@warning_ignore_off
is that after@warning_ignore_restore
the project settings' defaults are restored (if the warning is disabled in PS, the warning will not turn on after@warning_ignore_restore
, unlike@warning_ignore_off
).Beta Was this translation helpful? Give feedback.
All reactions