From ea391a3a173aaa8e56647a6f75b115750e0c57e6 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 16 Nov 2023 15:46:03 -0800 Subject: [PATCH 1/2] Fix default Linux cache path. (#11696) --- Extension/src/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/src/common.ts b/Extension/src/common.ts index ea540a47d3..21a8dbaee3 100644 --- a/Extension/src/common.ts +++ b/Extension/src/common.ts @@ -1318,7 +1318,7 @@ export function getCacheStoragePath(): string { defaultCachePath = "vscode-cpptools/"; pathEnvironmentVariable = process.env.XDG_CACHE_HOME; if (!pathEnvironmentVariable) { - pathEnvironmentVariable = os.homedir(); + pathEnvironmentVariable = path.join(os.homedir(), ".cache"); } break; } From b6f48cd1fe2bcba2748259a992de12416d8d624f Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Thu, 16 Nov 2023 16:39:31 -0800 Subject: [PATCH 2/2] Update changelog and version for 1.18.5 (#11697) --- Extension/CHANGELOG.md | 4 ++++ Extension/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 87d1855ebf..1e2e05134f 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,5 +1,9 @@ # C/C++ for Visual Studio Code Changelog +## Version 1.18.5: November 16, 2023 +### Bug Fix +* 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) + ## Version 1.18.4: November 14, 2023 ### Bug Fixes: * Fix 'Extract to function' not scrolling to and selecting the added header declaration. [#11676](https://github.com/microsoft/vscode-cpptools/issues/11676) diff --git a/Extension/package.json b/Extension/package.json index 2c6d5dd875..8f98048ed4 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.18.4-main", + "version": "1.18.5-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md",