This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 646
launch.json "mode": "auto" #1780
Labels
Comments
That would be cool. But instead of introducing a new mode, how about updating the current PRs are welcome. The change should be pretty simple. Code pointers:
|
How do you get current selected file path in vscode? |
vscode.window.activeTextEditor.document.fileName |
This was referenced Jul 22, 2018
prism4time
added a commit
to prism4time/vscode-go
that referenced
this issue
Aug 9, 2018
use regex to check if the current file is for test
prism4time
added a commit
to prism4time/vscode-go
that referenced
this issue
Aug 9, 2018
check filename to get debug mode
prism4time
added a commit
to prism4time/vscode-go
that referenced
this issue
Aug 10, 2018
check filename to get debug mode
ramya-rao-a
pushed a commit
that referenced
this issue
Aug 10, 2018
@gertcuykens @qzyse2017 on second thoughts, having a separate mode called @qzyse2017 See 2cc9952 |
The Thanks for logging this @gertcuykens and thanks to @qzyse2017 for the PR! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
auto
mode please that switches between "test" and "debug" depending the selected file is*_test.go
The text was updated successfully, but these errors were encountered: