-
-
Notifications
You must be signed in to change notification settings - Fork 84
Extract cursorless core into a node.js server #435
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
Comments
Has there been any design on how this might look visually? How would hats be communicated across UIs in general? |
We'll try our best to make the hats consistent across editors / other places, but it will likely end up varying from editor to editor. For example, emacs and vim are often run in a terminal, so rendering anything fancy will probably be difficult or impossible in that kind of scenario. Not sure how helpful that is. I guess the best I can say is that we'll try to make it look just like the hats do in Cursorless VSCode |
91% emacs users use the GUI version FYI: There are also frequent recommendations in #emacs and r/emacs to prefer the GUI version. |
ah cool good to know |
Cross linking a neovim issue re hats - neovim/neovim#21603. |
Can we say that this is not needed anymore? For example, for neovim, i was just able to use the cursorless existing abstraction to run the existing code into a node process started by neovim. |
Yeah I'm not sure how helpful this issue is. I don't think a generic standalone node server is going to be helpful. In some sense you have put Cursorless in a node server already, so one might argue you've started on this issue. |
The problem
Today, cursorless only works within VSCode. We'd like cursorless to be usable in other editors, as well as outside of editors, eg in web browsers, anywhere on screen using OCR, etc.
The solution
Because cursorless is written in Typescript, we can abstract away the VSCode-specific code and package its core engine into a node.js server. Then clients in other editors, in a web browser, or within Talon itself (eg for OCR-based cursorless), can talk to this server to enable cursorless commands to operate on everything.
Questions
Update (@pokey)
We will proceed by turning Cursorless into an lsp, as proposed in #946
The text was updated successfully, but these errors were encountered: