-
-
Notifications
You must be signed in to change notification settings - Fork 88
Support fully compositional modifiers #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pokey
merged 334 commits into
main
from
pokey/issue69-Support-fully-compositional-modifiers
Jun 7, 2022
Merged
Changes from all commits
Commits
Show all changes
334 commits
Select commit
Hold shift + click to select a range
40d469f
Fixed bug in removal range for range target
AndreasArvidsson 661a790
A dead delimiter highlight to range target
AndreasArvidsson 691bb15
Added token context to all marks
AndreasArvidsson 045ff32
Added correct token context too regex
AndreasArvidsson c47e6b5
Don't unifi ranges on content only removal
AndreasArvidsson 3c5fec4
Update the test
AndreasArvidsson 16a3704
Added feature to run single recorded test
AndreasArvidsson 91c4116
Updated tests
AndreasArvidsson 880980d
Fallback on token context for containing scope
AndreasArvidsson d34e2c8
Updated target inference
AndreasArvidsson 3d8fb74
general refactoring of removable ranges
AndreasArvidsson 7ce940b
Updated unify removal targets
AndreasArvidsson fcec5b0
Fixed that mark bug on set selection
AndreasArvidsson 2b489bb
Fixed is reverse bug on vertical range targets
AndreasArvidsson 204dff1
Fixed is reverse bug on vertical range targets
AndreasArvidsson db64b72
Set empty delimiter on end of and start of positions
AndreasArvidsson a5f311f
Updated test
AndreasArvidsson ca4e6a2
Fixed last tests
AndreasArvidsson e59fc47
Added description to run single recorded test
AndreasArvidsson cc9b9f8
At dead tests for bring before and after file
AndreasArvidsson 1abbf8a
Update to removal ranges
AndreasArvidsson ffd79ea
Mark cleanup
AndreasArvidsson 625baac
Added interior only and exclude interior as proper modifiers
AndreasArvidsson 15b6d07
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c1b4d63
Added support for every line
AndreasArvidsson 3abd406
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson d1771a0
Only select lines with content
AndreasArvidsson d92c942
Added take every paragraph
AndreasArvidsson fcccf12
Added every file line and block tests
AndreasArvidsson 01e77ea
Added take every token
AndreasArvidsson 66a936c
Added every too regex stages
AndreasArvidsson 9b7d94d
Cleanup
AndreasArvidsson e22b28f
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
AndreasArvidsson b700e45
Moved example of custom test transformation to docs
AndreasArvidsson e85e913
Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts
AndreasArvidsson ca1295f
Update src/core/commandVersionUpgrades/upgradeV1ToV2/upgradeV1ToV2.ts
AndreasArvidsson 06adf4c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ab1071b
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
AndreasArvidsson c95e0dc
Added OO targets
AndreasArvidsson 815f0c2
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson 470fb27
Fixed merge conflict
AndreasArvidsson 824f37d
Reversed order of migration modifiers
AndreasArvidsson c9a761c
Default to array
AndreasArvidsson fe06227
Cleaned up inference code
AndreasArvidsson 4e9dd6f
Added paragraph target
AndreasArvidsson c5348c2
Better updates of new range
AndreasArvidsson affcac1
oo targets past all test
AndreasArvidsson 11b624b
Added line and paragraph tests
AndreasArvidsson a8b633d
Highlight update
AndreasArvidsson 6616f62
Added script to show unused exports
AndreasArvidsson af09763
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ab2a684
Added line 2 unused export
AndreasArvidsson 326adff
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson 494e090
Default modifiers to empty array
AndreasArvidsson cfef36f
Don't use hat map
AndreasArvidsson c42cd8e
Modifiers default to undefined
AndreasArvidsson 8fa7add
Fixed is implicit inference
AndreasArvidsson 66c09ed
Removed get tokens function
AndreasArvidsson 62491b6
Update src/core/commandVersionUpgrades/upgradeV1ToV2/commandV1.types.ts
AndreasArvidsson 5ce6b18
Update src/core/inferFullTargets.ts
AndreasArvidsson 76b2b1a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c052580
General cleanup
AndreasArvidsson 31148f0
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson b68c16e
Added notebook cell target
AndreasArvidsson 8d9a8e8
Support delimiter based edit newline (#684)
AndreasArvidsson a48f9ac
Run yarn
pokey fad62d0
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey 0de0798
Attempt to fix raw delimiter
pokey a035390
Fixed delimiter
pokey 84f4f4b
Revert "Attempt to fix raw delimiter"
pokey c8aee08
Revert "Fixed delimiter"
pokey 77126f1
Use low dash unique with
AndreasArvidsson b1044ff
Made base target abstract
AndreasArvidsson 83bed37
Updated tests
AndreasArvidsson 652ef14
Added return type
AndreasArvidsson 44cdd6a
Fixed compilation errors
AndreasArvidsson 682a930
Updated position
AndreasArvidsson 9a35cea
Add empty string as default delimiter for sub tokens
AndreasArvidsson fb89dfc
Updated bugs
AndreasArvidsson 567999a
Cleanup
AndreasArvidsson cdc2384
Added tests
AndreasArvidsson cfe87bc
Updated inference of implicit target
AndreasArvidsson a5c5752
Updated spoken forms in test
AndreasArvidsson e050a2a
Utilize getters
AndreasArvidsson f645dcd
Refactored getters and setters for targets
AndreasArvidsson 848364f
Implemented get final stages
AndreasArvidsson f68edd8
Added final stages to process targets
AndreasArvidsson f73e669
Cleanup
AndreasArvidsson b46392f
Converted command action into object with associated arguments
AndreasArvidsson 2c125e6
Switch to complex scope types
pokey 6a758da
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 713ac87
Remove scope type type from base target
pokey 9642209
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b805fa8
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey 0aa8149
Updated to edit new context
AndreasArvidsson 0239d07
Added bring statement test
AndreasArvidsson 05d3f46
Change behavior of pour line
AndreasArvidsson 55f761f
Use weak containing line stage for edit new
AndreasArvidsson 8dc708e
Updated edit new
AndreasArvidsson ab45cc6
Get targets in correct order
AndreasArvidsson fa73fa5
Updated selection for editor
AndreasArvidsson 74370d7
Cleanup
AndreasArvidsson 5f82b78
New attempt at EditNew
pokey 83b2741
Added rich targets
AndreasArvidsson b50c7d5
Updated edit new with proper line handling
AndreasArvidsson 2a07980
Only used single edit
AndreasArvidsson d5e2651
Added comment
AndreasArvidsson c52571d
Added comment
AndreasArvidsson abfd398
Cleanup
AndreasArvidsson 40a9bd2
Added derived target
AndreasArvidsson 25535ed
Moved weak target into base target class
AndreasArvidsson 27b2edd
Cleanup
AndreasArvidsson f566dd1
Updated action form
AndreasArvidsson ca80d97
Updated scope type for tests
AndreasArvidsson bc6ccc1
Fix upgrade path with ordinal range
AndreasArvidsson 608ea3d
Pass leading and trailing delimiters to super constructor
AndreasArvidsson cde81f5
Learn to spell
AndreasArvidsson aeeb3ab
Updated more tests
AndreasArvidsson 04b1fdd
Cleanup
AndreasArvidsson 0125212
Fixed bug taking matching pair in error code
AndreasArvidsson eec2f65
Added block tests
AndreasArvidsson d92f07a
Fixed test
AndreasArvidsson 7fbb155
Added support for custom delimiters in copy lines
AndreasArvidsson cfeed47
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey 390a541
Fix package json
pokey d32c5da
Fix one test
pokey e877922
Updated tests
AndreasArvidsson 1793c27
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2cbaaf5
Disabled phrase snapshot on recorded test runner
AndreasArvidsson 77e053b
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson 6432c47
Updated test and upgrade path
AndreasArvidsson 5a09ee2
Fixed failing hat map tests
pokey 3af398b
Added sleep option to recorded tests
AndreasArvidsson af9407f
Verbosity for the win
pokey db462c9
Tweak modify of week stage
pokey 0f307fc
Minor python cleanup
pokey d3216a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1fd4be3
Don't de duplicate that mark
pokey 0bce727
Use utility function to set selection that deduplicates
AndreasArvidsson 419922d
Make document content range the entire file including white lines
AndreasArvidsson 81af818
Added source mark to wrap action
AndreasArvidsson 1f96954
Added source mark to actions wrap and rewrap
AndreasArvidsson 8bb43b1
Updated error messages
AndreasArvidsson 8168472
Updated tests
AndreasArvidsson bce013e
Don't focus editor on notebook cell insertion
AndreasArvidsson f484db4
Cleanup
AndreasArvidsson 25dafe4
Don't update selection on notebook cell insertion
AndreasArvidsson d7dac9b
Add comment
pokey 4cca7c7
Various fixes
pokey bb23701
More renames and stuff
pokey 6282e91
Fix bug with missing delimiters in weak targets
AndreasArvidsson 5514215
Update src/processTargets/processTargets.ts
AndreasArvidsson 41997d9
Unify implementation of copy lines and edit new actions
AndreasArvidsson 13451ae
Rename
AndreasArvidsson 6c4f8c8
Started working on lazy removal
AndreasArvidsson 7bf31e9
Clarify processPrimitiveTarget
pokey c4a59e3
Tweak
pokey 6bac958
Tweak again
pokey 7bf79eb
Imports fix
pokey d6928f7
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey 5b242d0
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' in…
AndreasArvidsson ecd4869
All tests pass
AndreasArvidsson 956b159
Updated highlights
AndreasArvidsson 50d2154
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
AndreasArvidsson 637ec30
Highlight updates on continuous range target
AndreasArvidsson 2031899
Moved edit decorations into graph
AndreasArvidsson 49eb90b
Added decorations to test recorder and runner
AndreasArvidsson 0b280bc
Updated to highlight recorder test
AndreasArvidsson f5d37fb
Added decorations test
AndreasArvidsson 46390c0
Added decorations test
AndreasArvidsson fdbc9a5
Added leading and trailing delimiters as separate stage and target
AndreasArvidsson a815abf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 35f06f6
Create edits in actual targets
AndreasArvidsson 20468e7
Merge branch 'pokey/issue69-Support-fully-compositional-modifiers' of…
AndreasArvidsson 3fc9dec
Use object oriented targets to construct edits
AndreasArvidsson 4e08c90
Enabled bring before and after without to
AndreasArvidsson 65bf87f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b689146
Fix
AndreasArvidsson cd651ec
Support fully compositional modifiers
pokey 3bb0939
Getting started
pokey 6a3b208
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 36c9f5f
Start using InsertionRemovalBehavior
pokey ccd03d6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a2cce40
Cleanup
pokey 98ff662
Tweak
pokey 3906456
More cleanup
pokey ee95e0f
More tweaks
pokey 58a78dd
Tweaks
pokey da08ed2
More cleanup
pokey 4301836
Cleanup
AndreasArvidsson 7c1d122
Removed padding from float and drop
AndreasArvidsson 1d3f0c9
Updated that mark on pour action
AndreasArvidsson b9749c1
Lots of stuff
pokey 50031db
Fixed removal behavior on scope type target
AndreasArvidsson 3686199
Hide panel on recorded test sweet startup
AndreasArvidsson 567210a
More stuff
pokey ab699b2
More stuff
pokey 8c35a53
Cleanup
AndreasArvidsson 2d627a6
Some stuff clean up whatever don't care
AndreasArvidsson 7e5278c
Committed some stuff
AndreasArvidsson dbe081e
Stuff
AndreasArvidsson e9403a2
Updated tests
AndreasArvidsson fa61373
Support chuck after and chuck before
pokey 67bf607
Add hack for "paste to to"
pokey 51abd44
Add run single test launch config
pokey e6a1f5f
Add comment about running a single test to contributing docs
pokey 9f86eab
Update cursorless-talon/src/csv_overrides.py
pokey 94fc0aa
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
AndreasArvidsson 4568442
Update cursorless-talon/src/positional_target.py
AndreasArvidsson eba5a1c
Update cursorless-talon/src/positional_target.py
AndreasArvidsson 4e78c28
Use plain target in clear action
AndreasArvidsson d4183a2
Initial modifier unification work
pokey 3fd0c18
Unify simple modifiers
pokey 9497e51
docstring
pokey 47dbb58
Clean up position code
pokey 4e084a8
At a couple comments
pokey ae1b1e2
Creates separate file for target descriptor types
pokey 9eb2010
Separate notebook cell edit new from regular edit new
pokey e4ee36f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 02294fa
Fixed that mark on notebook cells
AndreasArvidsson 24f71a1
Cleanup
AndreasArvidsson 1c3b391
More positional tweaks on talon side
pokey 6e308ce
Removes support for chuck after and chuck before
pokey 1119fba
Clean up names
pokey 518838e
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey 852345a
Use proper error for syntax scope not found
pokey 61f2045
Record tests for leading trailing before and after
pokey 223517b
Add chuck before after to upgrade
AndreasArvidsson 52193ae
Failed attempt at trying to simplify edit new
pokey c92e6f8
Revert "Failed attempt at trying to simplify edit new"
pokey dce732d
Cleanup vscode ignore
pokey 8639b56
Fixed regression in vertical range target (#735)
AndreasArvidsson 2e88e20
Revert generic insert empty lines code
pokey 3a70fce
Add broken float and puff tests
pokey 7781afa
Add working puff float drop tests
pokey 11054b1
Switch to mocha grep syntax for running subset of tests
pokey cb9f322
Make subdir for insert empty lines tests
pokey 445cc6a
Support updating fixture decorations
pokey 6665f7d
Add decorations to float drop puff tests
pokey a0bd2c5
Cleanup test case recorder docs
pokey 6066ce0
Add bunch of clone tests
pokey d12fd41
Move files
pokey 6ee45f5
More cleanup
pokey 3ed14d7
`PartialTargetDesc` => `PartialTargetDescriptor`
pokey cc6e673
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] aed4480
Re-add provenance file
pokey de8f5a9
Comments
pokey 0b774d3
Bump package version
pokey 744c4d4
Attempt to fix docs link
pokey e890da3
Merge branch 'main' into pokey/issue69-Support-fully-compositional-mo…
pokey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
src/** | ||
.gitignore | ||
.yarnrc | ||
vsc-extension-quickstart.md | ||
**/tsconfig.json | ||
**/.eslintrc.json | ||
**/*.map | ||
**/*.ts | ||
node_modules/** | ||
.vscode-sandbox/** | ||
out/** | ||
dist/** | ||
** | ||
!CHANGELOG.md | ||
!cursorless-snippets/** | ||
!dist/extension.js | ||
website/** | ||
!images/hats/** | ||
!images/icon.png | ||
!LICENSE | ||
!NOTICE.md | ||
!package.json | ||
!README.md | ||
!schemas/** | ||
!third-party-licenses.csv | ||
!build-info.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.