Skip to content

Commit f63c365

Browse files
authored
Merge pull request #12654 from microsoft/main
Merge for 1.22.1
2 parents 5d62607 + f222a97 commit f63c365

File tree

4 files changed

+41
-27
lines changed

4 files changed

+41
-27
lines changed

Extension/CHANGELOG.md

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

3+
## Version 1.22.1: August 29, 2024
4+
### Enhancement
5+
* Add "Additional Tracked Settings" to `C/C++: Log Diagnostics` output. [PR #12635](https://github.com/microsoft/vscode-cpptools/pull/12635)
6+
7+
### Bug Fixes
8+
* Fix hover over static constexpr variables sometimes not working. [#12284](https://github.com/microsoft/vscode-cpptools/issues/12284)
9+
* Fix completion not giving results in several scenarios. [#12412](https://github.com/microsoft/vscode-cpptools/issues/12412)
10+
* Fix include completion showing results for deleted folders with recursive includes. [#12636](https://github.com/microsoft/vscode-cpptools/issues/12636)
11+
* Fix the `/FU` flag not working for C++/CLI . [#12641](https://github.com/microsoft/vscode-cpptools/issues/12641)
12+
* Fix some crashes with recursive includes. [#12643](https://github.com/microsoft/vscode-cpptools/issues/12643)
13+
* Fix IntelliSense not working on Windows when `C_Cpp.caseSensitiveFileSupport` is `enabled`. [#12648](https://github.com/microsoft/vscode-cpptools/issues/12648)
14+
* Changes that might fix a crash with `translate_encoding_to_utf8`. [#12652](https://github.com/microsoft/vscode-cpptools/issues/12652)
15+
* Fix a random crash during IntelliSense creation.
16+
317
## Version 1.22.0: August 26, 2024
418
### Performance Improvements
519
* Switch to an alternative implementation of recursive includes (that sends all the paths instead of only the "used" paths). [#11780](https://github.com/microsoft/vscode-cpptools/issues/11780)

Extension/package.json

+2-2
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.22.0-main",
5+
"version": "1.22.1-main",
66
"publisher": "ms-vscode",
77
"icon": "LanguageCCPP_color_128x.png",
88
"readme": "README.md",
@@ -6526,7 +6526,7 @@
65266526
"ts-node": "^10.9.2",
65276527
"typescript": "^5.4.5",
65286528
"vscode-nls-dev": "^4.0.4",
6529-
"webpack": "^5.91.0",
6529+
"webpack": "^5.94.0",
65306530
"webpack-cli": "^5.1.4",
65316531
"xml2js": "^0.6.2"
65326532
},

Extension/src/LanguageServer/client.ts

+17
Original file line numberDiff line numberDiff line change
@@ -1960,6 +1960,23 @@ export class DefaultClient implements Client {
19601960
configJson += `Modified Settings:\n${JSON.stringify(settings, null, 4)}\n`;
19611961
}
19621962

1963+
{
1964+
const editorSettings = new OtherSettings(this.RootUri);
1965+
const settings: Record<string, any> = {};
1966+
settings.editorTabSize = editorSettings.editorTabSize;
1967+
settings.editorInsertSpaces = editorSettings.editorInsertSpaces;
1968+
settings.editorAutoClosingBrackets = editorSettings.editorAutoClosingBrackets;
1969+
settings.filesEncoding = editorSettings.filesEncoding;
1970+
settings.filesAssociations = editorSettings.filesAssociations;
1971+
settings.filesExclude = editorSettings.filesExclude;
1972+
settings.filesAutoSaveAfterDelay = editorSettings.filesAutoSaveAfterDelay;
1973+
settings.editorInlayHintsEnabled = editorSettings.editorInlayHintsEnabled;
1974+
settings.editorParameterHintsEnabled = editorSettings.editorParameterHintsEnabled;
1975+
settings.searchExclude = editorSettings.searchExclude;
1976+
settings.workbenchSettingsEditor = editorSettings.workbenchSettingsEditor;
1977+
configJson += `Additional Tracked Settings:\n${JSON.stringify(settings, null, 4)}\n`;
1978+
}
1979+
19631980
// Get diagnostics for configuration provider info.
19641981
let configurationLoggingStr: string = "";
19651982
const tuSearchStart: number = response.diagnostics.indexOf("Translation Unit Mappings:");

Extension/yarn.lock

+8-25
Original file line numberDiff line numberDiff line change
@@ -387,23 +387,7 @@
387387
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
388388
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
389389

390-
"@types/eslint-scope@^3.7.3":
391-
version "3.7.7"
392-
resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5"
393-
integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==
394-
dependencies:
395-
"@types/eslint" "*"
396-
"@types/estree" "*"
397-
398-
"@types/eslint@*":
399-
version "9.6.0"
400-
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-9.6.0.tgz#51d4fe4d0316da9e9f2c80884f2c20ed5fb022ff"
401-
integrity sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==
402-
dependencies:
403-
"@types/estree" "*"
404-
"@types/json-schema" "*"
405-
406-
"@types/estree@*", "@types/estree@^1.0.5":
390+
"@types/estree@^1.0.5":
407391
version "1.0.5"
408392
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4"
409393
integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==
@@ -416,7 +400,7 @@
416400
"@types/minimatch" "*"
417401
"@types/node" "*"
418402

419-
"@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.8":
403+
"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.8":
420404
version "7.0.15"
421405
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
422406
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
@@ -1608,7 +1592,7 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.4:
16081592
dependencies:
16091593
once "^1.4.0"
16101594

1611-
enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.0:
1595+
enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1:
16121596
version "5.17.1"
16131597
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15"
16141598
integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==
@@ -4843,12 +4827,11 @@ webpack-sources@^3.2.3:
48434827
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"
48444828
integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==
48454829

4846-
webpack@^5.91.0:
4847-
version "5.93.0"
4848-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.93.0.tgz#2e89ec7035579bdfba9760d26c63ac5c3462a5e5"
4849-
integrity sha512-Y0m5oEY1LRuwly578VqluorkXbvXKh7U3rLoQCEO04M97ScRr44afGVkI0FQFsXzysk5OgFAxjZAb9rsGQVihA==
4830+
webpack@^5.94.0:
4831+
version "5.94.0"
4832+
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.94.0.tgz#77a6089c716e7ab90c1c67574a28da518a20970f"
4833+
integrity sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==
48504834
dependencies:
4851-
"@types/eslint-scope" "^3.7.3"
48524835
"@types/estree" "^1.0.5"
48534836
"@webassemblyjs/ast" "^1.12.1"
48544837
"@webassemblyjs/wasm-edit" "^1.12.1"
@@ -4857,7 +4840,7 @@ webpack@^5.91.0:
48574840
acorn-import-attributes "^1.9.5"
48584841
browserslist "^4.21.10"
48594842
chrome-trace-event "^1.0.2"
4860-
enhanced-resolve "^5.17.0"
4843+
enhanced-resolve "^5.17.1"
48614844
es-module-lexer "^1.2.1"
48624845
eslint-scope "5.1.1"
48634846
events "^3.2.0"

0 commit comments

Comments
 (0)