Skip to content

Commit e7cb0a7

Browse files
authored
Merge pull request #11698 from microsoft/main
Merge for 1.18.5
2 parents 4ba260c + b6f48cd commit e7cb0a7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Extension/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# C/C++ for Visual Studio Code Changelog
22

3+
## Version 1.18.5: November 16, 2023
4+
### Bug Fix
5+
* Fix `~/vscode-cpptools` being used as the cache folder instead of `~/.cache/vscode-cpptools` on Linux. [#11693](https://github.com/microsoft/vscode-cpptools/issues/11693)
6+
37
## Version 1.18.4: November 14, 2023
48
### Bug Fixes:
59
* Fix 'Extract to function' not scrolling to and selecting the added header declaration. [#11676](https://github.com/microsoft/vscode-cpptools/issues/11676)

Extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cpptools",
33
"displayName": "C/C++",
44
"description": "C/C++ IntelliSense, debugging, and code browsing.",
5-
"version": "1.18.4-main",
5+
"version": "1.18.5-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",

Extension/src/common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ export function getCacheStoragePath(): string {
13181318
defaultCachePath = "vscode-cpptools/";
13191319
pathEnvironmentVariable = process.env.XDG_CACHE_HOME;
13201320
if (!pathEnvironmentVariable) {
1321-
pathEnvironmentVariable = os.homedir();
1321+
pathEnvironmentVariable = path.join(os.homedir(), ".cache");
13221322
}
13231323
break;
13241324
}

0 commit comments

Comments
 (0)