Skip to content
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

Add an easier way to create a launch config for a given file #3414

Closed
DanTup opened this issue Jun 17, 2021 · 0 comments
Closed

Add an easier way to create a launch config for a given file #3414

DanTup opened this issue Jun 17, 2021 · 0 comments
Labels
in commands Relates to commands (usually invoked from the command Palette) is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Jun 17, 2021

It should be possible to right-click on a file in the Explorer pane and choose "Create launch configuration" that will create a launch config:

  • Either in the WorkspaceFolder or Workspace file (workspace file if there are already configs there, otherwise Workspace Folder)
  • Named sensibly ("Dart (bin/foo.dart)" or "Flutter (lib/main.dart)")
  • cwd set to the nearest project root
  • program set as a relative path from cwd
@DanTup DanTup added is enhancement in commands Relates to commands (usually invoked from the command Palette) labels Jun 17, 2021
@DanTup DanTup added this to the v3.24.0 milestone Jun 17, 2021
@DanTup DanTup closed this as completed in 5cfb529 Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in commands Relates to commands (usually invoked from the command Palette) is enhancement
Projects
None yet
Development

No branches or pull requests

1 participant