Pyright Monaco Demo #17
Mazyod
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just wanted to take a moment to say that Pyright Playground was an incredible source of inspiration. It’s easily the best example I’ve seen of an end-to-end integration between Pyright as a language server and Monaco Editor as the code editor. Huge thanks for putting it together!
I've spent more time than I'm willing to admit searching and going through the code from CodingGame, TypeFox, qualified and others around the topic. Unfortunately, they seem to either solve only one aspect of the problem or wrap Monaco editor, which adds an unnecessary layer of abstraction for me.
While working with Pyright Playground, I wanted to better understand the core integration between Pyright and Monaco on its own, without the additional features like version switching and various settings. So, I ended up forking the project and stripping it down to focus purely on this aspect. I called the fork Pyright Monaco Demo, and the goal was to have a minimal, clear example of how the integration works.
Along the way, I also cleaned up some TypeScript issues and reorganized parts of the code to make the Monaco-related logic more structured. If anyone else is interested in a more barebones version of the integration, feel free to check it out! Would love to hear any thoughts or feedback.
https://github.com/Mazyod/pyright-monaco-demo
Beta Was this translation helpful? Give feedback.
All reactions