sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only close the `hint` and `show_code_actions` of the `lsp-typescript` package

thep0y opened this issue · comments

I am using lsp-eslint and lsp-typescript, these two packages will generate the same hint and code_actions for the code.
image

I just want to keep the hint and code_actions of lsp-eslint. What should I do?

There is a diagnostics.ignoredCodes setting in LSP-typescript. You can ignore specific codes with it (in this case 6133).

There is a diagnostics.ignoredCodes setting in LSP-typescript. You can ignore specific codes with it (in this case 6133).

{
    "settings": {
        "diagnostics.ignoredCodes": [
            6133
        ],
    }
}

Now it is working as I expected, thank you.