top | item 30118239

(no title)

pokeyrule | 4 years ago

creator of Cursorless here. Happy to answer any questions

discuss

order

jiehong|4 years ago

Seriously cool project!

This reminds me of easy motion for vim or ace-jump for emacs.

Do you think it would be possible to have an on-demand contextual hat decoration?

Like you say “show hats words” and only words get decorated with hats and you pick one. It would allow you to maybe show hats only on square brackets or only on function arguments, etc. I find the number of hats with colors a little bit hard to distinguish; should they were contextual, they would require fewer or no color.

Do you map voice commands to keyboard shortcuts available in vs code, or directly via the apis? (Not sure if there is a difference in the end).

Now I wish for a cursor less plugin on the IntelliJ platform.

pokeyrule|4 years ago

Thanks jiehong!

The reason that the hats are always present is that the way to code faster by voice than be keyboard is to speak fluently, minimising pauses, the way we speak regular human languages. If we had to say a command and then wait for the hats to appear, that would break the chain.

Re mapping, we use something called the "Command server", which allows us to use file-based RPC to run commands in VSCode. That way it is easy to send more complex commands, which are required by Cursorless

IntelliJ support is definitely one of the most requested features; once I'm done rewriting some of the core engine I'll probably take a swing at that. Here's the issue that tracks extracting cursorless into a node.js server so that it can be used by other editors: https://github.com/pokey/cursorless-vscode/issues/435