Skip to content

Support debug and run using uv run #353

@MarthinusBosman

Description

@MarthinusBosman

Realised while reading astral-sh/uv#8558 that this extension is probably the best place to implement this feature:

Essentially, running scripts with dependencies defined, and just in general in a uv project, would be far simpler if the default used uv run ${file}, especially the default run and debug action button in the top right.

It would be great if this ty language server extension could overwrite the default VSCode behaviour, since it's not really up to uv, and VSCode probably doesn't want to implement this by default in the python extension to maintain compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions