beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.57k stars 363 forks source link

Write a VSCode plugin to support Briefcase development #1451

Open freakboy3742 opened 12 months ago

freakboy3742 commented 12 months ago

What is the problem or limitation you are having?

VSCode is a common IDE used to develop Briefcase apps, and it has a rich extension API.

We should provide a VSCode plugin so that core Briefcase commands are exposed as native VSCode functionality.

Describe the solution you'd like

A plugin that can be installed into VSCode that is able to find the pyproject.toml for a project, and use that detail to run briefcase X commands as "first class" VSCode features.

The biggest feature is to have VSCode's "run" command perform the equivalent of briefcase dev to start the app with the registered entry point, rather than starting the currently visible .py file. Ideally, this would also honour debug breakpoints set in the GUI.

It may be possible to expose other briefcase commands, such as test mode, the create/build/run/update lifecycle.

Describe alternatives you've considered

Do nothing. This is entirely a convenience; it's possible to develop a project without any plugins.

Additional context

In the 0.2 era, a Briefcase plugin did exist. However, the Briefcase 0.2 API is dramatically different to the 0.3 API.

See #1450 for an equivalent request for PyCharm.

Jzhenli commented 6 months ago

Hi, what's the status of the VSCode plugin?

freakboy3742 commented 6 months ago

It doesn't exist. That's why there's any open ticket suggesting that one is required.