diff --git a/.gitignore b/.gitignore index 32559d2..534d96a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,4 @@ target/ tests_rtl log_files -test.txt - -.vscode/ \ No newline at end of file +test.txt \ No newline at end of file diff --git a/test/client/.vscode/extensions.json b/test/client/.vscode/extensions.json new file mode 100644 index 0000000..af51550 --- /dev/null +++ b/test/client/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "dbaeumer.vscode-eslint" + ] +} \ No newline at end of file diff --git a/test/client/.vscode/launch.json b/test/client/.vscode/launch.json new file mode 100644 index 0000000..3de48c5 --- /dev/null +++ b/test/client/.vscode/launch.json @@ -0,0 +1,18 @@ +// A launch configuration that compiles the extension and then opens it inside a new window +{ + "version": "0.2.0", + "configurations": [ + { + "type": "extensionHost", + "request": "launch", + "name": "Launch Client", + "runtimeExecutable": "${execPath}", + "args": ["--extensionDevelopmentPath=${workspaceRoot}"], + "outFiles": ["${workspaceRoot}/out/**/*.js"], + "preLaunchTask": { + "type": "npm", + "script": "watch" + } + } + ], +} diff --git a/test/client/.vscode/settings.json b/test/client/.vscode/settings.json new file mode 100644 index 0000000..88a5b9f --- /dev/null +++ b/test/client/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "editor.insertSpaces": false, + "tslint.enable": true, + "typescript.tsc.autoDetect": "off", + "typescript.preferences.quoteStyle": "single", + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + } +} \ No newline at end of file diff --git a/test/client/.vscode/tasks.json b/test/client/.vscode/tasks.json new file mode 100644 index 0000000..5efd804 --- /dev/null +++ b/test/client/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "compile", + "group": "build", + "presentation": { + "panel": "dedicated", + "reveal": "never" + }, + "problemMatcher": [ + "$tsc" + ] + }, + { + "type": "npm", + "script": "watch", + "isBackground": true, + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "panel": "dedicated", + "reveal": "never" + }, + "problemMatcher": [ + "$tsc-watch" + ] + } + ] +} \ No newline at end of file diff --git a/test/client/package.json b/test/client/package.json index b3a18fe..8801caa 100644 --- a/test/client/package.json +++ b/test/client/package.json @@ -16,7 +16,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/vivekmalneedi/veridian" + "url": "https://github.com/Digital-EDA/digital-lsp-server" }, "activationEvents": [ "onLanguage:systemverilog", diff --git a/test/client/src/extension.ts b/test/client/src/extension.ts index 972abe7..a51fff3 100644 --- a/test/client/src/extension.ts +++ b/test/client/src/extension.ts @@ -37,8 +37,8 @@ export function activate(context: ExtensionContext) { // Create the language client and start the client. client = new LanguageClient( - "veridian", - "veridian", + "Digital LSP", + "Digital LSP", serverOptions, clientOptions );