-
Notifications
You must be signed in to change notification settings - Fork 646
Adopt new APIs from VS Code #1676
Comments
I'm definitely interested in https://code.visualstudio.com/docs/editor/refactoring being able to extract variables, constants or even functions would be really awesome. |
For starters wrt to refactoring, I was looking at exposing the generic "Refactor" option in the context menu which could then be used for things that we already support like filling structs, interface stubs etc. To add new features like extracting variables/constants/functions, we need to implement them first. I can revive the old PR that use @lggomez You seem to be on fire :) I didn't realize the conditional breakpoint feature was so straightforward to implement. I don't have the list of updates on the debug adapter on hand. I was planning to just go over the "Extension Authoring" section of the release notes for every month in the past year and see which ones can be applied to Go. |
Closing this issue as all new APIs will be taken up by the language server and no new work is planned for the extension on the above fronts. cc @stamblerre |
And there is an independent effort going on to explore the Debug Adapter Protocol cc @quoctruong |
Go over the "Extension Authoring" section of the Release Notes of the past year to see what can be adopted in the Go extension. Below are a few examples to begin with
June 2018
Organize Imports
code action if possible. This might help the case where users want to use the-s
flag for formatting (which isn't supported by goimports/goreturns) as well as have the ability to manage the importsaffectsConfiguration
method onConfigurationChangeEvent
July 2018 and future
process
event in the Debug Adapter Protocol can help in killing the ghost debug processes that remain after debugging is overThe text was updated successfully, but these errors were encountered: