-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #884 from micahscopes/language-server
Language server first pass
- Loading branch information
Showing
51 changed files
with
7,453 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}/crates/language-server/editors/vscode", | ||
"${workspaceFolder}/crates/" | ||
], | ||
"name": "Launch Fe VSCode Extension", | ||
"outFiles": [ | ||
"${workspaceFolder}/crates/language-server/editors/vscode/out/**/*.js" | ||
], | ||
"preLaunchTask": "compile-vscode-extension", | ||
"request": "launch", | ||
"type": "extensionHost", | ||
// we need to enable backtrace on the extension host | ||
"env": { | ||
"RUST_BACKTRACE": "1" | ||
} | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": [] | ||
} | ||
] | ||
} |
Oops, something went wrong.