pdm-project / pdm

A modern Python package and dependency manager supporting the latest PEP standards
https://pdm-project.org
MIT License
7.48k stars 366 forks source link

vscode extension #2279

Open DetachHead opened 9 months ago

DetachHead commented 9 months ago

Is your feature request related to a problem? Please describe.

it would be nice if there were vscode tasks for common pdm actions and scripts. there's a 3rd party extension but it looks like it hasn't been touched in 2 years and it doesn't work with the pyprojectx install method (https://github.com/knowsuchagency/pdm-task-provider/issues/1)

Describe the solution you'd like

a first party vscode extension with the following features:

GabDug commented 6 months ago

Hey 👋 I'm working on an adaptation of the official NPM extension for PDM. Porting from the official extension means support for multiple pyproject.toml and support for VS Code workspaces.

I have a non-released POC, but will try to fix the remaining bugs and release it in a few weeks.

It will support a custom PDM interpreter path - so it should work regardless of your install method.

image image image
DetachHead commented 3 months ago

@GabDug thanks for making this extension! i noticed it's now on the vscode marketplace. i've been using it for a couple days and it seems to work well. do you intend to put it on github? because the linked repository doesn't seem to exist