Skip to content

Commit 52f7999

Browse files
Merge pull request #7352 from microsoft/mimatias/r1-3-0
1.3.0 release
2 parents 7bac5a7 + 173f79c commit 52f7999

File tree

94 files changed

+2295
-2030
lines changed

Some content is hidden

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

94 files changed

+2295
-2030
lines changed

.github/ISSUE_TEMPLATE/debugger.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
2-
name: Debugger
3-
about: Issues pertaining to debugging such as call stack, breakpoints, watch window,
2+
name: Bug Report - Debugger
3+
about: Create a bug report for debugging such as call stack, breakpoints, watch window,
44
launching or attaching to a debuggee.
55
title: ''
66
labels: ''
77
assignees: ''
88

99
---
1010

11-
Type: Debugger
12-
<!----- Input information below ----->
11+
Bug type: Debugger
1312

14-
<!--
15-
**Prior to filing an issue, please review:**
16-
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
17-
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
18-
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
13+
<!-- Prior to creating a bug report, please review:
14+
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
15+
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
16+
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
1917
-->
2018

19+
2120
**Describe the bug**
2221
- OS and Version:
2322
- VS Code Version:
2423
- C/C++ Extension Version:
2524
- Other extensions you installed (and if the issue persists after disabling them):
2625
- A clear and concise description of what the bug is.
2726

27+
2828
**To Reproduce**
2929
*Please include a code sample and `launch.json` configuration.*
3030
Steps to reproduce the behavior:
@@ -33,6 +33,7 @@ Steps to reproduce the behavior:
3333
3. Scroll down to '....'
3434
4. See error
3535

36+
3637
**Additional context**
3738
*If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your `launch.json`*
3839
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this extension.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Type: Feature Request
11+
12+
<!-- Prior to creating a feature request, please review
13+
existing issues at https://github.com/Microsoft/vscode-cpptools/issues
14+
to avoid creating duplicates.
15+
-->
16+
17+
<!-- Describe the feature you'd like. -->
Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
---
2-
name: General Extension
3-
about: Issues pertaining to downloading, installing, or building the extension.
2+
name: Bug Report - General Extension
3+
about: Create a bug report for downloading, installing, or building the extension.
44
title: ''
55
labels: ''
66
assignees: ''
77

88
---
99

10-
Type: General
11-
<!----- Input information below ----->
10+
Bug type: General
1211

13-
<!--
14-
**Prior to filing an issue, please review:**
15-
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
16-
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
17-
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
12+
<!-- Prior to creating a bug report, please review:
13+
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
14+
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
15+
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
1816
-->
1917

18+
2019
**Describe the bug**
2120
- OS and Version:
2221
- VS Code Version:
2322
- C/C++ Extension Version:
2423
- Other extensions you installed (and if the issue persists after disabling them):
2524
- A clear and concise description of what the bug is.
2625

26+
2727
**To Reproduce**
2828
*Please include code sample and `task.json` files.*
2929
Steps to reproduce the behavior:
@@ -32,11 +32,14 @@ Steps to reproduce the behavior:
3232
3. Scroll down to '....'
3333
4. See error
3434

35+
3536
**Expected behavior**
36-
A clear and concise description of what you expected to happen.
37+
<!-- A clear and concise description of what you expected to happen. -->
38+
3739

3840
**Screenshots**
39-
If applicable, add screenshots to help explain your problem.
41+
<!-- If applicable, add screenshots to help explain your problem. -->
42+
4043

4144
**Additional context**
42-
Add any other context about the problem here including log messages from the Output window.
45+
<!-- Add any other context about the problem here including log messages from the Output window. -->
Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,65 @@
11
---
2-
name: Language Service
3-
about: 'Issues pertaining to IntelliSense, autocomplete, code editing, etc. '
2+
name: Bug Report - Language Service
3+
about: 'Create a bug report for IntelliSense, autocomplete, code editing, code navigation, etc.'
44
title: ''
55
labels: ''
66
assignees: ''
77

88
---
99

10-
**Type: LanguageService**
11-
<!----- Input information below ----->
10+
Bug type: Language Service
1211

13-
<!--
14-
**Prior to filing an issue, please review:**
15-
- Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
16-
- Our documentation at https://code.visualstudio.com/docs/languages/cpp
17-
- FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
12+
<!-- Prior to creating a bug report, please review:
13+
📝 Existing issues at https://github.com/Microsoft/vscode-cpptools/issues
14+
📜 Our documentation at https://code.visualstudio.com/docs/languages/cpp
15+
📙 FAQs at https://code.visualstudio.com/docs/cpp/faq-cpp
1816
-->
1917

