Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
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
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
0b685a7cc2
Hat snapshots (#318)
* Initial attempt to at snapshots

* Switch to unnamed snapshots

* A kind of workign attempt

* A kind of workign attempt

* Use command server signal API

* More error robustness

* Working version

* Have navigation map return snapshot

* Attempt at big refactor

* Fixes to get it running

* Rename

* Bind function

* Remove unnecessary field

* Add docstring

* snapshot => prePhraseSnapshot

* Clean yaml

* Do disposal in hat allocator

* navigationMap => hatTokenMap

* Add tests

* Make isTesting into function

* Set testing env var

* Try to change env var

* Initial cleanup work for edits outside viewport

* More cleanup

* Fix yarn lockfile

* Fix yarn

* refactoring

* Fixes; add tests

* File rename

* Finish merging

* Some cleanup

* Create command runner class

* Working backwards compatible command runner

* More backward compatibility fixes

* Rejects stale snapshots

* Add link

* A bunch of refactoring

* Test fixes

* Revert change

* Improved canonicalization

* Add comment

* Fix ci

* Rollback decoration test change

* Attempt to fix decorations

* Normalize hat enablement during testing

* Fix recorded tests

* Fix tests

* Cleanup test recording

* Add docs

* Fix creating nested recorded test directories

* Cleanup test case bulk transformer

* More transform script fixes

* More transform stuff

* Upgrade a test
2021-12-06 18:13:48 +00:00