Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1890f34
Lambda
AndreasArvidsson Jul 11, 2025
8418995
Argument list js
AndreasArvidsson Jul 11, 2025
58328ae
Replaced multiple names
AndreasArvidsson Jul 11, 2025
3403ccf
name
AndreasArvidsson Jul 11, 2025
a3dbcc2
argument list
AndreasArvidsson Jul 11, 2025
738291d
argument
AndreasArvidsson Jul 11, 2025
198f652
attributes
AndreasArvidsson Jul 11, 2025
cda3f14
branch
AndreasArvidsson Jul 11, 2025
8fdda36
class
AndreasArvidsson Jul 11, 2025
53879c7
class name
AndreasArvidsson Jul 11, 2025
e0af78e
collections
AndreasArvidsson Jul 11, 2025
1afdfeb
line
AndreasArvidsson Jul 11, 2025
07f671d
command
AndreasArvidsson Jul 11, 2025
ec6262f
comment
AndreasArvidsson Jul 11, 2025
e99eff2
stylings
AndreasArvidsson Jul 11, 2025
b2519d9
word condition
AndreasArvidsson Jul 11, 2025
d97686d
document
AndreasArvidsson Jul 11, 2025
b631561
Function call
AndreasArvidsson Jul 11, 2025
114caf9
Render whitespace for developers
AndreasArvidsson Jul 11, 2025
e8a3658
toc class
AndreasArvidsson Jul 11, 2025
0af0014
If statement
AndreasArvidsson Jul 11, 2025
7859166
Added statement scope to if statement patterns
AndreasArvidsson Jul 11, 2025
4268793
interior
AndreasArvidsson Jul 11, 2025
c65537c
Updated broken tests
AndreasArvidsson Jul 11, 2025
c84d3ed
List and map
AndreasArvidsson Jul 11, 2025
e7bdf32
name
AndreasArvidsson Jul 12, 2025
c2087c8
named function
AndreasArvidsson Jul 12, 2025
57d08aa
notebook cell and paragraph
AndreasArvidsson Jul 12, 2025
89ffbf1
sentence
AndreasArvidsson Jul 12, 2025
9d1e0d3
statement
AndreasArvidsson Jul 12, 2025
08d03be
string
AndreasArvidsson Jul 12, 2025
c28789a
Surrounding pair
AndreasArvidsson Jul 12, 2025
06b4684
text fragment
AndreasArvidsson Jul 12, 2025
3c024a2
token
AndreasArvidsson Jul 12, 2025
cb56619
type
AndreasArvidsson Jul 12, 2025
7cfd0f4
url
AndreasArvidsson Jul 12, 2025
301efaf
word
AndreasArvidsson Jul 12, 2025
492a40a
tags
AndreasArvidsson Jul 12, 2025
edfd08f
value
AndreasArvidsson Jul 12, 2025
b95460e
fix meta
AndreasArvidsson Jul 12, 2025
1e27898
Fixed bug with whitespace in copied code
AndreasArvidsson Jul 12, 2025
acce6f1
More value
AndreasArvidsson Jul 12, 2025
c996ccd
Update tests
AndreasArvidsson Jul 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
languageId: cpp
command:
version: 6
spokenForm: take attribute
spokenForm: change attribute
action:
name: setSelection
name: clearAndSetSelection
target:
type: primitive
modifiers:
Expand All @@ -21,9 +21,9 @@ initialState:
marks: {}
finalState:
documentContents: |
[[nodiscard]]
[[]]
int f(int a = 1) {
}
selections:
- anchor: {line: 0, character: 0}
active: {line: 0, character: 13}
- anchor: {line: 0, character: 2}
active: {line: 0, character: 2}
3 changes: 1 addition & 2 deletions data/fixtures/recorded/languages/php/changeFunk3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ initialState:
active: {line: 3, character: 0}
marks: {}
finalState:
documentContents: |-
documentContents: |+
<?php

;
selections:
- anchor: {line: 2, character: 0}
active: {line: 2, character: 0}
4 changes: 2 additions & 2 deletions data/fixtures/recorded/languages/php/changeFunk4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ initialState:
active: {line: 2, character: 24}
marks: {}
finalState:
documentContents: |
documentContents: |+
<?php

;

selections:
- anchor: {line: 2, character: 0}
active: {line: 2, character: 0}
8 changes: 3 additions & 5 deletions data/fixtures/recorded/languages/php/chuckFunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ initialState:
active: {line: 3, character: 0}
marks: {}
finalState:
documentContents: |+
<?php

documentContents: <?php
selections:
- anchor: {line: 2, character: 0}
active: {line: 2, character: 0}
- anchor: {line: 0, character: 5}
active: {line: 0, character: 5}
8 changes: 3 additions & 5 deletions data/fixtures/recorded/languages/php/chuckFunk2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ initialState:
active: {line: 2, character: 24}
marks: {}
finalState:
documentContents: |+
documentContents: |
<?php


selections:
- anchor: {line: 2, character: 0}
active: {line: 2, character: 0}
- anchor: {line: 1, character: 0}
active: {line: 1, character: 0}
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
foo.bar(int aaa, int bbb);
foo.bar(aaa, bbb);
---

[Content] =
[Removal] = 0:8-0:24
>----------------<
0| foo.bar(int aaa, int bbb);
[Removal] = 0:8-0:16
>--------<
0| foo.bar(aaa, bbb);

[Domain] = 0:0-0:25
>-------------------------<
0| foo.bar(int aaa, int bbb);
[Domain] = 0:0-0:17
>-----------------<
0| foo.bar(aaa, bbb);

[Insertion delimiter] = ", "
31 changes: 7 additions & 24 deletions data/fixtures/scopes/c/branch/branch.switchCase.iteration.scope
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
switch (value) {
case 0:
break;
default:
break;
}
switch (foo) { }
---

[Content] = 0:16-5:0
>
0| switch (value) {
1| case 0:
2| break;
3| default:
4| break;
5| }
<
[Content] = 0:14-0:15
>-<
0| switch (foo) { }

[Domain] = 0:0-5:1
>----------------
0| switch (value) {
1| case 0:
2| break;
3| default:
4| break;
5| }
-<
[Domain] = 0:0-0:16
>----------------<
0| switch (foo) { }
28 changes: 12 additions & 16 deletions data/fixtures/scopes/c/branch/branch.switchCase.scope
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
switch (value) {
switch (foo) {
case 0:
break;
default:
break;
default: {}
}
---

Expand All @@ -17,7 +16,7 @@ switch (value) {
>-----------
1| case 0:
2| break;
3| default:
3| default: {}
<

[#1 Leading delimiter] = 1:0-1:4
Expand All @@ -28,21 +27,18 @@ switch (value) {


[#2 Content] =
[#2 Domain] = 3:4-4:14
>--------
3| default:
4| break;
--------------<

[#2 Removal] = 3:0-5:0
>------------
3| default:
4| break;
5| }
[#2 Domain] = 3:4-3:15
>-----------<
3| default: {}

[#2 Removal] = 3:0-4:0
>---------------
3| default: {}
4| }
<

[#2 Leading delimiter] = 3:0-3:4
>----<
3| default:
3| default: {}

[#2 Insertion delimiter] = "\n"
8 changes: 4 additions & 4 deletions data/fixtures/scopes/c/class/class4.scope
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
typedef struct { } Foo;
typedef struct {} Foo;
---

[Content] =
[Removal] =
[Domain] = 0:0-0:23
>-----------------------<
0| typedef struct { } Foo;
[Domain] = 0:0-0:22
>----------------------<
0| typedef struct {} Foo;

[Insertion delimiter] = "\n\n"
8 changes: 4 additions & 4 deletions data/fixtures/scopes/c/class/class5.scope
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
typedef union { } Foo;
typedef union {} Foo;
---

[Content] =
[Removal] =
[Domain] = 0:0-0:22
>----------------------<
0| typedef union { } Foo;
[Domain] = 0:0-0:21
>---------------------<
0| typedef union {} Foo;

[Insertion delimiter] = "\n\n"
8 changes: 4 additions & 4 deletions data/fixtures/scopes/c/class/class6.scope
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
typedef enum { } Foo;
typedef enum {} Foo;
---

[Content] =
[Removal] =
[Domain] = 0:0-0:21
>---------------------<
0| typedef enum { } Foo;
[Domain] = 0:0-0:20
>--------------------<
0| typedef enum {} Foo;

[Insertion delimiter] = "\n\n"
133 changes: 0 additions & 133 deletions data/fixtures/scopes/c/className.scope

This file was deleted.

24 changes: 24 additions & 0 deletions data/fixtures/scopes/c/className/className.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
struct Foo {};
---

[Content] = 0:7-0:10
>---<
0| struct Foo {};

[Removal] = 0:7-0:11
>----<
0| struct Foo {};

[Leading delimiter] = 0:6-0:7
>-<
0| struct Foo {};

[Trailing delimiter] = 0:10-0:11
>-<
0| struct Foo {};

[Domain] = 0:0-0:14
>--------------<
0| struct Foo {};

[Insertion delimiter] = " "
Loading
Loading