-
Notifications
You must be signed in to change notification settings - Fork 14
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
VSCode-ish: Jump to Definition of Variable #177
Comments
Hi Curran, really love your work and videos. I wanted to understand if there is any particular reason for preferring codemirror to monaco editor. It closely resembles the VSCode experience and also feature-rich so less things to implement. |
The main reason is that when I looked into Monaco, it just really felt quite bloated and cumbersome. I had been following CodeMirror 6 developments for some time (see this early piece: CodeMirror 6 Experiments), and am deeply aligned with Marjin's development approach and goals, especially around the plugin architecture and the mobile usability. I've read that Monaco does not work on mobile, which for me is a deal breaker as one of my ultimate goals is to make a code editor that is actually somewhat usable on mobile, for folks who want to learn to code but don't have access to a laptop (like folks in India - there are many people like this). I also have a history of working with CodeMirror 5 + ShareDB for the real-time integration, and was able to "unlock" that CodeMirror 6 + ShareDB integration successfully, which took a ton of work. So even if Monaco is great, there's the sunk cost of that integration that's already behind me. Doing a similar integration with Monaco + ShareDB seems like a scary huge task that may turn out to be impossible. This post captures many of the pain points I see with Monaco in general: https://about.sourcegraph.com/blog/migrating-monaco-codemirror Thanks for the question! |
This is the single most valuable feature of VSCode that I really miss when using VZCode. |
In VSCode it's CTRL+Hover, then click which navigates to the definition. |
As a user of VZCode, I want to be able to hold CTRL and click on a variable name to jump to the definition of that variable, just like I can in VSCode.
The text was updated successfully, but these errors were encountered: