Skip to content
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

Fe v2 #840

Draft
wants to merge 704 commits into
base: master
Choose a base branch
from
Draft

Fe v2 #840

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
704 commits
Select commit Hold shift + click to select a range
8256a32
stream handlers for LSP functionality
micahscopes Mar 1, 2024
ff0567f
formatting and cleanup
micahscopes Mar 1, 2024
3b7711f
language server concurrency progress
micahscopes Mar 1, 2024
a46995d
no deadlocks
micahscopes Mar 1, 2024
1d5a9a8
no need for state locks!
micahscopes Mar 1, 2024
99858f7
goto, hover; prevent panic in LSP channel response
micahscopes Mar 5, 2024
6e91765
formatting
micahscopes Mar 5, 2024
f237a21
clippy
micahscopes Mar 5, 2024
567d66b
pull some LSP channel code out of proc macro for better debugging
micahscopes Mar 5, 2024
16235bc
avoid unnecessary manual spawns
micahscopes Mar 5, 2024
1bfa3ae
separate tokio runtime for stream handling
micahscopes Mar 6, 2024
88d8128
generated struct name customization
micahscopes Mar 6, 2024
722508e
lsp channel responder cleanup
micahscopes Mar 6, 2024
952d042
cleanup; remove unneeded lock
micahscopes Mar 6, 2024
b3e09d9
exclude language-server from wasm tests
micahscopes Mar 6, 2024
5eabca8
formatting
micahscopes Mar 6, 2024
654a943
separate workspace file methods by mutability
micahscopes Mar 8, 2024
c153e72
language server get rid of unnecessary mutable references
micahscopes Mar 8, 2024
4db4708
language server: even Arc/RwLock wrapped salsadb is not Send/Sync
micahscopes Mar 8, 2024
cc304d7
language server: reflock issues are due to salsa!
micahscopes Mar 8, 2024
e94e581
Revert "language server: reflock issues are due to salsa!"
micahscopes Mar 10, 2024
e04e852
Revert "language server: even Arc/RwLock wrapped salsadb is not Send/…
micahscopes Mar 10, 2024
93f8c5c
language server snapshot mechanism
micahscopes Mar 10, 2024
0c04004
multithreaded diagnostics
micahscopes Mar 11, 2024
c439d04
language server: use mpsc instead of broadcast channels
micahscopes Mar 11, 2024
961a261
language server: proc macro cleanup
micahscopes Mar 11, 2024
56ae023
language server buffer/release mechanism
micahscopes Mar 11, 2024
10731c2
buffer/release stream
micahscopes Mar 11, 2024
186c4bf
higher order stream buffer
micahscopes Mar 12, 2024
f7d8963
language server tweaks
micahscopes Mar 12, 2024
9e53474
use unbounded channels
micahscopes Mar 12, 2024
14a990a
Parser recovery rework
sbillig Dec 12, 2023
ff27aae
Better parser error message headers (ExpectedKind enum)
sbillig Mar 7, 2024
740b267
language server tower-lsp rewrite cleanup
micahscopes Mar 14, 2024
d1a34ef
workspace cleanup; fix panic
micahscopes Mar 19, 2024
c6f18bc
formatting
micahscopes Mar 19, 2024
cd986ce
remove unused stream modifier; rustfmt
micahscopes Mar 19, 2024
95c4368
language server: load fe std lib in language server
micahscopes Mar 19, 2024
ee85ce7
batched ingot-wide diagnostics; cleanup
micahscopes Mar 19, 2024
2e16197
test files for language server hover docs
micahscopes Mar 19, 2024
96e86f0
language server: use `tracing` and `tracing-subscriber`
micahscopes Mar 27, 2024
dd14d7b
temporarily suppress dead code warning
micahscopes Mar 27, 2024
b130adb
Remove `RecoveryMethod` in favor of an optional list of match tokens
sbillig Mar 27, 2024
d627cd1
langauge server channel macro docs
micahscopes Mar 28, 2024
f9f46dd
cleanup stream/backend organization
micahscopes Mar 28, 2024
152641d
more language server reorganization
micahscopes Mar 28, 2024
7c2c64e
vscode extension comment toggling, autoclose
micahscopes Mar 28, 2024
d258389
remove unused dependencies from language server
micahscopes Mar 28, 2024
de34f14
improved go-to and hover functionality
micahscopes Mar 28, 2024
cb64f04
fix hanging diagnostic workers
micahscopes Mar 28, 2024
7f0b3f9
no need for workspace lock
micahscopes Mar 28, 2024
7e2029a
cleanup hover/diagnostic handlers
micahscopes Mar 28, 2024
2ac40d6
cleanup language server database
micahscopes Mar 28, 2024
17272e2
Applied some suggestions from review
micahscopes Apr 1, 2024
8fb93fb
Apply suggestions from code review
micahscopes Apr 1, 2024
1a829c3
Integrate review suggestions
micahscopes Apr 1, 2024
7fd3342
Implement @y-nak's suggested goto improvements
micahscopes Apr 1, 2024
d3917cc
Fix build warning (unused field in def_analysis::DefKind::Impl)
sbillig Mar 28, 2024
e8ff942
Remove dead code
sbillig Apr 5, 2024
273ce09
Fix review nits
sbillig Apr 5, 2024
57335f1
Merge pull request #972 from sbillig/parser-recovery-rework
sbillig Apr 12, 2024
5a544d7
Add `bot` type
Y-Nak Jan 30, 2024
3d1f43b
Let unification table describe a reason for unification failure
Y-Nak Jan 31, 2024
a89f6d6
Add utility methods to `PathId`
Y-Nak Jan 31, 2024
cf53b29
Implement `TyCheckEnv`
Y-Nak Jan 31, 2024
e3049f4
ty_check: lit int
Y-Nak Jan 31, 2024
04589fa
Add uitest runner for ty check
Y-Nak Jan 31, 2024
55d4997
Escalate `String` to primitive type
Y-Nak Feb 1, 2024
e4159f9
ty_check: lit string
Y-Nak Feb 1, 2024
bca4ae9
ty_check: wildcard, rest, lit, tuple, or pattern
Y-Nak Feb 1, 2024
3efa864
Change early name path analysis to check paths in expr, pat and stmt
Y-Nak Feb 2, 2024
e831ea5
ty_check: simple path pat and let stmt
Y-Nak Feb 2, 2024
6a6625c
ty_check: make `expr` module to isolate logics for expression type ch…
Y-Nak Feb 13, 2024
981aacc
ty_check: path tuple pat
Y-Nak Feb 13, 2024
35971b3
ty_check: record pat
Y-Nak Feb 16, 2024
0dc3846
ty_check: `if` expr
Y-Nak Feb 16, 2024
0dc83a9
Refactor `PathResolver` to resolve paths in several contexts
Y-Nak Feb 17, 2024
7766ec8
Implement basic expr path resolution
Y-Nak Feb 17, 2024
a89cd72
Change function type param representation to include parent generic p…
Y-Nak Feb 19, 2024
ee9739c
ty_check: path expression and binding resolution
Y-Nak Feb 20, 2024
a2b833b
ty_check: record init expression
Y-Nak Feb 21, 2024
82330d6
Fix a bug in parsing record init with implicit label
Y-Nak Feb 22, 2024
dba029c
Add record field visibility check
Y-Nak Feb 22, 2024
6c3a553
ty_check: tuple expression
Y-Nak Feb 23, 2024
a30d794
Fix path resolution in pattern for shadowing to work properly
Y-Nak Feb 23, 2024
b4eb4e7
ty_check: array expression
Y-Nak Feb 23, 2024
cc961e8
ty_check: array repeat expression
Y-Nak Feb 23, 2024
aa3d611
Fix hir visitor bug in span conversion into path tuple pattern
Y-Nak Feb 25, 2024
5b54716
Fix early path resolver to handle paths starting with `Self` properly
Y-Nak Feb 25, 2024
0205e6a
Refine late path resolution by abstracting resolved types
Y-Nak Feb 25, 2024
180fa7b
ty_check: match expression
Y-Nak Feb 25, 2024
7aabc03
Remove unnecessary and fragile usage of unification table from constr…
Y-Nak Feb 26, 2024
1d74758
Add bot(never) type in type system, also add workaround in unificatio…
Y-Nak Feb 26, 2024
122fd48
ty_check: return expression
Y-Nak Feb 26, 2024
eb2cb3f
ty_check: field access expresssion
Y-Nak Feb 26, 2024
5168c5c
ty_check: index expression
Y-Nak Feb 27, 2024
4083284
ty_check: unary expression
Y-Nak Feb 27, 2024
a20bd29
ty_check: binary expression
Y-Nak Feb 27, 2024
b705b87
ty_check: Add a property to indicate mutability to `TypedExpr`
Y-Nak Feb 28, 2024
7125b7f
ty_check: assign and aug assign expression
Y-Nak Feb 28, 2024
5d2634b
ty_check: while statement
Y-Nak Feb 28, 2024
750f25a
ty_check: break and continue statement
Y-Nak Feb 29, 2024
dd78aca
ty_check: `for` statement
Y-Nak Feb 29, 2024
f3c2960
Bumpup `dir-test` version to 0.2
Y-Nak Mar 2, 2024
1bfc8ab
ty_check: function call
Y-Nak Mar 3, 2024
4c889a9
ty_check: Fix bug in type inference in match expr
Y-Nak Apr 6, 2024
935bd3f
Fix missing scope information for unnamed imports
Y-Nak Apr 6, 2024
a23a5e1
Enable to find all impls of a given type
Y-Nak Apr 6, 2024
e981b67
Add function to collect available traits in the given scope
Y-Nak Apr 7, 2024
e04cc5c
Rename `TyVarUniverse` to `TyVarSort`
Y-Nak Apr 8, 2024
c9b9864
Add `TypeFoldable/TypeFolder`
Y-Nak Apr 8, 2024
45661bc
Implement `TypeFolder` to `UnificationTable`
Y-Nak Apr 8, 2024
cd9f630
Add `TypeVisitable`
Y-Nak Apr 8, 2024
155b2d9
Implement `Binder`
Y-Nak Apr 8, 2024
33c5706
Cleanup `Implementor` by wrapping it by `Binder`
Y-Nak Apr 8, 2024
6faf898
Wrap up types by `Binder` more
Y-Nak Apr 9, 2024
57fa1ad
Cleanup trait impl method comparison
Y-Nak Apr 9, 2024
93835d7
Cleanup binder usage
Y-Nak Apr 10, 2024
bb3cbd8
Remove subst in favor of `TypeFoldable`
Y-Nak Apr 10, 2024
9a2bc1f
Remove unnecessary types
Y-Nak Apr 10, 2024
ba3a687
ty_check: inherent method call
Y-Nak Apr 11, 2024
3e58991
Fix missing visibility check in field access
Y-Nak Apr 12, 2024
217a636
Modify `FuncDef` definition to allow lowering an enum unit variant in…
Y-Nak Apr 14, 2024
a8e6d7b
Add lowering from tuple varaint to func def
Y-Nak Apr 14, 2024
bc2c9eb
Allow users to specify `!` type
Y-Nak Apr 14, 2024
6fff62d
Add tests for method call
Y-Nak Apr 14, 2024
a17cbf7
Fix meaningless type application in method call
Y-Nak Apr 15, 2024
ab82abb
Improve error message in method selection
Y-Nak Apr 15, 2024
ed92e70
ty_check: trait method call
Y-Nak Apr 15, 2024
b84ea9f
ty_check: bitnot op
Y-Nak Apr 15, 2024
ff41344
ty_check: static trait method
Y-Nak Apr 15, 2024
56876d4
ty_check: const
Y-Nak Apr 16, 2024
3df921f
Add check for foreign/non-nominal type in inherent impl
Y-Nak Apr 16, 2024
2340147
Fix missing instantiation in method selection
Y-Nak Apr 16, 2024
f12d7ca
Fix impl method stricter bound check so that it ignores parental assu…
Y-Nak Apr 16, 2024
8520097
Cleanup path resolution in body
Y-Nak Apr 16, 2024
dce3342
Resolve const generics as a term
Y-Nak Apr 17, 2024
e176aa9
Cleanup `ty_def` module
Y-Nak Apr 18, 2024
2a386dc
Add `TyFlags`
Y-Nak Apr 18, 2024
77f5c46
Improve error messages
Y-Nak Apr 18, 2024
d209e77
Improve representation of trait constraints
Y-Nak Apr 19, 2024
883fbf1
Handle unexpected missing self type in trait method check
Y-Nak Apr 19, 2024
cb2ae67
Allow missing `self` label
Y-Nak Apr 19, 2024
9857615
Stop visiting block internal items when finalizing type checking
Y-Nak Apr 20, 2024
68fff89
Fix missing instantiation in method selection
Y-Nak Apr 20, 2024
75ccd06
Fix missing string type variable fallback
Y-Nak Apr 20, 2024
524efd9
Update old tests
Y-Nak Apr 20, 2024
c399d68
Add more tests
Y-Nak Apr 20, 2024
7252aaf
Canonicalize more
Y-Nak Apr 21, 2024
c80b36e
Fix a bug in constraitns collection when `Self` appears in where clau…
Y-Nak Apr 23, 2024
2fca91c
Fix incorrect instantiation in constraint solving (#998)
Y-Nak Apr 25, 2024
732e88c
Fix label assertion bug
Y-Nak Apr 25, 2024
4a18de0
Merge pull request #999 from Y-Nak/fix-incorrect-label
g-r-a-n-t Apr 25, 2024
851f25e
Fix missing instantiation in `impls_of_ty` function
Y-Nak May 2, 2024
e399d92
Make clippy happy
Y-Nak May 2, 2024
6b13659
Merge pull request #1001 from Y-Nak/fix-trait-method-selection
sbillig May 3, 2024
52c864c
Add devcontainer.json, for development in Docker and Github Codespace…
May 4, 2024
5f9086d
Merge branch 'master' into fe-v2
sbillig May 4, 2024
106a319
Merge pull request #1005 from sbillig/mergeroo
Y-Nak May 6, 2024
cc6e938
gh ci: enable rust backtrace; only deny warnings on the lint job (#1006)
sbillig May 6, 2024
65ef137
Add `Canonicalized<T>` and `Solution<T>`
Y-Nak May 13, 2024
854d789
Add `PersistentUnificationTable`
Y-Nak May 13, 2024
9705246
Tabled trait resolution
Y-Nak May 13, 2024
73717ff
Refactor module structure
Y-Nak May 14, 2024
d52c3a3
Fix broken link
Y-Nak May 14, 2024
5bac0d4
Introduce confirmation concept for method selection
Y-Nak May 14, 2024
a9abd65
Improve wf error message by displaying an unsatisfied subgoal together
Y-Nak May 15, 2024
bc233f7
Add test for lazy method confirmation
Y-Nak May 15, 2024
15191a3
Doc work
Y-Nak May 15, 2024
53b15e5
Tweak trait import rule so that users don't need to import trait to u…
Y-Nak May 16, 2024
da86b34
Update `dir-test` version to `0.3`
Y-Nak May 17, 2024
5b405ad
Merge pull request #1007 from Y-Nak/tabled-trait-resolution
sbillig May 22, 2024
e2aac12
add usize and isize primitive types
lana-shanghai May 31, 2024
79bab76
address nits
lana-shanghai Jun 10, 2024
96acdc4
leave keywords defs in capital letters
lana-shanghai Jun 10, 2024
5f36438
Merge pull request #1012 from lana-shanghai/feat/add_usize_isize_types
Y-Nak Jun 10, 2024
5b13ab6
Probe type variable deeply
Y-Nak Jun 10, 2024
73af776
Define upper bound on the type depth to enusre termination in trait s…
Y-Nak Jun 10, 2024
1c3d94b
Exclude `certik.com` from linkcheck
Y-Nak Jun 10, 2024
9bf3943
Prioritize consumer nodes that are closer to the original goal in the…
Y-Nak Jun 19, 2024
6360a30
Make clippy happy
Y-Nak Jun 19, 2024
c9a55c2
Merge pull request #1014 from Y-Nak/ensure-termination-in-trait-solving
sbillig Jun 19, 2024
1113942
[hir] Update type representation for salsa 3.0
Y-Nak Jun 26, 2024
f8d8f88
[name-resolution] Update type representation for salsa 3.0
Y-Nak Jun 26, 2024
862972d
[ty] Update type representation for salsa 3.0
Y-Nak Jun 26, 2024
95b8ed2
[name-resolution] Remove accumulators
Y-Nak Jun 27, 2024
eda5af3
[ty] Remove accumulators
Y-Nak Jun 27, 2024
dd66c37
Replace `salsa::FromId` with `salsa::LookupId`
Y-Nak Jun 28, 2024
fa20327
Update tests for salsa 3.0
Y-Nak Jun 28, 2024
e9f46ea
Make clippy happy
Y-Nak Jun 28, 2024
776b53f
Add thin wrappers for `IndexMap`/`IndexSet` to implement `salsa::Update`
Y-Nak Jun 28, 2024
0f589f6
Replace `BTreeMap/BTreeSet` with `IndexMap/IndexSet`
Y-Nak Jun 29, 2024
ef81c76
Fix duplicated error report in alias cycle
Y-Nak Jun 29, 2024
904dccc
Modify scope graph DFS traversal order
Y-Nak Jun 29, 2024
dce1e09
Exclude language-server from the workspace temporarily
Y-Nak Jun 29, 2024
28fe40c
Remove fe-macros
Y-Nak Jun 29, 2024
bd7343c
Merge pull request #1015 from Y-Nak/update-salsa
sbillig Jul 4, 2024
ecd8c22
Initial work moving to async-lsp
micahscopes Jun 28, 2024
afe6fd5
add actor dispatcher abstraction
micahscopes Jul 28, 2024
1d26d51
parameterize actor dispatcher type
micahscopes Jul 28, 2024
5711d01
Decouple `Actor`, `ActorRef` and `Dispatcher`
micahscopes Jul 30, 2024
d22a7da
compiling
micahscopes Jul 30, 2024
03e7938
State of the code during Jul. 30 weekly meeting
micahscopes Jul 30, 2024
ac2b8f8
Fix missing occurence check
Y-Nak Sep 17, 2024
7e9d00d
Make clippy happy
Y-Nak Sep 17, 2024
da8aed3
Merge pull request #1019 from Y-Nak/missing-occurence-check
Y-Nak Sep 18, 2024
ace2107
compiling, still not initializing
micahscopes Sep 18, 2024
9385c1d
clippy/rustfmt
micahscopes Sep 18, 2024
e00636f
getting closer
micahscopes Sep 18, 2024
b4b8556
graceful lsp fallback for error handling
micahscopes Sep 20, 2024
6607268
error handling improvements
micahscopes Sep 21, 2024
bee08d9
further debugging...
micahscopes Sep 23, 2024
a8ad476
add TCP support
micahscopes Sep 24, 2024
9d5109c
use async-std's stdio
micahscopes Sep 24, 2024
69839da
attempts to fix LSP logging
micahscopes Sep 24, 2024
28fd8c6
multithreaded/multi-client tracing proof of concept
micahscopes Sep 30, 2024
0bcef56
LSP actor thread names in logger
micahscopes Oct 1, 2024
8e856a4
use generic actor message keys
micahscopes Oct 10, 2024
f798fae
hooking up functionality again
micahscopes Oct 15, 2024
24cf4b0
hook up LSP diagnostics
micahscopes Oct 15, 2024
e9f68f2
get rid of warnings / rustfmt / clippy
micahscopes Oct 15, 2024
aee7bb7
salsa upgrade for LSP server
micahscopes Oct 15, 2024
47b0c54
cleanup and LSP event `CanHandle`
micahscopes Oct 15, 2024
90574ee
language server organization
micahscopes Oct 15, 2024
a7ac89c
simplify LSP setup
micahscopes Oct 15, 2024
4484871
Support for non-mutating LSP handlers
micahscopes Oct 16, 2024
8054189
non-mutable diagnostics handler
micahscopes Nov 26, 2024
fddc3c3
use language server via TCP
micahscopes Nov 26, 2024
14edc09
LSP server timeout to shutdown unused server instances
micahscopes Nov 26, 2024
08f7efe
Compute diagnostics using a worker per ingot
micahscopes Nov 26, 2024
1c0d211
appease clippy
micahscopes Nov 26, 2024
a8a3c24
use published actor lib for LSP server
micahscopes Nov 26, 2024
942ec59
rely less on async-lsp changes
micahscopes Nov 29, 2024
2e8f575
Running tests, iterating on actor module
micahscopes Jul 27, 2024
764d45a
actor is passing basic smoke test
micahscopes Jul 27, 2024
502fc6a
update progress log, roadmap
micahscopes Nov 30, 2024
d6efd9a
remove extra changes
micahscopes Nov 30, 2024
b116b92
appease clippy
micahscopes Nov 30, 2024
d400186
more fixes for clippy
micahscopes Nov 30, 2024
fa36151
clippy and compiler were fighting over these lines
micahscopes Nov 30, 2024
eef4e1a
remove unused dependencies, use different TCP listener library
micahscopes Nov 30, 2024
0df34a4
Merge branch 'fix-lifetime-elision-lint' into language-server-async
micahscopes Nov 30, 2024
0b6a311
fix lsp actor test
micahscopes Nov 30, 2024
fcf416e
fix lsp `WithFallback` service
micahscopes Nov 30, 2024
6767314
Appease clippy's new rules (#1023)
micahscopes Dec 2, 2024
cee478f
Merge pull request #1022 from micahscopes/language-server-async
sbillig Dec 2, 2024
797b907
additional LSP diagnostics + fixups
micahscopes Dec 17, 2024
065ee22
catch unhandled LSP notifications and events
micahscopes Dec 18, 2024
89c9961
Fix LSP server stdio mode (#1025)
micahscopes Dec 24, 2024
bbef0ed
Merge pull request #1024 from micahscopes/additional-lsp-diagnostics
sbillig Dec 24, 2024
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
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "fe-lang-v2",
"image": "mcr.microsoft.com/devcontainers/rust:latest",
"features": {
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
},
"extensions": [
"GitHub.vscode-github-actions",
"ms-vsliveshare.vsliveshare",
"vadimcn.vscode-lldb",
"matklad.rust-analyzer",
"serayuzgur.crates",
"tamasfe.even-better-toml",
"usernamehw.errorlens",
"aaron-bond.better-comments",
"yzhang.markdown-all-in-one"
],
"settings": {
"explorer.compactFolders": false,
"editor.rulers": [
80
],
"workbench.colorTheme": "Default Dark+",
"workbench.preferredDarkColorTheme": "Monokai",
"workbench.colorCustomizations": {
"editorRuler.foreground": "#5f5f62"
},
"workbench.activityBar.location": "top"
}
}
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ on:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-D warnings"
RUST_BACKTRACE: full

jobs:
lint:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
Expand Down Expand Up @@ -102,7 +104,7 @@ jobs:
# wasm-pack needs a Cargo.toml with a 'package' field.
# (see https://github.com/rustwasm/wasm-pack/issues/642)
# This will still run all tests in the workspace.
run: wasm-pack test --node crates/fe --workspace
run: wasm-pack test --node crates/fe --workspace --exclude fe-language-server

release:
# Only run this when we push a tag
Expand Down
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/crates/language-server/editors/vscode",
"${workspaceFolder}/crates/",
"--disable-extensions"
],
"name": "Launch Fe VSCode Extension",
"outFiles": [
"${workspaceFolder}/crates/language-server/editors/vscode/out/**/*.js"
],
"preLaunchTask": "compile-vscode-extension",
"request": "launch",
"type": "extensionHost",
"env": {
"RUST_BACKTRACE": "full",
"NODE_ENV": "development"
}
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.tabSize": 4,
"rust-analyzer.linkedProjects": [
"./crates/language-server/Cargo.toml"
],
}
14 changes: 14 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "compile-vscode-extension",
"type": "shell",
"command": "npm install && npm run compile",
"options": {
"cwd": "${workspaceFolder}/crates/language-server/editors/vscode"
},
"problemMatcher": []
}
]
}
Loading
Loading