briefcase icon indicating copy to clipboard operation
briefcase copied to clipboard

Write a VSCode plugin to support Briefcase development

Open freakboy3742 opened this issue 2 years ago • 2 comments

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.

freakboy3742 avatar Sep 12 '23 23:09 freakboy3742

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

Jzhenli avatar Mar 05 '24 01:03 Jzhenli

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

freakboy3742 avatar Mar 05 '24 01:03 freakboy3742