Skip to content

Support bin/__project_name__ as a default entry point #4906

Closed
@DanTup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggerRelates to the debug adapter or process of launching a debug sessionis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions