Skip to content

Commit d914485

Browse files
authored
lsp: add expand selection support (#674)
Using rust-analyzer's implementation with some minor tweaks
1 parent 1a71748 commit d914485

File tree

13 files changed

+906
-221
lines changed

13 files changed

+906
-221
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
6060
# local
6161
# we have to make the versions explicit otherwise `cargo publish` won't work
6262
squawk-github = { path = "./crates/squawk_github", version = "2.27.0" }
63+
squawk-ide = { path = "./crates/squawk_ide", version = "2.27.0" }
6364
squawk-lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
6465
squawk-parser = { path = "./crates/squawk_parser", version = "2.27.0" }
6566
squawk-syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }

crates/squawk_ide/Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "squawk-ide"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
9+
[dependencies]
10+
squawk-syntax.workspace = true
11+
rowan.workspace = true
12+
line-index.workspace = true
13+
annotate-snippets.workspace = true
14+
log.workspace = true
15+
16+
[dev-dependencies]
17+
insta.workspace = true
18+
19+
[lints]
20+
workspace = true

0 commit comments

Comments
 (0)