cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

`shellscript` support (bash, sh, etc)

Open phillco opened this issue 2 years ago • 7 comments

  • [x] Change tokeniser to allow - inside tokens. Search repo for scss to see how to do this: https://github.com/cursorless-dev/cursorless/pull/955
  • [ ] Language scope types

phillco avatar Sep 10 '22 17:09 phillco

https://github.com/tree-sitter/tree-sitter-bash

auscompgeek avatar Sep 11 '22 08:09 auscompgeek

@auscompgeek that grammar is actually already shipped with the parse tree extension fwiw

pokey avatar Sep 11 '22 08:09 pokey

~@pokey do you want to provide proposed mappings like you did with https://github.com/cursorless-dev/cursorless/issues/817?~

phillco avatar Sep 11 '22 17:09 phillco

I'll take a pass at defining the node matchers based on what makes sense, so you don't have to write them all up @pokey

phillco avatar Sep 15 '22 18:09 phillco

Developing on this branch: https://github.com/cursorless-everywhere/cursorless/tree/other-languages along with #949 #817 #985

phillco avatar Oct 01 '22 17:10 phillco

Sounds good. That branch might be a good candidate for a patch-stack, so that you can use it while you're developing while still keeping the languages separate for review. I have a pretty decent voice-controlled git-branchless workflow for this now if you want a demo

pokey avatar Oct 02 '22 14:10 pokey

Sure, although the bigger problem for me is that I branch these off of the Cursorless everywhere fork because I want to daily drive them, so I have to rebase them onto a branch off of upstream to submit patches. Don't know if the patch-stack addresses that.

phillco avatar Oct 02 '22 20:10 phillco