Skip to content

Commit 0cda54a

Browse files
Revert #708 and #715, and release 0.1.31 (#724)
This reverts commits 4f64ca7 (#715) and 0c2d40d (#708).
1 parent 0bf5af2 commit 0cda54a

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## Version 0.1.31: November 13, 2024
4+
5+
* Reverted [#708](https://github.com/clangd/vscode-clangd/pull/708) and [#715](https://github.com/clangd/vscode-clangd/pull/715) for causing [#722](https://github.com/clangd/vscode-clangd/issues/722)
6+
7+
38
## Version 0.1.30: November 13, 2024
49

510
* Added option to disable hovers [#703](https://github.com/clangd/vscode-clangd/pull/703)

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-clangd",
33
"displayName": "clangd",
44
"description": "C/C++ completion, navigation, and insights",
5-
"version": "0.1.30",
5+
"version": "0.1.31",
66
"publisher": "llvm-vs-code-extensions",
77
"license": "MIT",
88
"homepage": "https://clangd.llvm.org/",
@@ -397,4 +397,4 @@
397397
]
398398
}
399399
}
400-
}
400+
}

src/clangd-context.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,9 @@ export class ClangdContext implements vscode.Disposable {
6767
return;
6868

6969
const clangd: vscodelc.Executable = {
70-
// Quote the path. With `shell: true`, this is needed
71-
// in case the path contains spaces.
72-
command: `"${clangdPath}"`,
70+
command: clangdPath,
7371
args: await config.get<string[]>('arguments'),
74-
options: {cwd: vscode.workspace.rootPath || process.cwd(), shell: true}
72+
options: {cwd: vscode.workspace.rootPath || process.cwd()}
7573
};
7674
const traceFile = config.get<string>('trace');
7775
if (!!traceFile) {

0 commit comments

Comments
 (0)