Skip to content

Commit 3c13136

Browse files
authored
Merge pull request #2263 from Microsoft/master
Merge for 0.17.7-Insiders
2 parents a17a8e1 + a178faa commit 3c13136

File tree

14 files changed

+204
-2654
lines changed

14 files changed

+204
-2654
lines changed
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
## How to build and debug the Microsoft CppTools Extension
2-
3-
These steps will allow you to debug the TypeScript code that is part of the Microsoft CppTools extension for Visual Studio Code.
4-
5-
Prerequisite steps:
6-
* Clone [this](https://github.com/Microsoft/vscode-cpptools) repository.
7-
* Install [npm](https://nodejs.org).
8-
* From a command line, run the following commands from the **Extension** folder in the root of the repository:
9-
* `npm install -g vsce` will install `vsce` globally to create the vsix package.
10-
* `npm install` will install the dependencies needed to build the extension.
11-
* Set an environment variable `CPPTOOLS_DEV=1`.
12-
* This enables the local developer workflow, copying dependencies from the **node_modules** folder.
13-
* Open the **Extension** folder in Visual Studio Code and F5.
14-
* Read the [contributing guidelines](https://github.com/Microsoft/vscode-cpptools/blob/master/CONTRIBUTING.md).
1+
## How to build and debug the Microsoft CppTools Extension
2+
3+
These steps will allow you to debug the TypeScript code that is part of the Microsoft CppTools extension for Visual Studio Code.
4+
5+
Prerequisite steps:
6+
* Clone [this](https://github.com/Microsoft/vscode-cpptools) repository.
7+
* Install [npm](https://nodejs.org).
8+
* From a command line, run the following commands from the **Extension** folder in the root of the repository:
9+
* `npm install` will install the dependencies needed to build the extension.
10+
* **(optional)** `npm install -g vsce` will install `vsce` globally to create a VSIX package that you can install.
11+
* **(optional)** Set an environment variable `CPPTOOLS_DEV=1`.
12+
* This enables the local developer workflow when testing the debugger, copying dependencies from the **node_modules** folder. Testing the language server does not require this step.
13+
* Open the **Extension** folder in Visual Studio Code and press F5. This will launch a VS Code Extension Host window and activate the TypeScript debugger. You can set breakpoints on the extension source code and debug your scenario.

Extension/CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
11
# C/C++ for Visual Studio Code Change Log
22

3-
## Version 0.17.6: June 28, 2018
3+
## Version 0.17.7: July 16, 2018
4+
* Fix `Go to Definition` for code scoped with an aliased namespace. [#387](https://github.com/Microsoft/vscode-cpptools/issues/387)
5+
* Fix incorrect IntelliSense errors with template template-arguments. [#1014](https://github.com/Microsoft/vscode-cpptools/issues/1014)
6+
* Fix crash when using designated initializer lists. [#1440](https://github.com/Microsoft/vscode-cpptools/issues/1440)
7+
* Add `windowsSdkVersion` to `c_cpp_properties.json`. [#1585](https://github.com/Microsoft/vscode-cpptools/issues/1585)
8+
* Add `${vcpkgRoot}` variable. [#1817](https://github.com/Microsoft/vscode-cpptools/issues/1817)
9+
* Fix dangling IntelliSense processes and stuck red flame. [#2075](https://github.com/Microsoft/vscode-cpptools/issues/2075), [#2077](https://github.com/Microsoft/vscode-cpptools/issues/2077), [#2169](https://github.com/Microsoft/vscode-cpptools/issues/2169)
10+
* Fix incorrect IntelliSense errors when class template argument deduction is used. [#2101](https://github.com/Microsoft/vscode-cpptools/issues/2101)
11+
* Skip automatic parsing of source files in Mac system framework paths. [#2156](https://github.com/Microsoft/vscode-cpptools/issues/2156)
12+
* Fix `Edit Configurations...` not working after `c_cpp_properties.json` is deleted. [#2214](https://github.com/Microsoft/vscode-cpptools/issues/2214)
13+
* Fix indexing of the entire root drive on Windows when no is folder open. [#2216](https://github.com/Microsoft/vscode-cpptools/issues/2216)
14+
* Disable the config provider message for headers outside the workspace and when debugging. [#2221](https://github.com/Microsoft/vscode-cpptools/issues/2221)
15+
* Add `Change Configuration Provider...` command. [#2224](https://github.com/Microsoft/vscode-cpptools/issues/2224)
16+
* Fix out-of-memory crash with `#include` code actions when no folder is open. [#2225](https://github.com/Microsoft/vscode-cpptools/issues/2225)
17+
* Fix `intelliSenseMode` with custom config providers on Windows. [#2228](https://github.com/Microsoft/vscode-cpptools/issues/2228)
18+
* Fix variables not resolving in `macFrameworkPath`. [#2234](https://github.com/Microsoft/vscode-cpptools/issues/2234)
19+
* Fix `Go to Definition` not working for macros followed by `.` or `->`. [#2245](https://github.com/Microsoft/vscode-cpptools/issues/2245)
20+
21+
## Version 0.17.6: July 2, 2018
422
* Fix the database icon getting stuck with recursive includes. [#2104](https://github.com/Microsoft/vscode-cpptools/issues/2104)
523
* Fix the red flame appearing late with recursive includes. [#2105](https://github.com/Microsoft/vscode-cpptools/issues/2105)
624
* Fix source files being parsed in system directories. [#2156](https://github.com/Microsoft/vscode-cpptools/issues/2156)
25+
* Fix internal document corruption (visible after formatting) when edits are made too soon after activation. [#2162](https://github.com/Microsoft/vscode-cpptools/issues/2162)
726
* Fix a crash when saving with recursive includes. [#2173](https://github.com/Microsoft/vscode-cpptools/issues/2173)
827
* Fix a crash when the `includePath` or `browse.path` is `"**"`. [#2174](https://github.com/Microsoft/vscode-cpptools/issues/2174)
928
* Fix IntelliSense for WSL without g++ installed. [#2178](https://github.com/Microsoft/vscode-cpptools/issues/2178)
1029
* Fix random IntelliSense (completion) failures due to edits being delayed. [#2184](https://github.com/Microsoft/vscode-cpptools/issues/2184)
30+
* Fix database deletion failure with non-ASCII file paths on Windows. [#2205](https://github.com/Microsoft/vscode-cpptools/issues/2205)
31+
* Fix `Go to Definition` results with `var::` and `var->`, and filter out invalid constructor results. [#2207](https://github.com/Microsoft/vscode-cpptools/issues/2207)
1132
* Fix a performance bug with recursive includes.
1233
* Fixed a CPU usage problem on Mac related to system frameworks parsing.
1334
* Keep the IntelliSense process around for 10 seconds after a file is closed in case it's needed again.
1435
* Added an API so build system extensions can provide IntelliSense configurations for source files. More details at [npmjs.com](https://www.npmjs.com/package/vscode-cpptools).
1536
* Fix automatic argument quoting when debugging with gdb/lldb to include when the argument has a '(' or ')' in it. Also escape existing '"' symbols.
37+
* Removed `-` in `ps` call for ProcessPicker and RemoteProcessPicker. [#2183](https://github.com/Microsoft/vscode-cpptools/issues/2183)
1638

1739
## Version 0.17.5: June 21, 2018
1840
* Detect `compile_commands.json` and show prompt to use it. [#1297](https://github.com/Microsoft/vscode-cpptools/issues/1297)

Extension/c_cpp_properties.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
"type": "string"
5959
}
6060
},
61+
"windowsSdkVersion": {
62+
"description": "Version of the Windows SDK include path to use on Windows, e.g. '10.0.17134.0'.",
63+
"type": "string",
64+
"pattern": "^\\d{2}\\.\\d{1}\\.\\d{5}\\.\\d{1}$|^8\\.1$"
65+
},
6166
"defines": {
6267
"description": "A list of preprocessor definitions for the IntelliSense engine to use while parsing files. Optionally, use = to set a value, e.g. VERSION=1.",
6368
"type": "array",

0 commit comments

Comments
 (0)