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.
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 runbriefcase 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.