mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-05 05:17:38 +03:00
Don't let the cursor slow you down
starred-cursorless-dev-repostarred-repostructure-editortalonvoicevoicevoice-codingvscodevscode-extension
7378bcbb44
* Begin to add support for css and scss * Continue to work on SCSS, add new selector * Record some tests for scss * Add more tests, move tests to correct dir level * Handle arguments and parameters correctly, tests * Add tests for CSS, rely on SCSS for CSS matchers * Add tests, clean up functions for merge - Fix edge cases in CSS functions with multiple value single args - Add Selector scope - Clean up function in node selector - Remove declaration from statement scope type - Add declaration to item scope type * Delete single line comment test for CSS - Not valid syntax for CSS, just SASS * Ensure we use scssStringTextExtractor - Fixes `"take round`" for "hello (world)" in css * Remove failing state tests - State redefined as a ruleset selector + block rather than single property * Add `parameters` back to argument matcher * Remove test with invalid CSS * Clean up tests * Clean up CSS selector test * Remove `take state` test * More test clean up * Various Changes - Test cases for cursor positions when selecting keys and values - Allow for name/value selection with optional args in SASS - Start to clean up SCSS argument matcher * Changes to childRangeSelector - Also fix types & clean up findAdjacentArgValues * Fix breaking tests from node selector change. * Include all children for import and includes * Update src/languages/scss.ts Update delimited function check name Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Update src/util/nodeSelectors.ts Update childRange docstring for clarity Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> * Change comment to docstring, handle method rename * Add docstring * Fix doc comment * formatting Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
cursorless-snippets | ||
cursorless-talon | ||
data/playground | ||
docs | ||
gh-pages-root | ||
images | ||
schemas | ||
scripts | ||
src | ||
website | ||
.eslintrc.json | ||
.gitignore | ||
.vscodeignore | ||
.yarnrc | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
NOTICE.md | ||
package.json | ||
README.md | ||
third-party-licenses.csv | ||
tsconfig.json | ||
vsc-extension-quickstart.md | ||
yarn.lock |
Welcome to Cursorless!
Cursorless is a spoken language for structural code editing, enabling developers to code by voice at speeds not possible with a keyboard. Cursorless decorates every token on the screen and defines a spoken language for rapid, high-level semantic manipulation of structured text.
Checkout the docs and videos to learn more. See installation.md for installation instructions.
And I heard you like GIFs?
Installation
Currently depends on Talon, though a keyboard version is planned.
See installation.md for installation instructions.
Extension Settings
This extension contributes the following settings:
cursorless.showOnStart
: Whether decorations should appear on workspace startcursorless.hatSizeAdjustment
: Percentage to increase or decrease hat size; positive increases sizecursorless.hatVerticalOffset
: How much to vertically shift the hats as a percentage of font size; positive is upcursorless.hatEnablement.colors
: Whether to enable particular hat colors.cursorless.hatEnablement.shapes
: Whether to enable particular hat shapes.cursorless.hatPenalties.colors
: How much to penalize each hat color. You will probably want to set this one to the number of syllables in the given style. Cursorless will then sort every style combination by number of syllables to refer to it.cursorless.hatPenalties.shapes
: How much to penalize each hat shape. You will probably want to set this one to the number of syllables in the given style. Cursorless will then sort every style combination by number of syllables to refer to it.
Known Issues
- Cursorless calculates the position of the hats based on the characteristics of your font. If you find that the hats are off center you can try running this command:
cursorless.recomputeDecorationStyles
Change Log
See CHANGELOG.md.
Contributing
See CONTRIBUTING.md.
Attributions
See NOTICE.md.