cursorless-dev / cursorless

Don't let the cursor slow you down
https://www.cursorless.org/
MIT License
1.13k stars 79 forks source link

Text fragment scope #2381

Closed AndreasArvidsson closed 4 months ago

AndreasArvidsson commented 4 months ago

Adds text fragment as a hidden scope. Allows us to use scope visualizer and facet scope fixtures.

Additional languages can be done in a follow up. This just implements the machinery and a single language as proof of concept.

Screenshot 2024-06-01T15-42-38 - Visual Studio Code

Checklist

pokey commented 4 months ago

Looks good! One last thought: we should probably have instructions about text fragments somewhere in our contributor docs and mention how to activate this secret scope here. I'll file a follow-up for that

pokey commented 4 months ago

https://github.com/cursorless-dev/cursorless/issues/2382