Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace StatusItems with a Process Tree #854

Merged
merged 8 commits into from
Jul 15, 2024

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Jul 15, 2024

To be honest, there's too much information for the extension to try and cram into a few Language status items, especially now that there can be more than one underlying Sphinx process.

So this PR removes them and introduces a custom tree view contributed to the Explorer pane. The tree view is able to display the state of each process at a glance.

process-control-error

The tree view also provides a convenient place to expose some additional management commands.
Included in this PR is a esbonio.sphinx.restart command which can be used to restart an individual Sphinx process - without restarting the entire server.

image

Now that the language server (and the extension by proxy) is managing
mutliple sphinx processes, there is too much information to try and
cram into a set of language status items.

Instead the extension now contributes a "Sphinx Processes" tree view
which can visualise each process currently managed by the server. Not
only should this be more discoverable, but offers a space to expose
additonal management commands - such as restarting processes or
triggering builds.
This section will contain all the information on how to integrate
Esbonio into your favourite editor, including documentation on any
custom notifications/commands used by the server
@alcarney alcarney merged commit 7d96e70 into swyddfa:develop Jul 15, 2024
12 of 14 checks passed
@alcarney alcarney deleted the client-control branch July 15, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant