Skip to content

Commit

Permalink
Revert "Revert clangd#708 and clangd#715, and release 0.1.31 (clangd#724
Browse files Browse the repository at this point in the history
)"

This reverts commit 0cda54a.
  • Loading branch information
Jeroen Van Antwerpen authored and Jeroen Van Antwerpen committed Nov 15, 2024
1 parent 0cda54a commit 5a0a823
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
5 changes: 0 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Change Log

## Version 0.1.31: November 13, 2024

* 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)


## Version 0.1.30: November 13, 2024

* Added option to disable hovers [#703](https://github.com/clangd/vscode-clangd/pull/703)
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-clangd",
"displayName": "clangd",
"description": "C/C++ completion, navigation, and insights",
"version": "0.1.31",
"version": "0.1.30",
"publisher": "llvm-vs-code-extensions",
"license": "MIT",
"homepage": "https://clangd.llvm.org/",
Expand Down Expand Up @@ -397,4 +397,4 @@
]
}
}
}
}
6 changes: 4 additions & 2 deletions src/clangd-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ export class ClangdContext implements vscode.Disposable {
return;

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

0 comments on commit 5a0a823

Please sign in to comment.