Commit Graph

58 Commits

Author SHA1 Message Date
Pokey Rule
3c41868de3
Tweak docs search ranking (#915)
* Swizzle SearchBar

* Ignore swizzled file

* Tweak search rankings in docs site

* Capture original Algolia settings

* Documentation

* Modifications to Algolia crawler and index settings

* Tweak wording

* More tweaks

* run `yarn`

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2022-09-07 15:15:13 +01:00
Will Sommers
2d93ee35b1
Various additions to documentation (#703)
* Add various additions to documentation

* Add head/tail to scopes list

* Update Readme according to feedback

* Apply suggestions from code review

* Tweaks

* Tweaks

* Revert fix to old cheatsheet

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-08-17 15:38:35 +01:00
Pokey Rule
af15ae2c05
Fix special chars without accents (#907)
* Add some tests for special chars

* Tweak naming

* Remove `preserveAccents` setting

* `accentsToPreserve` => `lettersToPreserve`

* Fixes

* Update doc string

* Fix `æ`

* Improve tests

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2022-08-04 08:44:44 +02:00
Pokey Rule
1c968f62d0
Add grapheme Unicode normalization support for hats (#899)
* Allow case-sensitive targets (lowercase AND uppercase)
Fixes #896

* Support #276

* Fix typo

* Start implementing generic IDE

* Add tests

* Attempt to normalise unknown graphemes

* Try to fix

* Fix tokenizer; add tests

* Attempt at Swedish character preservation

* Fix Swedish

* More fixes

* Tweak

* Stronger typing

* Tweak config

* More cleanup

* Doc string

* Make unknown symbol spoken for configurable

* Tweak formatting

* Fix dependency loop in graph

* Add docs

* Imports fix

* Doc tweak

* Update src/core/TokenGraphemeSplitter.ts

Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>

* Tweaks from PR review

* Fix char modifier

* Cleanup

* Tweak naming

Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>
2022-08-02 15:30:29 +01:00
Andreas Arvidsson
b154ec5c7d
Added glossary docs (#868) 2022-07-21 07:25:17 +01:00
Ben Rollin
b274f1772b
Documentation for row, up, down (#877)
* row, up, down docs

* Tweaks

* up/down relative line numbers

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-07-19 21:30:56 +01:00
Ben Rollin
b639e42c67
Add updating.md (#876)
* add updating.md

* move updating.md to the right place

* fix path

* path fix up

* Tweaks

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-07-19 09:28:41 +10:00
Minh Nguyen
5cc286d550
Add information about token (#849)
* [issue-814] added information about token

* Tweaks

Co-authored-by: “minh” <“minh.nguyen19997@hotmail.com”>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-07-18 15:28:52 +01:00
Pokey Rule
09e1f33838
Update snippets.md (#863)
* Update snippets.md

* Update snippets.md
2022-07-13 12:55:24 +01:00
Pokey Rule
3a9fc42e48
New cursorless tutorial playlist (#848) 2022-07-08 21:50:47 +01:00
Pokey Rule
2a68c81b06
Support insertSnippet action (#304)
* Support insertSnippet action

Handle action modifiers before positional modifiers

* Fixes from Andreas PR review session

* Tweaks from PR feedback

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Make halt overridable

* Clean up snippet error handling

* Throw error if multiple snippet definitions match a context

* Improve comment

* Update comment

* Cleanup

* More cleanup

* Add doc string

* Support cascading scope types for snippets

* Update doc string

* Removed duplicate test

* Restructure tests

* At link to issue

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-30 14:40:04 +01:00
James Stout
b64e628dd8
Fix modified "this" command in documentation. (#786)
* Remove unsupported command from documentation.

This tripped me up when I was first getting started, and is apparently still in the documentation and unsupported.

* Update docs/user/README.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Update README.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-06-27 15:01:02 +01:00
AndrewDant
8ddb62c4e0
Add "callee" scope type. (#664)
* add callee scope type to type lists

* add callee matchers for python

* recorded three test cases for python callee

* add callee scope to typescript

* record test cases for typescript callee

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* implement callee scope for java

* record test cases for java callee

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix callee scope type for typescripts constructor calls

* implement callee scope for ruby

* record a ruby callee test

* implement callee scope for go

* go callee bugfix and test cases

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Apply suggestions from code review

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* new python callee tests

* rerecord python object method callee test

* additional callee tests for typescript

* remove duplicate test

* update childRangeSelector to optionally include unnamed start/end nodes

* update typescript callee to include new keyword

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* additional typescript callee constructor test

* small childRangeSelector refactor

* fix non constructor callee in typescript

* delete outdated typescript callee test

* Deleted incorrect java callee tests

* update callee scope for java

* several new callee tests for java

* removed unused in port

* add callee tests for go

* implement callee scope for C plus plus

* add several tests for callee scope in C plus plus

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add callee scope for C#

* Add tests for callee scope in C#

* implement callee scope for Clojure

* remove all ruby changes

* change workspace setting for default end of line character

* additional callee tests for Clojure

* rerecord multiline java callee test

* update java file to recognize constructor calls as function calls

* add callee scope type to scss

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update C++ call scope to include constructor calls

* update C++ callee scope type to be more specific

* remove invalid test

* update C# call scope type to include object creation

* rerecord callee test with correct line breaks

* add doc string for new childRangeSelector parameter

* change callee scope for constructor calls to ignore new keyword

* update some php tests to use better line breaks

* revert changes to childRangeSelector

* update go call and callee to include composite literals

* add callee scope to user docs

* post merge required changes for callee

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-06-23 17:07:15 +01:00
Will Sommers
33d0a8fe26
Add docs to cover toggling hats (#733)
* Add docs to cover toggling hats

* Update docs/user/customization.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/user/customization.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/user/customization.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-08 14:54:07 +01:00
Will Sommers
f9b1bf05ea
Update installation to re-state 'restart talon' instructions (#748)
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-06-07 14:19:36 +01:00
Pokey Rule
2ee7ca137e
Support fully compositional modifiers (#672)
* Fixed bug in removal range for range target

* A dead delimiter highlight to range target

* Added token context to all marks

* Added correct token context too regex

* Don't unifi ranges on content only removal

* Update the test

* Added feature to run single recorded test

* Updated tests

* Fallback on token context for containing scope

* Updated target inference

* general refactoring of removable ranges

* Updated unify removal targets

* Fixed that mark bug on set selection

* Fixed is reverse bug on vertical range targets

* Fixed is reverse bug on vertical range targets

* Set empty delimiter on end of and start of positions

* Updated test

* Fixed last tests

* Added description to run single recorded test

* At dead tests for bring before and after file

* Update to removal ranges

* Mark cleanup

* Added interior only and exclude interior as proper modifiers

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added support for every line

* Only select lines with content

* Added take every paragraph

* Added every file line and block tests

* Added take every token

* Added every too regex stages

* Cleanup

* Moved example of custom test transformation to docs

* Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Update src/core/commandVersionUpgrades/upgradeV1ToV2/upgradeV1ToV2.ts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added OO targets

* Fixed merge conflict

* Reversed order of migration modifiers

* Default to array

* Cleaned up inference code

* Added paragraph target

* Better updates of new range

* oo targets past all test

* Added line and paragraph tests

* Highlight update

* Added script to show unused exports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added line 2 unused export

* Default modifiers to empty array

* Don't use hat map

* Modifiers default to undefined

* Fixed is implicit inference

* Removed get tokens function

* Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Update src/core/inferFullTargets.ts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* General cleanup

* Added notebook cell target

* Support delimiter based edit newline (#684)

* Added delimiter based edit line

* Added support for arbitrary delimiters

* Added tests

* Renamed is above to is before

* Better handling of empty lines

* Cleanup

* Added default delimiters for some common scope types

* Run yarn

* Attempt to fix raw delimiter

* Fixed delimiter

* Revert "Attempt to fix raw delimiter"

This reverts commit 0de07989dc.

* Revert "Fixed delimiter"

This reverts commit a035390f78.

* Use low dash unique with

* Made base target abstract

* Updated tests

* Added return type

* Fixed compilation errors

* Updated position

* Add empty string as default delimiter for sub tokens

* Updated bugs

* Cleanup

* Added tests

* Updated inference of implicit target

* Updated spoken forms in test

* Utilize getters

* Refactored getters and setters for targets

* Implemented get final stages

* Added final stages to process targets

* Cleanup

* Converted command action into object with associated arguments

* Switch to complex scope types

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove scope type type from base target

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Updated to edit new context

* Added bring statement test

* Change behavior of pour line

* Use weak containing line stage for edit new

* Updated edit new

* Get targets in correct order

* Updated selection for editor

* Cleanup

* New attempt at EditNew

* Added rich targets

* Updated edit new with proper line handling

* Only used single edit

* Added comment

* Added comment

* Cleanup

* Added derived target

* Moved weak target into base target class

* Cleanup

* Updated action form

* Updated scope type for tests

* Fix upgrade path with ordinal range

* Pass leading and trailing delimiters to super constructor

* Learn to spell

* Updated more tests

* Cleanup

* Fixed bug taking matching pair in error code

* Added block tests

* Fixed test

* Added support for custom delimiters in copy lines

* Fix package json

* Fix one test

* Updated tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Disabled phrase snapshot on recorded test runner

* Updated test and upgrade path

* Fixed failing hat map tests

* Added sleep option to recorded tests

* Verbosity for the win

* Tweak modify of week stage

* Minor python cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Don't de duplicate that mark

* Use utility function to set selection that deduplicates

* Make document content range the entire file including white lines

* Added source mark to wrap action

* Added source mark to actions wrap and rewrap

* Updated error messages

* Updated tests

* Don't focus editor on notebook cell insertion

* Cleanup

* Don't update selection on notebook cell insertion

* Add comment

* Various fixes

* More renames and stuff

* Fix bug with missing delimiters in weak targets

* Update src/processTargets/processTargets.ts

Co-authored-by: Will Sommers <will.sommers@gmail.com>

* Unify implementation of copy lines and edit new actions

* Rename

* Started working on lazy removal

* Clarify processPrimitiveTarget

* Tweak

* Tweak again

* Imports fix

* All tests pass

* Updated highlights

* Highlight updates on continuous range target

* Moved edit decorations into graph

* Added decorations to test recorder and runner

* Updated to highlight recorder test

* Added decorations test

* Added decorations test

* Added leading and trailing delimiters as separate stage and target

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Create edits in actual targets

* Use object oriented targets to construct edits

* Enabled bring before and after without to

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix

* Support fully compositional modifiers
Fixes #69

* Getting started

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Start using InsertionRemovalBehavior

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Cleanup

* Tweak

* More cleanup

* More tweaks

* Tweaks

* More cleanup

* Cleanup

* Removed padding from float and drop

* Updated that mark on pour action

* Lots of stuff

* Fixed removal behavior on scope type target

* Hide panel on recorded test sweet startup

* More stuff

* More stuff

* Cleanup

* Some stuff clean up whatever don't care

* Committed some stuff

* Stuff

* Updated tests

* Support chuck after and chuck before

* Add hack for "paste to to"

* Add run single test launch config

* Add comment about running a single test to contributing docs

* Update cursorless-talon/src/csv_overrides.py

* Update cursorless-talon/src/positional_target.py

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Update cursorless-talon/src/positional_target.py

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Use plain target in clear action

* Initial modifier unification work

* Unify simple modifiers

* docstring

* Clean up position code

* At a couple comments

* Creates separate file for target descriptor types

* Separate notebook cell edit new from regular edit new

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed that mark on notebook cells

* Cleanup

* More positional tweaks on talon side

* Removes support for chuck after and chuck before

* Clean up names

* Use proper error for syntax scope not found

* Record tests for leading trailing before and after

* Add chuck before after to upgrade

* Failed attempt at trying to simplify edit new

* Revert "Failed attempt at trying to simplify edit new"

This reverts commit 52193ae651.

* Cleanup vscode ignore

* Fixed regression in vertical range target (#735)

* Revert generic insert empty lines code

* Add broken float and puff tests

* Add working puff float drop tests

* Switch to mocha grep syntax for running subset of tests

* Make subdir for insert empty lines tests

* Support updating fixture decorations

* Add decorations to float drop puff tests

* Cleanup test case recorder docs

* Add bunch of clone tests

* Move files

* More cleanup

* `PartialTargetDesc` => `PartialTargetDescriptor`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Re-add provenance file

* Comments

* Bump package version

* Attempt to fix docs link

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Will Sommers <will.sommers@gmail.com>
2022-06-07 13:58:44 +01:00
Will Sommers
87df33023d
Allow for assertions against intentional non-match (#705)
* Allow for assertions against intentional non-match

* Rename yml key for new test

* Address PR feedback

* Change asserted on property `errorName`

* Address PR feedback pt.2

* Rename error field

* Re-add empty line

* Change error checking code to work

* Fix ci

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-06-03 13:38:40 +01:00
AndrewDant
358cf953cd
Update parse-tree-patterns.md (#665)
* Update parse-tree-patterns.md

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/contributing/parse-tree-patterns.md

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-05-31 14:59:03 +01:00
HermanPerkins
4fc5a69b6b
Directly explain how to find VSCode (#692)
* Directly explain how to find VSCode

Added "To navigate to your VSCode settings, either say "show settings", or go to File --> Preferences --> Settings." At the intro of both colors and shapes section.

* Update docs/user/README.md

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-05-31 12:15:22 +01:00
Pokey Rule
972cab1594
Clarify introduction in main user README (#702) 2022-05-27 14:06:40 +02:00
Pokey Rule
660a961154
Create local extension sandbox (#691)
* Create local extension sandbox

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* docstring

* Update docs/contributing/CONTRIBUTING.md

Co-authored-by: Will Sommers <will.sommers@gmail.com>

* Update CONTRIBUTING.md

* Update docs/contributing/CONTRIBUTING.md

Co-authored-by: Will Sommers <will.sommers@gmail.com>

* Use exec

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Support fully compositional modifiers
Fixes #69

* Bunch et weeks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix licenses

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Will Sommers <will.sommers@gmail.com>
Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2022-05-25 19:46:15 +01:00
Pokey Rule
48074757e6
Document extension prerequisites for local testing (#686)
* Document extension prerequisites for local testing

* Update CONTRIBUTING.md
2022-05-22 19:36:34 +01:00
Pokey Rule
ad177d9115
Add link to list of supported languages to README (#683)
* Add link to list of supported languages to README

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-19 17:50:32 +01:00
Andreas Arvidsson
8c5cbec8d8
Added example of custom tests transformation (#679)
* Added example of custom tests transformation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/contributing/test-case-recorder.md

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-05-18 10:54:58 +02:00
Pokey Rule
e4a3b9c4b8
More docs clarifications (#659) 2022-04-27 10:12:42 +01:00
Pokey Rule
2d1a3443db
More docs improvements (#658)
* More contributor docs improvements

* Removed table of contents from docs
2022-04-26 14:25:20 +01:00
Pokey Rule
2617c776b9
Change cursorless-dev/cursorless-vscode to cursorless-dev/cursorless (#656)
* Change `cursorless-dev/cursorless-vscode` to `cursorless-dev/cursorless`

* Switch to plain format for template link

* Fix permalink
2022-04-26 13:56:23 +01:00
Pokey Rule
ba160ebf8f
Improve talon repo docs (#654)
* Improve cursorless talon repo docs

* Add edit link to docs pages

* More docs cleanup
2022-04-26 12:33:48 +01:00
AndrewDant
0fa149b960
add simple explanation of vscode actions (#631)
* add simple explanation of vscode actions

* add a short description of four vscode actions in the documentation

* fix for merge conflict with another documentation update

* Apply suggestions from code review

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-04-26 11:39:59 +01:00
Pokey Rule
c5644ee753
Clarify install instructions (#651) 2022-04-25 19:06:37 +02:00
Pokey Rule
4c0676728c Run pre-commit 2022-04-25 11:21:26 +01:00
Pokey Rule
6256e45191
Add pre-commit (#637)
* Initial pre-commit config

* Updates to pre commit

* New prettier config

* Fix type

* Add comment

* At another comment to

* Tweak pretty or config

* More pre commit fixes

* Improve comment

* Improve comment

* Add prettier recommended extension

* Fix typescript errors

* Add black to vscode settings

* Change prettier version

* Don't autofix PRs

* Add simple docs

* Tweak editor config

* At a comment

* Removes something we didn't need

* Remove marked down line length

* Attempt to fix eslint in pre comet

* Fix

* Another fix

* Try to fix eslint

* Bump versions

* Update lock file

* Tweak package

* unset editorconfig for vendor

* Exclude vendor

* Tweak editorconfig

* Add more rules

* Remove lint from pre commit

* Sort hooks

* Run shed last
2022-04-24 17:26:32 +01:00
AndrewDant
95890de171
Update docs to clarify that all actions require a target (#628) 2022-04-13 12:53:44 -07:00
Will Sommers
849d591ba8
Update installation.md (#626) 2022-03-30 08:14:30 -07:00
Pokey Rule
b7946d9450
Minor Cursorless docs follow-up tweaks (#610)
* Have a bit more exposition and point to API doc landing page on contributing landing page.
Fixes #609

* Test broken link

* Fail on docs build fail

* Remove broken link

* Various stuff

* Remove unnecessary markdown link checker

* Fix link

* More docs cleanup

* Tweak deploy setup
2022-03-18 10:58:00 +00:00
Kirill Dubovitskiy
d90a3698f1
Serve docs folder and API reference on GitHub pages (#477)
* Inline documentation added for some key functions

* Docusaurus minimal set up added

* Fixed links to repository sub directories

* Added contributing/api using TypeDoc

* Updated publish docs workflow

* Link hack docs, publish only on main branch

* Update website/docusaurus.config.js

More robust fixing relative link to repository artifacts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Addressed review comments; Github workflow to test documentation build added

* Update .github/workflows/deploy-docs.yml

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Update .github/workflows/deploy-docs.yml

Deployment should be authored by cursor less bot

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* Apply pull request suggestion

* missing-exports plugging added

* Moved contributing; Added new API index page

* Avoid copying docs folder

* Fix links to GitHub after docs folder move in previous commit

* Fixed issue were relative links were rewritten to point to GitHub

* Add stub contributing

* Fix broken link to svg calculations

* Add broken markdown link checker

* Update tagline and run dock sours can fig through prettier

* Disable markdown link checking in CHANGELOG.md

* Factored out typedoc configuration from docusaurus

* Prevents broken links like https://.../../ generated

* Fixed link giving warning

* Fixed typo

* Better docusaurus config documentation

* Serve folder with /docs/ subdir <- website/build for baseUrl to work correctly

* Added CNAME to gh-pages root. Otherwise adhock commits when updated from GitHub Pages UI

* Cleanup docs

* Docs

* More docs

* Update docs-build.sh to clean out old artifacts

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>

* runCommand fixed list numbering

* Hide API index from the sidebar

* Bumped docusaurus dependencies, minor nice improvements

* Moved dogs build script to scripts folder

* Edit launch configuration to debug docusaurus configuration

* Use `www` as default

* Switch to www

* Fix ci

* Trigger notification

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-03-16 23:23:03 +00:00
Yevgeniy Kuksenko
04bf052fbe
Update README.md (#590)
`cursorless docs` command seems to have been replaced by `cursorless instructions`
2022-03-07 22:22:43 +00:00
Will Sommers
304c2d56cc
Add rewrap command to docs (#580) 2022-03-03 22:01:17 +00:00
Pokey Rule
c1030e6f20
Use .git prefix on install instructions (#576)
Closes #556
2022-02-22 13:11:19 +00:00
Robin Opletal
65621291ff
docs: document move (#574) 2022-02-21 21:40:22 +00:00
Pokey Rule
25cadacfab
Repurpose test case recorder for rich video recorder (#555)
* Initial attempt at turning testcase recorder into a graph component

* Fixes

* Switch to generalize test case recorder argument

* Update dock string

* Add a couple more arguments

* Add snapshot timestamps

* Remove incorrect type annotation

* Update docks
2022-02-14 15:14:15 +00:00
Ronald Walker
ab50e20e49
update docs - reflect changes to default terms (#553) 2022-02-11 07:47:26 +00:00
Robin Opletal
9201b50882
docs: replace "clear" with "change" (#551) 2022-02-10 13:08:43 +00:00
Pokey Rule
04fcbfeaa3
Add link wrap gif (#536)
* Add link wrap gif

* Add link snippet

* Change link wrap support and documentation
2022-02-07 19:52:41 +01:00
Pokey Rule
a465b78997
Update docs to reflect new default term "box" (#548) 2022-02-07 15:29:15 +01:00
Pokey Rule
4d35594981
Update documentation and links to reflect monorepo (#542)
* Update docs and links to monorepo

* Update a link

* Update link

* Fix up installation

* Fix up installation

* More doc tweaks

* More updates to new repo location

* Black

* More tweaks
2022-02-03 18:57:58 +00:00
Pokey Rule
5f08ec42ec
Pull request templates (#503)
* New language pull request template

* Add generic template

* Cleanup pull request template

* Cleanup checklist
2022-01-24 16:21:44 +00:00
Stefan du Fresne
8e7f10113e
Scala support (#399)
* scala support: initial commit

* className should work here

* class, className, ifStatement, string, comment

* very basic list and call support

* class changes to support traits and test case classes

* (some) lambdas, maps, interpolated strings

* argument and parameter support

* names, functions and function names

* basic types (no generic specific work yet)

* basic value support

* conditions

* cleaning up temp work

* doc changes

listing out every place where code has to change to add a new language

* adding fn names

* Fix scala language id missing

* more matching values tests

Testing when the mark is on the name of the value.

* More condition tests

For marks which aren't the condition itself

* Dropping list and map, improving types

You can now grab types when the mark is not in the type itself

* paired delimiters

* Dropping comment about partial functions

I'm not sure we can ever truly detect these. At least in the current tree sitter implementation they are eg just infix expressions, just like lots of other things

* cleaning up types

* More type tests

For when the mark is not directly on the type

* Fixing up types

* cleaned up notes

* clarifying our type matching strategy

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2022-01-08 16:42:56 +00:00
Pokey Rule
83543d38bf
Fix doc links (#371) 2021-12-08 12:27:02 +01:00
Pokey Rule
d855232dc1
Add hat snapshot documentation code links (#362)
* Add hat snapshot documentation code links

* Fix doc links

* More cleanup

* cleanup
2021-12-07 08:12:04 +01:00