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

Show salt-lint Wiki for rule Quickfix action does not appear to work #20

Open
kittydoor opened this issue Jun 20, 2022 · 0 comments
Open

Comments

@kittydoor
Copy link

kittydoor commented Jun 20, 2022

Relevant code:

const title = `Show salt-lint Wiki for ${ruleId}`;
const action = new vscode.CodeAction(title, vscode.CodeActionKind.QuickFix);

On my system, with both saltstack and salt-lint installed, I get syntax highlighting and lint information. However, it seems that there is an intent to provide links to the wiki in the extension code, which does not pop up at all.

image

image

I stumbled onto this while trying to research how quickfix actions work and if it would be possible for me to start implementing some for basic things like salt-lint(207) and salt-lint(208). On that note, if you have any information that might be a good starting point I would love some pointers!!

Edit: I see this seems to be the spec for quickfix actions: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant