Skip to content

Commit

Permalink
Revert #708 and #715, and release 0.1.31 (#724)
Browse files Browse the repository at this point in the history
This reverts commits 4f64ca7 (#715) and 0c2d40d (#708).
  • Loading branch information
HighCommander4 authored Nov 13, 2024
1 parent 0bf5af2 commit 0cda54a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 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.30",
"version": "0.1.31",
"publisher": "llvm-vs-code-extensions",
"license": "MIT",
"homepage": "https://clangd.llvm.org/",
Expand Down Expand Up @@ -397,4 +397,4 @@
]
}
}
}
}
6 changes: 2 additions & 4 deletions src/clangd-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@ export class ClangdContext implements vscode.Disposable {
return;

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

0 comments on commit 0cda54a

Please sign in to comment.