Skip to content

Commit ff1cd88

Browse files
authored
Merge pull request #13136 from microsoft/main
Merge for 1.23.3 (pre-release)
2 parents 9869636 + 941aa60 commit ff1cd88

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1514
-154
lines changed

.github/workflows/job-compile-and-test.yml

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ jobs:
4242
run: yarn test
4343
working-directory: Extension
4444

45+
# These tests don't require the binary.
46+
# On Linux, it is failing (before the tests actually run) with: Test run terminated with signal SIGSEGV.
47+
# But it works on Linux during the E2E test.
48+
- name: Run SingleRootProject tests
49+
if: ${{ inputs.platform != 'linux' }}
50+
run: yarn test --scenario=SingleRootProject --skipCheckBinaries
51+
working-directory: Extension
52+
4553
# NOTE : We can't run the test that require the native binary files
4654
# yet -- there will be an update soon that allows the tester to
4755
# acquire them on-the-fly

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* [Build and debug the extension](Documentation/Building%20the%20Extension.md).
66
* File an [issue](https://github.com/Microsoft/vscode-cpptools/issues) and a [pull request](https://github.com/Microsoft/vscode-cpptools/pulls) with the change and we will review it.
77
* If the change affects functionality, add a line describing the change to [**CHANGELOG.md**](Extension/CHANGELOG.md).
8-
* Try and add a test in [**test/extension.test.ts**](Extension/test/unitTests/extension.test.ts).
8+
* Try and add a test in [**test/extension.test.ts**](Extension/test/scenarios/SingleRootProject/tests/extension.test.ts).
99
* Run tests via opening the [**Extension**](https://github.com/Microsoft/vscode-cpptools/tree/main/Extension) folder in Visual Studio Code, selecting the "Launch Tests" configuration in the Debug pane, and choosing "Start Debugging".
1010

1111
## About the Code

Extension/.eslintrc.js

-11
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,6 @@ module.exports = {
2424
"eslint-plugin-header"
2525
],
2626
"rules": {
27-
"indent": [
28-
"warn",
29-
4,
30-
{
31-
"SwitchCase": 1,
32-
"ObjectExpression": "first"
33-
}
34-
],
35-
"@typescript-eslint/indent": [
36-
"error", 4
37-
],
3827
"@typescript-eslint/adjacent-overload-signatures": "error",
3928
"@typescript-eslint/array-type": "error",
4029
"@typescript-eslint/await-thenable": "error",

Extension/.scripts/common.ts

+3
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ export async function checkDTS() {
334334
}
335335

336336
export async function checkBinaries() {
337+
if ($switches.includes('--skipCheckBinaries')) {
338+
return false;
339+
}
337340
let failing = false;
338341
failing = !await assertAnyFile(['bin/cpptools.exe', 'bin/cpptools']) && (quiet || warn(`The native binary files are not present. You should either build or install the native binaries\n\n.`)) || failing;
339342

Extension/CHANGELOG.md

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

3+
## Version 1.23.3: January 9, 2025
4+
### New Feature
5+
* Enable setting multiple compile commands. [#7029](https://github.com/microsoft/vscode-cpptools/issues/7029)
6+
* Thank you for the contribution. [@yiftahw](https://github.com/yiftahw) [PR #12960](https://github.com/microsoft/vscode-cpptools/pull/12960)
7+
8+
### Enhancements
9+
* Modifications to the snippet completions to more closely match the snippets provided by TypeScript. [#4482](https://github.com/microsoft/vscode-cpptools/issues/4482)
10+
* Update clang path setting descriptions. [PR #13071](https://github.com/microsoft/vscode-cpptools/pull/13071)
11+
* Update clang-format and clang-tidy from 19.1.5 to 19.1.6.
12+
* IntelliSense parser updates.
13+
14+
### Bug Fixes
15+
* Fix `compile_commands.json` no longer being used if the containing folder is deleted and recreated. [#7030](https://github.com/microsoft/vscode-cpptools/issues/7030)
16+
* Thank you for the contribution. [@yiftahw](https://github.com/yiftahw) [PR #13032](https://github.com/microsoft/vscode-cpptools/pull/13032)
17+
* Fix `C_Cpp.enhancedColorization` not taking effect after it's changed. [#10565](https://github.com/microsoft/vscode-cpptools/issues/10565)
18+
* Fix changes to `files.encoding` not triggering a database reset. [#10892](https://github.com/microsoft/vscode-cpptools/issues/10892)
19+
* Fix parameter hints interpreting `*` in a comment as markdown. [#11082](https://github.com/microsoft/vscode-cpptools/issues/11082)
20+
* Fix an incorrect IntelliSense error when using `std::unique_ptr`. [#11979](https://github.com/microsoft/vscode-cpptools/issues/11979)
21+
* Fix an incorrect IntelliSense error with designated initializers. [#12239](https://github.com/microsoft/vscode-cpptools/issues/12239)
22+
* Fix handling of `koi8ru` and `koi8t` file encodings on Windows. [#12272](https://github.com/microsoft/vscode-cpptools/issues/12272)
23+
* Fix description of `C_Cpp.preferredPathSeparator`. [#12597](https://github.com/microsoft/vscode-cpptools/issues/12597)
24+
* Fix the IntelliSense process launching when it's disabled and the Copilot extension is used. [#12750](https://github.com/microsoft/vscode-cpptools/issues/12750), [#13058](https://github.com/microsoft/vscode-cpptools/issues/13058)
25+
* Fix the IntelliSense mode being `macos` instead of `windows` when `_WIN32` is defined on macOS. [#13016](https://github.com/Microsoft/vscode-cpptools/issues/13016)
26+
* Fix IntelliSense bugs when using non-UTF8 file encodings. [#13028](https://github.com/microsoft/vscode-cpptools/issues/13028), [#13044](https://github.com/microsoft/vscode-cpptools/issues/13044)
27+
* Fix an incorrect translation for "binary operator". [#13048](https://github.com/microsoft/vscode-cpptools/issues/13048)
28+
* Fix the "references may be missing" logging pane being shown when the `C_Cpp.loggingLevel` is `Error` or `None`. [#13066](https://github.com/microsoft/vscode-cpptools/issues/13066)
29+
* Fix `C_Cpp.default.compilerPath` not using the `C_Cpp.preferredPathSeparator` setting when generated from the 'Select IntelliSense Configuration' command. [#13083](https://github.com/microsoft/vscode-cpptools/issues/13083)
30+
331
### Version 1.23.2: December 5, 2024
432
### Enhancements
533
* Changes to how paths are internally canonicalized on Linux and macOS, avoiding file system access to improve performance and delay resolution of symbolic links. [#12924](https://github.com/microsoft/vscode-cpptools/issues/12924)
@@ -11,6 +39,7 @@
1139
* Update clang-format and clang-tidy from 19.1.2 to 19.1.5.
1240

1341
### Bug Fixes
42+
* Fix a perf regression in hover operation by using cached lexer line states. [#3126](https://github.com/microsoft/vscode-cpptools/issues/3126)
1443
* Increase clang-format timeout from 10 seconds to 30 seconds. [#10213](https://github.com/microsoft/vscode-cpptools/issues/10213)
1544
* Fix casing of path in include completion tooltip on Windows. [#12895](https://github.com/microsoft/vscode-cpptools/issues/12895)
1645
* Fix pattern matching of sections in `.editorConfig` files. [#12933](https://github.com/microsoft/vscode-cpptools/issues/12933)

0 commit comments

Comments
 (0)