Skip to content

Switched to snooty package for Python.#16

Open
lextm wants to merge 2 commits intomongodb:mainfrom
lextm:snooty-package
Open

Switched to snooty package for Python.#16
lextm wants to merge 2 commits intomongodb:mainfrom
lextm:snooty-package

Conversation

@lextm
Copy link
Copy Markdown

@lextm lextm commented Dec 14, 2020

Made a few changes to simplify the language server acquisition,

  1. Users of this extension should have Python installed (due to reStructuredText usage), so shipping a Python package snooty is easier than shipping zipped binaries.
  2. Created a Python package on PyPI, https://pypi.org/project/snooty/
  3. Revised the extension to detect snooty package for Python and install it if not present.
  4. Deleted all unused code.

If your team want to take ownership of the Python package, let me know who I should add as owner there.

I also revised reStructuredText extension for VSCode to use snooty as language server. Hope to collaborate in the future with your team to improve the language server experience.

@lextm
Copy link
Copy Markdown
Author

lextm commented Dec 15, 2020

Found it is not quite obvious to me how to use snooty.languageServerPath to debug locally, so I implemented a debugpy based approach to enable language server debugging.

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