-
Notifications
You must be signed in to change notification settings - Fork 764
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
code lens: add a 'run' code lens for main functions #159
Comments
This feature is very helpful for single file and implementation inspiration. |
Should it run in the single file mode, or run the package? |
I'd find this useful for cmd/*.go files. I believe I've seen tests that have run/debug code lenses. |
@vuon9 Thanks for the PR! I see the current implementation is similar to What do you think about utilizing the task provider (https://code.visualstudio.com/api/extension-guides/task-provider)? |
Change https://go.dev/cl/393454 mentions this issue: |
Is it odd that |
We implemented this feature in our extension, tooltitude. We focus on augmenting gopls with convenience and productivity features. We use the machinery provided by go extension under the hood, i.e. we just create a debug configuration and launch it, or just launch via shell task in the run case. P.S. You could read more about it here: https://www.tooltitude.com/ You could install from here: https://marketplace.visualstudio.com/items?itemName=tooltitudeteam.tooltitude |
See the original feature request: microsoft/vscode-go#3074.
The text was updated successfully, but these errors were encountered: