diff --git a/Cargo.lock b/Cargo.lock index b81685f..b276103 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,6 +211,30 @@ dependencies = [ "parking_lot_core", ] +[[package]] +name = "digital-lsp" +version = "0.0.1" +dependencies = [ + "anyhow", + "flexi_logger", + "log", + "path-clean", + "pathdiff", + "regex", + "ropey", + "serde", + "serde_yaml", + "structopt", + "strum", + "strum_macros", + "sv-parser", + "tempdir", + "tokio", + "tower-lsp", + "walkdir", + "which", +] + [[package]] name = "either" version = "1.9.0" @@ -1418,30 +1442,6 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" -[[package]] -name = "veridian" -version = "0.1.0" -dependencies = [ - "anyhow", - "flexi_logger", - "log", - "path-clean", - "pathdiff", - "regex", - "ropey", - "serde", - "serde_yaml", - "structopt", - "strum", - "strum_macros", - "sv-parser", - "tempdir", - "tokio", - "tower-lsp", - "walkdir", - "which", -] - [[package]] name = "version_check" version = "0.9.4" diff --git a/Cargo.toml b/Cargo.toml index a3084f2..7dab47c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "veridian" -version = "0.1.0" -authors = ["Vivek Malneedi "] +name = "digital-lsp" +version = "0.0.1" +authors = ["LSTM-Kirigaya <1193466151@qq.com>"] edition = "2018" [dependencies] diff --git a/test/client/src/.gitignore b/test/client/.gitignore similarity index 100% rename from test/client/src/.gitignore rename to test/client/.gitignore diff --git a/test/client/src/.vscodeignore b/test/client/.vscodeignore similarity index 100% rename from test/client/src/.vscodeignore rename to test/client/.vscodeignore diff --git a/test/client/src/README.md b/test/client/README.md similarity index 100% rename from test/client/src/README.md rename to test/client/README.md diff --git a/test/client/src/package-lock.json b/test/client/package-lock.json similarity index 99% rename from test/client/src/package-lock.json rename to test/client/package-lock.json index e1fa1d1..e9ec7dd 100644 --- a/test/client/src/package-lock.json +++ b/test/client/package-lock.json @@ -14,7 +14,7 @@ "devDependencies": { "@types/mocha": "^8.2.2", "@types/node": "^15.12.1", - "@types/vscode": "1.56.0", + "@types/vscode": "^1.56.0", "@typescript-eslint/parser": "^4.26.0", "eslint": "^7.28.0", "mocha": "^8.4.0", @@ -22,7 +22,7 @@ "vscode-test": "^1.5.2" }, "engines": { - "vscode": "^1.52.0" + "vscode": "^1.56.0" } }, "node_modules/@babel/code-frame": { diff --git a/test/client/src/package.json b/test/client/package.json similarity index 100% rename from test/client/src/package.json rename to test/client/package.json diff --git a/test/client/src/extension.ts b/test/client/src/extension.ts index 098f125..972abe7 100644 --- a/test/client/src/extension.ts +++ b/test/client/src/extension.ts @@ -15,11 +15,10 @@ import { let client: LanguageClient; const workSpaceFolder = workspace.workspaceFolders?.[0]; let cwd: string = workSpaceFolder.uri.fsPath; -const serverPath: string = workspace.getConfiguration().get("veridian.serverPath"); export function activate(context: ExtensionContext) { const run: Executable = { - command: serverPath, + command: context.asAbsolutePath('target/debug/digital-lsp.exe'), // options: { cwd }, }; diff --git a/test/client/src/tsconfig.json b/test/client/tsconfig.json similarity index 100% rename from test/client/src/tsconfig.json rename to test/client/tsconfig.json