Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Pokey Rule
6543066292
Improved update selections (#306)
* Initial work

* Initial new vesrion

* Tweaks

* More work

* More implementation

* MOre stuff

* Some stuff

* More stuff

* Add get offsets for delete or replace

* Fixes

* Initial running version

* Big refactor

* Move to graph-based approach

* Initial working version

* Minor fixes

* Working selection updater for NavigationMap

* cleanup

* Fix CI

* Fix CI again

* Improve comments

* Cleanup

* Rename

* More renaming

* Navigation map disposal

* Add documentation to graph

* More documentation

* Add comments

* More comments

* Fix comment

* More doc updates

* More cleanup

* Doc string

* Improve bring; add a bunch of tests

* Delete useless test

* Delete another test

* Add navigation map tests

* Move marks to initial state

* Get tests working

* Remove transient transorm recorded tests

* Add docs for navigation map tests

* Add more tests

* Remove unnecessary test

* Add comments

* Be more robust to errors in the testcase recording

* Test multiple inserts in one atomic edit

* Take note of marks that we care about

* Transform test cases

* Reorder fixture fields
2021-11-07 08:36:11 +01:00
Pokey Rule
1633ac1132
Snippet wrap (#296)
* Initial working version

* Almost done

* Change languageId

* Remove accidental file

* Attempt at complex version

* Initial version using integer placeholders

* Working using names

* Fix tests

* Fix tests

* Fix schema

* Fixes

* Fix python tests

* Cleanup yaml formatting

* Support snippet overrides

* Fix inference

* Cleanup

* CI fix

* Cleanup

* Remove yarn-error.log

* Update schema docs

* More dock

* Support user snippets dir

* use json schema ref

* Fix schema

* Wrap with snippet cleanup

* Cleanup

* More cleanup

* Change `/` to `.` for placeholder indication

* Reformat

* Fix comment

* Fix tests

* Add basic docs

* Change snippet format

* Fixes

* Add description field
2021-10-25 13:15:07 +01:00
Pokey Rule
cd8258f8d7
Fix "take every value" in python (#258)
* Fix "clear every value" in python

* Add type negation

* Fix bug with "chuck type"
2021-09-05 16:29:14 +02:00
Pokey Rule
e15bf2e0f0
Renames for csv overrides PR (#248)
* Throw error for sub token exclusions

* Add action name canonicalization

* switch to exclude for subtokens

* Lots of renaming

* Change many names

* Use canonicalization for all deprecations

* Better exceptions

* Improve rename script

* Docstring

* Normalized test case yml

* Add a note

* Fix unit tests

* Changes

* More fixes

* Fixes

* Fixes

* Remove extraneous files
2021-08-31 08:19:07 +02:00
Pokey Rule
7b3db14f26
Add docs for adding a new language (#187) 2021-08-05 12:01:15 -07:00
Pokey Rule
54aa161f54
docs cleanup (#179) 2021-08-04 21:38:41 +01:00
Andreas Arvidsson
21ac9b4d4b
Added documentation for test recorder (#177)
* Added documentation for test recorder

* Moved documentation to docs folder

* Tweak README

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-04 21:29:54 +01:00