Skip to content

Auto-generate launch.json tasks #93

@rockbruno

Description

@rockbruno

Now that we're able to compile targets individually, we should be able to do something similar to the Swift extension in terms of auto-generating build/launch tasks for each library parsed by the BSP.

I'm thinking something like this:

  • New flag: generate_launch_json (bool)
  • New flag: targets_to_generate_launch_data ([label])
    • If empty, generate entries for all parsed targets. In practice large projects will probably want to be explicit here.
  • After parsing the target list in BazelTargetStore, append/override the BSP's data in the file. The Swift extension does exactly that so we should be able to find some relevant code there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions