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

Provide a fallback environment with the VSCode extension #915

Merged
merged 6 commits into from
Oct 20, 2024

Conversation

alcarney
Copy link
Member

This PR adds a new configuration option esbonio.sphinx.fallbackEnv, it is intended to be used by language clients (rather than users directly) allowing them to provide a default/fallback environment for the language server to use.

There is more work to be done, but with capabilities like #913, this should eventually pave the way for a zero-config-required setup experience 🤞

For now the fallback environment provided by the extension will only contain Sphinx v7 and MyST parser v3.

@alcarney alcarney force-pushed the fallback-env branch 2 times, most recently from 136e418 to fa73652 Compare October 20, 2024 12:07
If a client provides the `esbonio.sphinx.fallbackEnv`, repurpose the server's Python interpreter
to launch the Sphinx agent.
Most runs conclude on the order 5min +/- 2min, so if we hit the 20min
mark chances are something has hung.
@alcarney alcarney merged commit d9466d7 into swyddfa:develop Oct 20, 2024
13 of 14 checks passed
@alcarney alcarney deleted the fallback-env branch October 20, 2024 12:41
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