Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include gdscript warning name in the warning message. #40155

Merged
merged 1 commit into from
Jul 6, 2020

Commits on Jul 6, 2020

  1. Include gdscript warning name in the warning message.

    Occasionally you want to ignore a warning with a `warning-ignore`
    comment, and you have to go into the settings to look up what the
    actual name of the warning is. This patch appends the warning name to
    the end of the warning so you know what string to use to ignore it,
    similar to other linters like pylint.
    
    For example
    
    ```
    "The signal 'blah' is declared but never emitted.";
    ```
    
    is now
    
    ```
    "The signal 'blah' is declared but never emitted. (UNUSED_SIGNAL)";
    ```
    rcorre committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    de3ad3b View commit details
    Browse the repository at this point in the history