diff --git a/external-crates/move/crates/move-analyzer/editors/code/package.json b/external-crates/move/crates/move-analyzer/editors/code/package.json index 976eb5edfcd..4a96ad5e301 100644 --- a/external-crates/move/crates/move-analyzer/editors/code/package.json +++ b/external-crates/move/crates/move-analyzer/editors/code/package.json @@ -159,7 +159,7 @@ }, "extensionDependencies": [ "damirka.move-syntax", - "iota.move-trace-debug" + "mysten.move-trace-debug" ], "dependencies": { "semver": "^7.6.2", diff --git a/external-crates/move/crates/move-analyzer/editors/code/tests/lsp.test.ts b/external-crates/move/crates/move-analyzer/editors/code/tests/lsp.test.ts index f824eb30d98..47db4f8f456 100644 --- a/external-crates/move/crates/move-analyzer/editors/code/tests/lsp.test.ts +++ b/external-crates/move/crates/move-analyzer/editors/code/tests/lsp.test.ts @@ -103,7 +103,7 @@ Mocha.suite('LSP', () => { assert.ok(hoverResult); assert.deepStrictEqual((hoverResult.contents as MarkupContent).value, // eslint-disable-next-line max-len - '```rust\nfun Symbols::M2::other_doc_struct(): Symbols::M3::OtherDocStruct\n```\n\nThis is a multiline docstring\n\nThis docstring has empty lines.\n\nIt uses the ** format instead of ///\n\n'); + '```rust\nfun Symbols::M2::other_doc_struct(): Symbols::M3::OtherDocStruct\n```\n\n This is a multiline docstring\n\n This docstring has empty lines.\n\n It uses the ** format instead of ///\n '); }); @@ -143,7 +143,7 @@ Mocha.suite('LSP', () => { assert.ok(hoverResult); assert.deepStrictEqual((hoverResult.contents as MarkupContent).value, // eslint-disable-next-line max-len - '```rust\nstruct Symbols::M3::OtherDocStruct has drop {\n\tsome_field: u64\n}\n```\nDocumented struct in another module\n'); + '```rust\nstruct Symbols::M3::OtherDocStruct has drop {\n\tsome_field: u64\n}\n```\n Documented struct in another module'); }); Mocha.test('textDocument/completion', async () => { diff --git a/external-crates/move/crates/move-analyzer/editors/code/tests/runTests.ts b/external-crates/move/crates/move-analyzer/editors/code/tests/runTests.ts index a5a3c91bdbe..f814ee3cb7c 100644 --- a/external-crates/move/crates/move-analyzer/editors/code/tests/runTests.ts +++ b/external-crates/move/crates/move-analyzer/editors/code/tests/runTests.ts @@ -51,10 +51,21 @@ async function runVSCodeTest(vscodeVersion: string): Promise { const vscodeExecutablePath = await downloadAndUnzipVSCode(vscodeVersion); const [cli, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath); const newCli = cli ?? 'code'; - cp.spawnSync(newCli, [...args, '--install-extension', 'damirka.move-syntax', '--force'], { - encoding: 'utf-8', - stdio: 'inherit', - }); + cp.spawnSync( + newCli, + [ + ...args, + '--install-extension', + 'damirka.move-syntax', + '--install-extension', + 'mysten.move-trace-debug', + '--force', + ], + { + encoding: 'utf-8', + stdio: 'inherit', + }, + ); // Because the default vscode userDataDir is too long, // v1.69.2 will report an error when running test. @@ -78,7 +89,7 @@ async function runVSCodeTest(vscodeVersion: string): Promise { } async function main(): Promise { - await runVSCodeTest('1.82.0'); // Test with vscode v1.82.0, the minimal supported version + await runVSCodeTest('1.92.0'); // Test with vscode v1.92.0, the minimal supported version } void main();