Skip to content

Support bin/__project_name__ as a default entry point #4906

Closed

Description

@DanTup

Right now if you press F5 in a Dart CLI script we'll detect bin/main.dart as a default entry point. However, dart create has created the bin file with the same name as the project for a while now. This results in us telling you to add a program to your launch.json even though a) we could trivially infer this if it matches the folder name and b) we generally don't want people to create launch.jsons for trivial projects.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in debuggingRelates to the debug adapter or process of running debug sessions
    on Dec 19, 2023
  2. added this to the v3.80.0 milestone on Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions