Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5249da9
get repo ready for swift support dev
rinOfTheStars Aug 9, 2026
607252b
scm p1
rinOfTheStars Aug 14, 2026
98e7106
scm p2; added rust and java playgrounds for behavior reference
rinOfTheStars Aug 15, 2026
29bc9c7
start filling out swift.ts with notApplicable and unsupported facet e…
rinOfTheStars Aug 20, 2026
4d292c5
got all but three required tests generating
rinOfTheStars Aug 22, 2026
0f58863
Merge branch 'cursorless-dev:main' into swift-support
rinOfTheStars Aug 22, 2026
8fd4fa6
i have no idea what's happening here ngl
rinOfTheStars Aug 22, 2026
f6c012b
Merge branch 'swift-support' of https://github.com/rinOfTheStars/curs…
rinOfTheStars Aug 22, 2026
3d3b00b
pnpm fix again
rinOfTheStars Aug 23, 2026
259b3df
run precommit
rinOfTheStars Aug 23, 2026
56549bb
Added for each loop; some if-else tests continue to fail to generate …
rinOfTheStars Aug 24, 2026
0046fc6
Merge branch 'main' into swift-support
rinOfTheStars Aug 24, 2026
3230702
Not really sure why this works, but it seemingly does now!
rinOfTheStars Aug 24, 2026
434d12f
Merge branch 'swift-support' of https://github.com/rinOfTheStars/curs…
rinOfTheStars Aug 24, 2026
051b50d
remove the buggy takeEach.yml copies
rinOfTheStars Aug 24, 2026
bd2a1fd
improve scope support correctness, add multiline string and comment s…
rinOfTheStars Aug 25, 2026
df9c996
add query predicate for checking ancestors, more swift support work
rinOfTheStars Aug 26, 2026
792f019
partial revert of previous commit
rinOfTheStars Aug 28, 2026
9f946cd
Finished sorting scope support facets
rinOfTheStars Sep 6, 2026
d298836
Merge branch 'main' of https://github.com/rinOfTheStars/cursorless in…
rinOfTheStars Sep 6, 2026
63b3310
Merge branch 'main' into swift-support
AndreasArvidsson Sep 6, 2026
f4a5d35
more organization changes for facets, start on type annotation support
rinOfTheStars Sep 7, 2026
cb8d2b0
Merge branch 'swift-support' of https://github.com/rinOfTheStars/curs…
rinOfTheStars Sep 7, 2026
83f558e
disabled document wide iteration scopes, as for some reason they're b…
rinOfTheStars Sep 7, 2026
1bde393
Merge branch 'main' of https://github.com/cursorless-dev/cursorless i…
rinOfTheStars Sep 10, 2026
335d924
small changes to classlikes in swift.scm
rinOfTheStars Sep 10, 2026
2c3f84b
fix compile time error caused by architectural change
rinOfTheStars Sep 10, 2026
35f280f
fixed docs not building
rinOfTheStars Sep 10, 2026
f672c4e
prevent symlinks from being committed by accident
rinOfTheStars Sep 10, 2026
cc72810
run pre-commit on a file it missed bc git hooks dont work in vscode o…
rinOfTheStars Sep 10, 2026
f6ecfb2
fix issues caused by scm only targeting at most three captures at once
rinOfTheStars Sep 10, 2026
71cbe75
new scope tests
rinOfTheStars Sep 13, 2026
e320dab
...and get them functioning
rinOfTheStars Sep 14, 2026
f06c3bd
Merge branch 'main' of https://github.com/rinOfTheStars/cursorless in…
rinOfTheStars Sep 14, 2026
4b0022c
docs gaming
rinOfTheStars Sep 14, 2026
5e456a4
Merge branch 'cursorless-dev:main' into swift-support
rinOfTheStars Sep 14, 2026
fb5e2e9
better if scope facets; misc. housekeeping
rinOfTheStars Sep 19, 2026
f16ebb7
run pnpm fix
rinOfTheStars Sep 19, 2026
ca4b9c1
fix type.interface scope facet
rinOfTheStars Sep 19, 2026
7da1d89
Merge branch 'main' into swift-support
rinOfTheStars Sep 20, 2026
dff09a2
Update
AndreasArvidsson Sep 20, 2026
12dc997
Update playground file
AndreasArvidsson Sep 20, 2026
97c14a5
Update playground file
AndreasArvidsson Sep 20, 2026
f9fcda1
For each
AndreasArvidsson Sep 20, 2026
32e0d03
Update test
AndreasArvidsson Sep 20, 2026
07b6db2
Meta Updater
AndreasArvidsson Sep 20, 2026
8b11289
Updates
AndreasArvidsson Sep 20, 2026
5cfefa2
name domain
AndreasArvidsson Sep 20, 2026
0e07bfa
if_statement
AndreasArvidsson Sep 20, 2026
9c2d8d4
if interior
AndreasArvidsson Sep 20, 2026
ab9067e
variables
AndreasArvidsson Sep 20, 2026
4a7f98b
iteration scopes
AndreasArvidsson Sep 20, 2026
9bf512c
fixtures in folders
AndreasArvidsson Sep 20, 2026
4d53618
more fixtures
AndreasArvidsson Sep 20, 2026
9f20b96
more statements
AndreasArvidsson Sep 20, 2026
f9ebb95
More fixtures
AndreasArvidsson Sep 20, 2026
3f21949
Raw string
AndreasArvidsson Sep 20, 2026
0a38ca2
Argument list
AndreasArvidsson Sep 21, 2026
0d91a5c
arguments
AndreasArvidsson Sep 21, 2026
2d52088
argument name type and value
AndreasArvidsson Sep 21, 2026
d50d371
Meta Updater
AndreasArvidsson Sep 21, 2026
aa88282
lambda and text fragment
AndreasArvidsson Sep 21, 2026
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ node_modules/
*.vsix
.DS_Store
.luacheckcache

# Neovim symlinks
/packages/app-neovim/cursorless.nvim/node/cursorless-neovim
/packages/app-neovim/cursorless.nvim/node/test-runner
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ The following are internal scopes. They are not intended for user interaction or

<ScopeVisualizer fixtureName="scopes/scss/disqualifyDelimiter" />

##### Swift

<ScopeVisualizer fixtureName="scopes/swift/disqualifyDelimiter" />

##### TypeScript

<ScopeVisualizer fixtureName="scopes/typescript.core/disqualifyDelimiter" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,133 @@
}
]
},
{
"name": "scopes/swift/disqualifyDelimiter",
"languageId": "swift",
"facet": "disqualifyDelimiter",
"code": "1 < 2\n1 > 2\n1 <= 2\n1 >= 2\na << 2\na >> 2\na <<= 2\na >>= 2\na &<< 2\na &>> 2\na &<<= 2\na &>>= 2\na <~ 2\na >~ 2\n0..<2\n..<2\nlet foo: () -> Int",
"scopes": [
{
"targets": [
{
"content": "0:2-0:3"
}
]
},
{
"targets": [
{
"content": "1:2-1:3"
}
]
},
{
"targets": [
{
"content": "2:2-2:4"
}
]
},
{
"targets": [
{
"content": "3:2-3:4"
}
]
},
{
"targets": [
{
"content": "4:2-4:4"
}
]
},
{
"targets": [
{
"content": "5:2-5:4"
}
]
},
{
"targets": [
{
"content": "6:2-6:5"
}
]
},
{
"targets": [
{
"content": "7:2-7:5"
}
]
},
{
"targets": [
{
"content": "8:2-8:5"
}
]
},
{
"targets": [
{
"content": "9:2-9:5"
}
]
},
{
"targets": [
{
"content": "10:2-10:6"
}
]
},
{
"targets": [
{
"content": "11:2-11:6"
}
]
},
{
"targets": [
{
"content": "12:2-12:4"
}
]
},
{
"targets": [
{
"content": "13:2-13:4"
}
]
},
{
"targets": [
{
"content": "14:1-14:4"
}
]
},
{
"targets": [
{
"content": "15:0-15:3"
}
]
},
{
"targets": [
{
"content": "16:12-16:14"
}
]
}
]
},
{
"name": "scopes/typescript.core/disqualifyDelimiter",
"languageId": "typescript.core",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,57 @@
}
]
},
{
"name": "scopes/swift/string.multiLine",
"languageId": "swift",
"facet": "string.multiLine",
"code": "\"\"\"\nHello\nworld\n\"\"\"",
"scopes": [
{
"targets": [
{
"content": "0:0-3:3",
"removal": "0:0-3:3"
}
],
"domain": "0:0-3:3"
}
]
},
{
"name": "scopes/swift/string.singleLine",
"languageId": "swift",
"facet": "string.singleLine",
"code": "\"Hello world\"",
"scopes": [
{
"targets": [
{
"content": "0:0-0:13",
"removal": "0:0-0:13"
}
],
"domain": "0:0-0:13"
}
]
},
{
"name": "scopes/swift/string.singleLine2",
"languageId": "swift",
"facet": "string.singleLine",
"code": "#\"Hello world\"#",
"scopes": [
{
"targets": [
{
"content": "0:0-0:15",
"removal": "0:0-0:15"
}
],
"domain": "0:0-0:15"
}
]
},
{
"name": "scopes/talon/string.singleLine",
"languageId": "talon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,125 @@
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.comment.block",
"languageId": "swift",
"facet": "textFragment.comment.block",
"code": "/* Hello world */",
"scopes": [
{
"targets": [
{
"content": "0:0-0:17",
"removal": "0:0-0:17"
}
],
"domain": "0:0-0:17"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.comment.line",
"languageId": "swift",
"facet": "textFragment.comment.line",
"code": "// Hello world",
"scopes": [
{
"targets": [
{
"content": "0:0-0:14",
"removal": "0:0-0:14"
}
],
"domain": "0:0-0:14"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.regularExpression",
"languageId": "swift",
"facet": "textFragment.regularExpression",
"code": "/\\d+$/",
"scopes": [
{
"targets": [
{
"content": "0:1-0:5",
"removal": "0:1-0:5"
}
],
"domain": "0:1-0:5"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.string.multiLine",
"languageId": "swift",
"facet": "textFragment.string.multiLine",
"code": "\"\"\"\nHello\nworld\n\"\"\"",
"scopes": [
{
"targets": [
{
"content": "0:3-3:0",
"removal": "0:3-3:0"
}
],
"domain": "0:3-3:0"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.string.singleLine",
"languageId": "swift",
"facet": "textFragment.string.singleLine",
"code": "\"Hello world\"",
"scopes": [
{
"targets": [
{
"content": "0:1-0:12",
"removal": "0:1-0:12"
}
],
"domain": "0:1-0:12"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.string.singleLine2",
"languageId": "swift",
"facet": "textFragment.string.singleLine",
"code": "#\"Hello world\"#",
"scopes": [
{
"targets": [
{
"content": "0:2-0:13",
"removal": "0:2-0:13"
}
],
"domain": "0:2-0:13"
}
]
},
{
"name": "scopes/swift/textFragment/textFragment.string.singleLine3",
"languageId": "swift",
"facet": "textFragment.string.singleLine",
"code": "###\"Hello world\"###",
"scopes": [
{
"targets": [
{
"content": "0:4-0:15",
"removal": "0:4-0:15"
}
],
"domain": "0:4-0:15"
}
]
},
{
"name": "scopes/talon/textFragment.comment.line",
"languageId": "talon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ The following are internal scopes. They are not intended for user interaction or

<ScopeVisualizer fixtureName="scopes/shellscript/string.multiLine" />

##### Swift

<ScopeVisualizer fixtureName="scopes/swift/string.multiLine" />

##### YAML

<ScopeVisualizer fixtureName="scopes/yaml/string.multiLine" />
Expand Down Expand Up @@ -185,6 +189,12 @@ The following are internal scopes. They are not intended for user interaction or

<ScopeVisualizer fixtureName="scopes/shellscript/string.singleLine" />

##### Swift

<ScopeVisualizer fixtureName="scopes/swift/string.singleLine" />

<ScopeVisualizer fixtureName="scopes/swift/string.singleLine2" />

##### Talon list

<ScopeVisualizer fixtureName="scopes/talon-list/string.singleLine" />
Expand Down
Loading
Loading