Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Feature request: Add command for generating a tasks.json file #743

Closed
ppey opened this issue Jan 24, 2017 · 4 comments
Closed

Feature request: Add command for generating a tasks.json file #743

ppey opened this issue Jan 24, 2017 · 4 comments

Comments

@ppey
Copy link

ppey commented Jan 24, 2017

I would like to see, that I can generate a task.json just like the launch.json in ordert to trigger "go run" on the current file. This would allow to quickly run the file by pressing Ctrl+ shift + B without running the whole debugger.

@OneOfOne
Copy link
Contributor

While that would be a good idea, if you just want to run a specific file maybe try Code Runner.

Tasks would be more suitable for package building / management.

@ramya-rao-a
Copy link
Contributor

We are trying to get the "Run without actually debugging" feature as described in microsoft/vscode#2780

#299 is tracking this work.

With this, you won't need a task to run the current package.

@ramya-rao-a
Copy link
Contributor

In the latest update (0.6.56), you can
- Press Ctrl+F5 or run the command Debug: Start Without Debugging to run using the currently selected launch configuration.
- If you don't have a launch.json file, then the current file will be run.
- Supported only for launch configs with type as debug and program that points to a Go file and not package

@ppey
Copy link
Author

ppey commented Mar 30, 2017

Great, thank you!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants