Skip to content

Commit fd274c9

Browse files
authored
Merge pull request #884 from micahscopes/language-server
Language server first pass
2 parents 1b7c7e9 + 0e31c89 commit fd274c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+7453
-19
lines changed

Diff for: .vscode/launch.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}/crates/language-server/editors/vscode",
10+
"${workspaceFolder}/crates/"
11+
],
12+
"name": "Launch Fe VSCode Extension",
13+
"outFiles": [
14+
"${workspaceFolder}/crates/language-server/editors/vscode/out/**/*.js"
15+
],
16+
"preLaunchTask": "compile-vscode-extension",
17+
"request": "launch",
18+
"type": "extensionHost",
19+
// we need to enable backtrace on the extension host
20+
"env": {
21+
"RUST_BACKTRACE": "1"
22+
}
23+
},
24+
]
25+
}

Diff for: .vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"editor.tabSize": 4,
3+
"rust-analyzer.linkedProjects": [
4+
"./crates/language-server/Cargo.toml"
5+
],
6+
}

Diff for: .vscode/tasks.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "compile-vscode-extension",
6+
"type": "shell",
7+
"command": "npm install && npm run compile",
8+
"options": {
9+
"cwd": "${workspaceFolder}/crates/language-server/editors/vscode"
10+
},
11+
"problemMatcher": []
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)