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

Feature requst: IntelliSense for lint::ignore #33

Open
rogermartensson opened this issue Jun 14, 2018 · 2 comments
Open

Feature requst: IntelliSense for lint::ignore #33

rogermartensson opened this issue Jun 14, 2018 · 2 comments
Labels
enhancement New feature or request puppet-lint

Comments

@rogermartensson
Copy link

It sure would be nice to be able to use IntelliSense for lint:ignore.

Begin with "# lint:ignore:" and a list of possible values is shown. If possible even show some documentation on about the specific checks and what they are.

Would save me the round-trip-time browsing to puppet-lint.com. ;-)

@glennsarti
Copy link
Contributor

That's a good idea!

@glennsarti glennsarti added enhancement New feature or request Language Server labels Jun 21, 2018
@glennsarti
Copy link
Contributor

I can also use the codeAction protocol to supply inline ignore of problems a bit like this;

This is from C# but same thing. Lightbulb gives actions on the lint/source code error (red squiggle)

example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request puppet-lint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants