Skip to content

Commit

Permalink
Merge pull request #4 from vrognas/feature/language-server
Browse files Browse the repository at this point in the history
Feature/language server
  • Loading branch information
vrognas authored Oct 5, 2023
2 parents 527466a + f22022e commit 581fd94
Show file tree
Hide file tree
Showing 17 changed files with 1,686 additions and 491 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
out
node_modules
.DS_Store
*/out/
node_modules/
*.vsix
46 changes: 36 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,41 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
"version": "0.2.0",
"configurations": [
{
"name": "Client",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--folder-uri=${workspaceFolder}/test"
],
"outFiles": ["${workspaceFolder}/client/out/**/*.js"],
"preLaunchTask": {
"type": "npm",
"script": "vscode:prepublish"
},
},
{
"type": "node",
"request": "attach",
"name": "Server",
"port": 6009,
"restart": true,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/server/out/**/*.js"],
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
],
"skipFiles": ["<node_internals>/**"]
}
],
"compounds": [
{
"name": "Client + Server",
"configurations": ["Client", "Server"]
}
]
}
303 changes: 303 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "vscode-nmtran-client",
"version": "0.1.0",
"main": "out/extension.js",
"author": "Viktor Rognås",
"publisher": "vrognas",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vrognas/vscode-nmtran.git"
},
"engines": {
"vscode": "^1.80.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@vscode/test-electron": "^2.2.3"
}
}
Loading

0 comments on commit 581fd94

Please sign in to comment.