warpnet / vscode-salt-lint

VSCode extension for running salt-lint in your editor.
https://marketplace.visualstudio.com/items?itemName=warpnet.salt-lint
Other
6 stars 1 forks source link

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

Open kittydoor opened 2 years ago

kittydoor commented 2 years ago

Relevant code: https://github.com/warpnet/vscode-salt-lint/blob/513def896b409afbb4060a58fee9f74e6290b801/src/linter.ts#L184-L185

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