18+
2019
**Describe the bug**
2120
- OS and Version:
2221
- VS Code Version:
2322
- C/C++ Extension Version:
2423
- Other extensions you installed (and if the issue persists after disabling them):
25-
- Does this issue involve using SSH remote to run the extension on a remote machine?:
24+
- If using SSH remote, specify OS of remote machine:
2625
- A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).
2726

27+
2828
**Steps to reproduce**
29-
<!-- Provide clear steps to reproduce the behavior: -->
30-
<!-- *The most actionable issue reports include a code sample including configuration files such as c_cpp_properties.json* -->
29+
<!-- Provide clear steps to reproduce the bug: -->
3130
1. Go to '...'
3231
2. Click on '....'
3332
3. Scroll down to '....'
3433
4. See error
3534

35+
3636
**Expected behavior**
3737
<!-- A clear and concise description of what you expected to happen. -->
3838

39-
<!-- Please provide the following logs that show diagnostics and debugging information about the language server.
40-
1. Logs from the command `C/C++: Log Diagnostics`
41-
2. Logs from [the language server](https://code.visualstudio.com/docs/cpp/enable-logging-cpp#_enable-logging-for-the-language-server)
42-
-->
43-
<details>
44-
<summary><strong>Logs</strong></summary>
4539

46-
<!-- Note: do not remove empty line after </summary> tag, otherwise the code blocks formatting won't show correctly. -->
47-
```
48-
Insert logs here.
49-
```
50-
</details>
40+
**Code sample and logs**
41+
<!-- Please provide code sample, your c_cpp_properties.json and logs. -->
42+
- Code sample
43+
44+
- Configurations in `c_cpp_properties.json`
45+
46+
- Logs from running `C/C++: Log Diagnostics` from the VS Code command palette
47+
48+
- Logs from [the language server logging](https://code.visualstudio.com/docs/cpp/enable-logging-cpp#_enable-logging-for-the-language-server)
49+
5150

5251
**Screenshots**
5352
<!-- If applicable, add screenshots to help explain your problem. -->
5453

54+
5555
**Additional context**
5656
<!--
57-
* Call Stacks: For bugs like crashes, deadlocks, infinite loops, etc. that we are not able to repro and for which the call stack may be useful, please attach a debugger and/or create a dmp and provide the call stacks. Windows binaries have symbols available in VS Code by setting your "symbolSearchPath" to "https://msdl.microsoft.com/download/symbols".
57+
Providing call stacks:
58+
For bugs like crashes, deadlocks, infinite loops, etc. that we are not able to repro and for which the call stack may be useful, please attach a debugger and/or create a dmp and provide the call stacks. Windows binaries have symbols available in VS Code by setting your "symbolSearchPath" to "https://msdl.microsoft.com/download/symbols".
59+
60+
Instructions for attaching debugger to language service process:
61+
https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv.
62+
63+
Performance analysis:
64+
For a performance issue see instructions at https://github.com/microsoft/vscode-cpptools/wiki/Troubleshooting-Performance-Issues.
5865
-->

.github/workflows/ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515

16-
- name: Use Node.js 10.16.x
16+
- name: Use Node.js 14.16.x
1717
uses: actions/setup-node@v1
1818
with:
19-
node-version: 10.16.x
19+
node-version: 14.16.x
2020

2121
- name: Install Dependencies
2222
run: yarn install

.github/workflows/ci_mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515

16-
- name: Use Node.js 10.16.x
16+
- name: Use Node.js 14.16.x
1717
uses: actions/setup-node@v1
1818
with:
19-
node-version: 10.16.x
19+
node-version: 14.16.x
2020

2121
- name: Install Dependencies
2222
run: yarn install

.github/workflows/ci_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515

16-
- name: Use Node.js 10.16.x
16+
- name: Use Node.js 14.16.x
1717
uses: actions/setup-node@v1
1818
with:
19-
node-version: 10.16.x
19+
node-version: 14.16.x
2020

2121
- name: Install Dependencies
2222
run: yarn install

CODE_OF_CONDUCT.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
## Microsoft Open Source Code of Conduct
1+
# Microsoft Open Source Code of Conduct
22

3-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [email protected] with any additional questions or comments.
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns

Extension/.vscode/tasks.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"command": "yarn",
2121
"args": [
2222
"run",
23-
"compile",
24-
"--loglevel",
25-
"silent"
23+
"compile"
2624
]
2725
},
2826
{
@@ -95,9 +93,7 @@
9593
"command": "yarn",
9694
"args": [
9795
"run",
98-
"compile-watch",
99-
"--loglevel",
100-
"silent"
96+
"compile-watch"
10197
],
10298
"problemMatcher": [
10399
{
@@ -121,10 +117,10 @@
121117
"background": {
122118
"activeOnStart": true,
123119
"beginsPattern": {
124-
"regexp": "Compilation (.*?)starting…"
120+
"regexp": "asset"
125121
},
126122
"endsPattern": {
127-
"regexp": "Compilation (.*?)finished"
123+
"regexp": "webpack (.*?) compiled (.*?) ms"
128124
}
129125
}
130126
}
@@ -162,10 +158,10 @@
162158
"background": {
163159
"activeOnStart": true,
164160
"beginsPattern": {
165-
"regexp": "Compilation (.*?)starting…"
161+
"regexp": "asset"
166162
},
167163
"endsPattern": {
168-
"regexp": "Compilation (.*?)finished"
164+
"regexp": "webpack (.*?) compiled (.*?) ms"
169165
}
170166
}
171167
}

Extension/CHANGELOG.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,51 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 1.3.0: April 13, 2021
4+
### New Features
5+
* Add language service support for CUDA.
6+
* Add highlighting of matching conditional preprocessor statements. [#2565](https://github.com/microsoft/vscode-cpptools/issues/2565)
7+
* Add commands for navigating to matching preprocessor directives in conditional groups. [#4779](https://github.com/microsoft/vscode-cpptools/issues/4779)
8+
* Add native language service binaries for ARM64 Mac. [#6595](https://github.com/microsoft/vscode-cpptools/issues/6595)
9+
10+
### Enhancements
11+
* Add parentheses to function calls when `C_Cpp.autocompleteAddParentheses` is `true`. [#882](https://github.com/microsoft/vscode-cpptools/issues/882)
12+
* Add @retval support to the simplified view of doc comments. [#6816](https://github.com/microsoft/vscode-cpptools/issues/6816)
13+
* Add auto-closing of include completion brackets. [#7054](https://github.com/microsoft/vscode-cpptools/issues/7054)
14+
* Add support for nodeAddonIncludes with Yarn PnP.
15+
* Mestery (@Mesterry) [PR #7123](https://github.com/microsoft/vscode-cpptools/pull/7123)
16+
* Add a `C_Cpp.files.exclude` setting, which is identical to `files.exclude` except items aren't excluded from the Explorer view. [PR #7285](https://github.com/microsoft/vscode-cpptools/pull/7285)
17+
18+
### Bug Fixes
19+
* Display integer values for char and unsigned char on hover instead of character symbols. [#1552](https://github.com/microsoft/vscode-cpptools/issues/1552)
20+
* Fix directory iteration to check files.exclude and symlinks and use less memory. [#3123](https://github.com/microsoft/vscode-cpptools/issues/3123), [#4206](https://github.com/microsoft/vscode-cpptools/issues/4206), [#6864](https://github.com/microsoft/vscode-cpptools/issues/6864)
21+
* Fix an issue with stale IntelliSense due to moving or renaming header files. [#3849](https://github.com/microsoft/vscode-cpptools/issues/3849)
22+
* Fix go to definition on large macros. [#4306](https://github.com/microsoft/vscode-cpptools/issues/4306)
23+
* Fix a spurious asterisk being inserted on a new line if the previous line starts with an asterisk. [#5733](https://github.com/microsoft/vscode-cpptools/issues/5733)
24+
* Fix bug with placement new on Windows with gcc mode. [#6246](https://github.com/microsoft/vscode-cpptools/issues/6246)
25+
* Fix size_t and placement new squiggles with clang on Windows. [#6573](https://github.com/microsoft/vscode-cpptools/issues/6573), [#7106](https://github.com/microsoft/vscode-cpptools/issues/7016)
26+
* Fix an incorrect IntelliSense error squiggle when assigning to std::variant in clang mode. [#6623](https://github.com/microsoft/vscode-cpptools/issues/6623)
27+
* Fix incorrect squiggle with range-v3 library. [#6639](https://github.com/microsoft/vscode-cpptools/issues/6639)
28+
* Fix incorrect squiggle with auto parameters. [#6714](https://github.com/microsoft/vscode-cpptools/issues/6714)
29+
* Fix (reimplement) nested document symbols. [#6830](https://github.com/microsoft/vscode-cpptools/issues/6830), [#7023](https://github.com/microsoft/vscode-cpptools/issues/7023), [#7024](https://github.com/microsoft/vscode-cpptools/issues/7024)
30+
* Fix detection of bitness for compilers targeting esp32. [#7034](https://github.com/microsoft/vscode-cpptools/issues/7034)
31+
* Fix include completion not working after creating a new header with a non-standard extension until a reload is done. [#6987](https://github.com/microsoft/vscode-cpptools/issues/6987), [#7061](https://github.com/microsoft/vscode-cpptools/issues/7061)
32+
* Fix endless CPU/memory usage in cpptools-srv when certain templated type aliases are used. [#7085](https://github.com/microsoft/vscode-cpptools/issues/7085)
33+
* Fix "No symbols found" sometimes occurring when a document first opens. [#7103](https://github.com/microsoft/vscode-cpptools/issues/7103)
34+
* Fix vcFormat formatting after typing brackets and a newline. [#7125](https://github.com/microsoft/vscode-cpptools/issues/7125)
35+
* Fix a performance bug after formatting a document. [#7159](https://github.com/microsoft/vscode-cpptools/issues/7159)
36+
* Fix random crashes of cpptools-srv during shutdown. [#7161](https://github.com/microsoft/vscode-cpptools/issues/7161)
37+
* Fix a bug with relative "." paths in compile commands. [#7221](https://github.com/microsoft/vscode-cpptools/issues/7221)
38+
* Fix configuration issues with Unreal Engine projects. [#7222](https://github.com/microsoft/vscode-cpptools/issues/7222)
39+
* Fix bug when `${workspaceFolder}` is used in `compileCommands`. [#7241](https://github.com/microsoft/vscode-cpptools/issues/7241)
40+
* Aleksa Pavlovic (@aleksa2808) [PR #7242](https://github.com/microsoft/vscode-cpptools/pull/7242)
41+
* Fix field requirements for custom configurations. [PR #7295](https://github.com/microsoft/vscode-cpptools/pull/7295)
42+
* Fix integrity hash checking of downloaded packages for the extension. [PR #7300](https://github.com/microsoft/vscode-cpptools/pull/7300)
43+
* Fix a bug preventing successful validation and receipt of browse configurations from custom configuration providers. [PR# 7131](https://github.com/microsoft/vscode-cpptools/pull/7313)
44+
* Fix a potential crash when editing at the end of a document.
45+
* Fix "Configure Task" selection to show root folder names for multiroot workspace [PR #7315](https://github.com/microsoft/vscode-cpptools/pull/7315)
46+
347
## Version 1.2.2: February 25, 2021
4-
## Bug Fixes
48+
### Bug Fixes
549
* Fix IntelliSense errors with variable length arrays with C Clang mode. [#6500](https://github.com/microsoft/vscode-cpptools/issues/6500)
650
* Fix for random IntelliSense communication failures on Mac. [#6809](https://github.com/microsoft/vscode-cpptools/issues/6809), [#6958](https://github.com/microsoft/vscode-cpptools/issues/6958)
751
* Fix an extension activation failure when a non-existent folder exists in the workspace. [#6981](https://github.com/microsoft/vscode-cpptools/issues/6981)
@@ -433,7 +477,7 @@
433477
## Version 0.26.2: December 2, 2019
434478
### Enhancements
435479
* Reworked how a source file is selected for TU creation when opening a header file. [#2856](https://github.com/microsoft/vscode-cpptools/issues/2856)
436-
* Updated the default value of the `C_Cpp.intelliSenseCachePath` setting to a path under `XDG_CACHE_HOME` on Linux, or `~/Library/Cache` on MacOS. [#3979](https://github.com/microsoft/vscode-cpptools/issues/3979)
480+
* Updated the default value of the `C_Cpp.intelliSenseCachePath` setting to a path under `XDG_CACHE_HOME` on Linux, or `~/Library/Cache` on macOS. [#3979](https://github.com/microsoft/vscode-cpptools/issues/3979)
437481
* Reset memory usage of the IntelliSense process if it grows beyond a threshold. [#4119](https://github.com/microsoft/vscode-cpptools/issues/4119)
438482
* Add validation that the new symbol name provided to 'Rename Symbol' is a valid identifier. Add the setting `C_Cpp.renameRequiresIdentifier` to allow that verification to be disabled. [#4409](https://github.com/microsoft/vscode-cpptools/issues/4409)
439483
* Enable setting of breakpoints in CUDA sources.

0 commit comments

Comments
 (0)