Skip to content

Commit

Permalink
Merge pull request #884 from micahscopes/language-server
Browse files Browse the repository at this point in the history
Language server first pass
  • Loading branch information
sbillig authored Jan 29, 2024
2 parents 1b7c7e9 + 0e31c89 commit fd274c9
Show file tree
Hide file tree
Showing 51 changed files with 7,453 additions and 19 deletions.
25 changes: 25 additions & 0 deletions .vscode/launch.json
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"
}
},
]
}
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

0 comments on commit fd274c9

Please sign in to comment.