Commit Graph

302 Commits

Author SHA1 Message Date
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
Nathan Heffley
16dc10e280
Support value scope for yield statements (#606) 2022-03-16 15:23:14 +00:00
Nathan Heffley
e526e60bbd
Add PHP support (#594)
* Start adding PHP support

* Add class support

* Add some PHP func stuff

* Add argumentOrParameter

* Add collections

* Fix strings

* Add values

* Chuck assignment operators when chucking values

* Add if statement

* Fix args and params

* Style fix

* Prettify tests

* Add name support

* Change takeIfState test to changeIfState

* Add functions

* Add param type selector

* Detect more types

* Fix type cast chucking

* Fix lambdas

* Add object creation to function call
2022-03-15 20:33:56 +00:00
Will Sommers
cfbfcb1168
Add support for generators in js/ts (#600) 2022-03-11 07:09:24 +00:00
Ronald Walker
aefbcbe996
change the default term (#596)
from "escaped square" to "escaped box"
2022-03-09 22:22:53 +00:00
Pokey Rule
658201ea73
Xml support using html parser (#592) 2022-03-08 09:17:29 +00:00
Will Sommers
6c63c210a2
Add support for Ruby (#578) 2022-03-07 22:42:29 +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
Pokey Rule
4c3117f1c3
Improve markdown support (#586)
* Improve markdown support
Fixes #584

* Add docstrings

* Turn off specific section types by default
2022-03-04 17:02:38 +00:00
Will Sommers
304c2d56cc
Add rewrap command to docs (#580) 2022-03-03 22:01:17 +00:00
Pokey Rule
237c56f4cf
Support markdown scope types (#583)
Fixes #582
2022-03-03 13:50:42 +01:00
Pokey Rule
c1030e6f20
Use .git prefix on install instructions (#576)
Closes #556
2022-02-22 13:11:19 +00:00
Pokey Rule
a85c1e1625
Update new_programming_language.md (#575) 2022-02-22 11:27:10 +00:00
Robin Opletal
65621291ff
docs: document move (#574) 2022-02-21 21:40:22 +00:00
Pokey Rule
784947de8a
Add calibration for test case recorder timestamps (#569)
* Test case recorder calibration

* More recorder calibration

* Extract some constants

* Tweaks
2022-02-17 13:35:40 +00:00
Pokey Rule
8b3b2520b6
Fix local extension hack (#567) 2022-02-15 17:03:32 +00:00
Pokey Rule
e2ed7ee664
Support pausing test case recording (#565) 2022-02-15 10:09:46 +00:00
Pokey Rule
b39d85eb9d
Fix talon error (#564) 2022-02-14 15:54:01 +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
180df0ee5e
Add highlight action and nothing mark (#563) 2022-02-14 14:11:09 +00:00
Andreas Arvidsson
593b8771ae
Added open link action (#520)
* Added open link action

* Implemented follow action

* Cleanup

* Renamed action to followLink

* Added test to assert that go to definition works

* Added test to follow file link

* Added optional chaining

* Use fixture file

* Cleanup

* Try with sleep

* Updated link for non-windows

* Moved get links feature in the own util file

* Renamed variable

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-02-13 15:24:09 +01:00
Andreas Arvidsson
554611e73d
Updated delete action with support for overlapping ranges (#531)
* Updated delete action with support for overlapping ranges

* Remove identical resulting selections and that marks for delete action

* Spelling.se

* Cleanup

* Refactored unify ranges into separate file

* Added comment

* Added fix me comment

* Added test to cut every argument

* Updated move with unify targets

* Sort clipboard tests

* Use real clipboard instead of mock
2022-02-13 15:18:26 +01:00
Andreas Arvidsson
a805f8e055
Added no unused rule to lint (#517)
* Added linting rule about no unused variables

* Removed all unused warnings

* Removed unused from tests

* Updated package.json

* Added default case

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-02-13 13:36:00 +00:00
Andreas Arvidsson
029ef345f4
Use generic notebook insert cell command instead of jupyter specific (#486)
* Use generic notebook insert cell command instead of jupyter specific

* Determine if in notebook editor or not

* Test added

* Make tests more thorough and a bit of refactoring

* Improve typing

* Fixed test

* Fix test enumeration

Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com>
2022-02-13 13:14:02 +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
578c53d6f0
Another attempt at fixing CI (#545)
* Another attempt at fixing CI

* Tweak
2022-02-03 19:42:31 +00:00
Pokey Rule
46a2d0dcd1
try to fix gpg signing key (#544) 2022-02-03 19:22:21 +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
Andreas Arvidsson
0d11971984
Added tests for visible ranges(scroll, fold) (#539)
* Added tests for visible ranges(scroll, fold)

* Updated test names

* Updated tests to use current selection instead of decorated mark
2022-02-02 19:10:31 +01:00
Pokey Rule
30bc0f2ad9
Bump actions/setup-node action (#538) 2022-02-02 15:44:07 +00:00
Pokey Rule
63e678731c
Another fixed to subtree push (#537) 2022-02-02 12:29:24 +00:00
Pokey Rule
54163d348e
Switch to git subtree for deployment (#535)
* Switch to git subtree for deployment

* Fix scripts path

* Be stricter in script

* Exit if no changes

* Switched to proper branch

* Remove bash books

* Add comment halt

* Remove bash books

* At another sanity check

* Remove bash books

* Add additional sanity check

* Exit earlier if no changes to cursorless talon

* Use signed commits
2022-02-02 12:19:17 +00:00
Pokey Rule
b9355460a8
Remove .gitrepo (#534) 2022-02-01 17:13:39 +00:00
Andreas Arvidsson
a908989df0
Added proper support for += operator (#532) 2022-02-01 08:01:23 +01:00
Andreas Arvidsson
56afaa60f1
Added support to split on dot in cheat sheet (#530) 2022-01-31 20:11:25 +01:00
Alex Woods
d2897bec59
Add url scope (#529)
* refactor: add support for a regex defined scope

* feat: add url scope

* fix: extract url regex

* test: url scope

* fix: black linting
2022-01-31 19:04:22 +00:00
Pokey Rule
feb3ab6033
Update FUNDING.yml (#518) 2022-01-29 15:38:48 +00:00
Pokey Rule
aba626e385
Another attempt to fix subrepo push (#516) 2022-01-27 19:38:03 +00:00
Pokey Rule
110adc9cd0
Fix swap in cheatsheet (#514) 2022-01-27 16:25:24 +00:00
Pokey Rule
729009a4a3
Adds randomizeTargets action (#515)
* Add randomizeTargets action

* git subrepo pull --remote=file:///Users/pokey/src/cursorless-talon-development --branch=pr/alexhwoods/144 cursorless-talon

subrepo:
  subdir:   "cursorless-talon"
  merged:   "202f658a"
upstream:
  origin:   "file:///Users/pokey/src/cursorless-talon-development"
  branch:   "pr/alexhwoods/144"
  commit:   "202f658a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* Reset .gitrepo

* Add simple shuffle test

Co-authored-by: Alex Woods <alexhwoods@gmail.com>
2022-01-27 17:10:32 +01:00
Pokey Rule
a0f4a22f80
Attempt to fix subrepo push (#511) 2022-01-27 10:03:04 +00:00
Pokey Rule
fd7736e35b
Move to monorepo (#510)
* git subrepo clone (merge) https://github.com/cursorless-dev/cursorless-talon.git cursorless-talon

subrepo:
  subdir:   "cursorless-talon"
  merged:   "afa65b88"
upstream:
  origin:   "https://github.com/cursorless-dev/cursorless-talon.git"
  branch:   "main"
  commit:   "afa65b88"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* Set up tests and deploy for cursorless talon subrepo

* Cleaner solution
2022-01-27 09:32:13 +00:00
Pokey Rule
5565a61d54
Continuous delivery take II (#509) 2022-01-26 15:46:26 +00:00
Pokey Rule
bfd4097f4a
Publish extension on merge to main (#507)
* Add continuous delivery of extension

* Add comment

* Only deploy if tests passed

* Pr feedback
2022-01-26 14:49:47 +00:00
Pokey Rule
4116475888
Detect when talon files are newer than extension (#504)
Fixes #498
2022-01-25 19:49:15 +01: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
Pokey Rule
0a9a243e3b
Create FUNDING.yml (#500) 2022-01-21 17:05:22 +01:00