Commit Graph

326 Commits

Author SHA1 Message Date
Andreas Arvidsson
a789b26b86 Added leading and trailing delimiters to subtoken (#167)
* Added leading and trailing delimiters to subtoken

* Added tests
2021-08-02 09:57:47 -07:00
Andreas Arvidsson
94be662ce8 Recorded tests (#170)
* Change line endings on tests

* Disable debug log for tests

* Added line endings test
2021-08-02 09:57:45 -07:00
Brock McElroy
cc7d4e73c6
Test on PR and push to master (#172) 2021-08-01 11:16:36 -07:00
Andreas Arvidsson
2552002fe6
Converted test recorder for bulk recordings (#169)
* Converted test recorded for bulk recordings

* File name in camel case

* Added spoken form to test suit

* Added test recordings for actions

* Innumerate test cases with same name

* Remove breakpoint test

* Added exception
2021-08-01 08:57:41 +02:00
Brock McElroy
3e617afb97
Test Case Recorder (#87) 2021-07-31 10:18:06 -07:00
Andreas Arvidsson
9dcf9c0528
Added action replace (#135) 2021-07-26 17:53:07 -07:00
Pokey Rule
563ed19392 Fix release notes 2021-07-24 18:26:51 -07:00
Pokey Rule
507f8fe2c5 Release 0.20.0 2021-07-24 18:19:47 -07:00
Pokey Rule
d449c5d399 Minor cleanup 2021-07-24 17:54:27 -07:00
Andreas Arvidsson
184ea2ae3a
Added action duplicate (#134)
* started working on action for line duplication

* unifi ranges

* added comments

* clean up

* clean up

* clean up

* calculate newmark

* Various cleanup

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:43:32 +01:00
Andreas Arvidsson
7b24e21d5d
Added support to exclude start or end token in ranges (#131)
* added support to exclude start or end token in ranges

* handle delimiters when excluding ranges

* Update src/inferFullTargets.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* added dock string

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:24:55 +02:00
Andreas Arvidsson
f102b62785
Added selection type paragraph (#125)
* added selection type paragraph

* include empty line for paragraph delimiter

* Update src/processTargets.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* expand the limited range four paragraph

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:15:41 +02:00
Andreas Arvidsson
f5775d29c5
added action set breakpoint (#130) 2021-07-24 23:23:25 +01:00
sterlind
2805bc76b0
C# support (#137)
* first try at getting sea sharp working

* got dictionary matcher working for c#

* stashing

* stashing for now

* tidying up a little
2021-07-24 22:44:59 +01:00
Andreas Arvidsson
56af51f1ce
Added function listenForDocumentChanges (#126)
* added file calculate changes

* started implementing calculated changes

* use new compute changes for all actions

* updated command action with calculate changes

* A possible approach (#136)

* A possible approach

* Update CalculateChanges.ts

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>

* More cleanup

* Fixes

* More cleanup

* Minor fix

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-24 23:41:07 +02:00
Andreas Arvidsson
85fc6bf8b1
improved error message (#133) 2021-07-23 08:59:39 -07:00
Andreas Arvidsson
d176211e55
implemented actions puff, float, drop (#122)
* implemented actions puff, float, drop

* remove unnecessary check for reversed selection

* renamed insert line actions

* Update Types.ts

* Update index.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-22 20:33:52 +01:00
Andreas Arvidsson
f0612d922e
Fix bug with two adjacent tokens (#129) 2021-07-21 07:23:11 -07:00
Andreas Arvidsson
0e307f4369
Subtokens support reversed order ordinals (#121)
* fixed small offset error on the negative end index

* Handle reverse order sub token

* excluding end index for negative index

* use anchor and active instead of start and end
2021-07-21 01:57:02 +01:00
Andreas Arvidsson
477681d2aa
added find all action (#120)
* added find all action

* Get text through graph

* use get text in copy action

* Cleanup

* More cleanup

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:55:09 +01:00
Andreas Arvidsson
a1722a3853
Infer missing end mark on ranges (#118)
* Infer same line as mark when using past end of line

* infere missing end mark for all selection types
2021-07-21 01:34:25 +01:00
Andreas Arvidsson
d95a990437
Added actions: indent, dedent, comment (#116)
* Added actions: indent, dedent, comment

* Renames indent classes

* Update Types.ts

* Update index.ts

* Update Comment.ts

* Update index.ts

* Update Types.ts

* Update CommandAction.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:33:12 +01:00
Andreas Arvidsson
63b330ab1c
implemented paste action (#115)
Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:21:34 +01:00
Pokey Rule
5eada65c0a Release 0.19.0 2021-07-16 21:36:07 -07:00
Andreas Arvidsson
681671b257
Pr/move/merged (#119)
* Merged with cleanup

* Append delimiter for eg "bring to after"

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-16 16:48:37 +02:00
Andreas Arvidsson
4cfd53274f
Move action (#108)
* implemented move action

* refactoring and clean up of move

* renamed use to bring

* performed actions suggested in PR

* small update to get that mark to work correctly

* perform move with outside modifier on source

* added support for space and new line delimiters

* Added outer selection to corrctly delete line

* Update src/performDocumentEdits.ts

Co-authored-by: Brock McElroy <28877984+brxck@users.noreply.github.com>

Co-authored-by: Brock McElroy <28877984+brxck@users.noreply.github.com>
2021-07-16 10:43:13 +02:00
Andreas Arvidsson
31ab1c820f
fixed take that on pre and post (#114) 2021-07-16 10:42:28 +02:00
Pokey Rule
63c17831bd Add CODEOWNERS 2021-07-15 18:40:40 -07:00
Pokey Rule
f25275d5e2 Release 0.18.0 2021-07-12 19:26:31 +01:00
Pokey Rule
9d81501c82
Add support for untrusted workspaces (#104) 2021-07-12 19:23:59 +01:00
Pokey Rule
ff120118c5 Fix badges 2021-07-11 21:16:27 +01:00
Pokey Rule
eb1903f128
Add README badges (#105)
* Improve README

* README update

* Fix README

* More README

* Release 0.17.3

* Remove broken svg badge
2021-07-11 21:07:36 +01:00
Pokey Rule
11dbf92c1a Release 0.17.2 2021-07-09 22:34:46 +01:00
Pokey Rule
f94357215d
Final cleanup before new user release (#102) 2021-07-09 22:33:05 +01:00
Pokey Rule
a27bad61d1 Fix changelog 2021-07-09 18:18:37 +01:00
Pokey Rule
6df78ab2fb Release 0.17.0 2021-07-09 18:00:50 +01:00
Pokey Rule
328884a2ef Release 0.16.0 2021-07-09 15:36:59 +01:00
Pokey Rule
1478b17662 Change hat size adjustment setting 2021-07-09 15:13:52 +01:00
Andreas Arvidsson
c0ad928810
Updated regular expression for sub word matcher and added additional tests (#88) 2021-07-09 12:04:17 +01:00
Andreas Arvidsson
dddb5cd970
Added actions to scroll target top/center (#58)
* added actions to scroll mark top/center

* updated name of scroll functions

* use command reveal line instead of api

* alphabetize action names

* Update src/actions/Scroll.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* general cleanup of scroll function

* remove line decoration after scroll is done

* Reuse focus editor

* fixed missing await

* Update src/actions/Scroll.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* improved call back name and added doc string

* replaced map with for loop to preserved sequence of the promises

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Clean up and tweaking

* re name callback

* Add setting for showing additional highlight

Co-authored-by: Andreas Arvidsson <andreas.arvidsson@redpill-linpro.com>
Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-08 16:50:48 +01:00
Pokey Rule
d1fbe3f54f
Add a couple more token fixed symbols (#76)
* Add a couple more token fixed symbols

* Add '->'
2021-07-07 21:11:38 +01:00
Brock McElroy
0e4c072b29
Fix subword for all caps tokens (#67)
* Fix subword for all caps tokens

* Test subword matcher regex

* Note subword matcher  shortcoming
2021-07-07 21:11:22 +01:00
Brock McElroy
99eea6885f
Refactor transformations and add name transformation (#56)
* Add name field transformation

* Add AST debug logging

* Add basic name transformation

* Refactor matchers to add function name transform

* Add missing function name

* Clean up transformations refactor

* Refactor branch debug logging

* Fix purple color setting name

* Add function and class name scopes

* Fixed name matching for exported/decorated nodes

* Clean up transformations refactor (again)

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-07 21:02:29 +01:00
Brock McElroy
5271ce3f1c
Fix purple color setting name (#75) 2021-07-06 21:43:23 +01:00
Pokey Rule
89501db38a Add some documentation of SVG calculations 2021-07-06 19:40:40 +01:00
Andreas Arvidsson
5cf8a8db87
Update color (#62)
Co-authored-by: Andreas Arvidsson <andreas.arvidsson@redpill-linpro.com>
2021-07-06 16:00:38 +01:00
Andreas Arvidsson
b60697db23
Updated regexp to support fixed tokens and sequential symbols (#33) 2021-07-06 14:08:56 +01:00
Brock McElroy
5c5256c8bf
Add type transformation (#32)
* Add type transformation

* Attempt to be fancy

* Match child node of type annotation

* Use exported declaration helper

* Make type transform unsupported in other languages

* Add Python type transform support

* Match optional Typescript types

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-05 18:30:44 +01:00
Pokey Rule
c0b35fb8e7
Svg Hats (#66)
* Initial colored svg hats

* Various changes

* Initial working version

* Fix spacing

* Use web view to compute font size (#57)

* Use web view to compute font size

* added missing px

Co-authored-by: Andreas Arvidsson <andreas.arvidsson@redpill-linpro.com>

* Working computations

* Tweak hats so they work well for Pokey

* Make height and size of hats configurable

* added cache and settings for hats/font

* Clean up

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
Co-authored-by: Andreas Arvidsson <andreas.arvidsson@redpill-linpro.com>
2021-07-05 18:19:59 +01:00
Pokey Rule
33c7f9dd6d 0.15.0 2021-06-29 21:10:52 +01:00