Skip to content

Add support for VS Code's "code action" feature #197

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

Closed
daviwil opened this issue Mar 24, 2016 · 2 comments
Closed

Add support for VS Code's "code action" feature #197

daviwil opened this issue Mar 24, 2016 · 2 comments
Assignees
Labels
Issue-Enhancement A feature request (enhancement).
Milestone

Comments

@daviwil
Copy link
Contributor

daviwil commented Mar 24, 2016

VS Code has a feature called "code actions" which allows a diagnostic marker (such as a Script Analyzer rule violation) to return a "code action" which can be performed to resolve it. There is currently prototyping underway to add suggested code corrections to some Script Analyzer rules so it should be fairly straightforward to wire this all the way through to VS Code.

I've started on an early draft of this integration, it's in a branch named daviwil/code-actions.

@daviwil daviwil added the Issue-Enhancement A feature request (enhancement). label Mar 24, 2016
@daviwil daviwil self-assigned this Mar 24, 2016
@daviwil daviwil added this to the 0.6.0 milestone Mar 24, 2016
@daviwil
Copy link
Contributor Author

daviwil commented Apr 25, 2016

This issue depends on the following pull request against PSScriptAnalyzer: PowerShell/PSScriptAnalyzer#508. I'll help get that PR driven to completion this week so that we can get this feature included in 0.6.0.

cc @kapilmb

@daviwil daviwil modified the milestones: 0.7.0, 0.6.0 May 11, 2016
@daviwil daviwil modified the milestones: 0.7.0, 0.8.0 Sep 2, 2016
@daviwil
Copy link
Contributor Author

daviwil commented Dec 6, 2016

This feature was finished by @kapilmb and merged recently! #304

@daviwil daviwil closed this as completed Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

1 participant