Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
da68908
update version and fwlinks for October release
bobbrow Sep 28, 2018
6d71c6d
Merge pull request #2575 from Microsoft/bobbrow/releaseToMaster
bobbrow Sep 28, 2018
80716ae
Grdowns/update channel4 (#2576)
grdowns Oct 2, 2018
b3fb255
update telemetry version (#2593)
bobbrow Oct 2, 2018
775aba8
don't use falsy comparisons when resolving default settings. (#2592)
shankaryoga21 Oct 2, 2018
28981f3
remove telemetry that is already being blocked (#2603)
bobbrow Oct 3, 2018
102ffc1
Fixing quoting around ssh's command (#2604)
pieandcakes Oct 4, 2018
140670c
Update c_cpp_properties.json.md
bobbrow Oct 4, 2018
e819f36
Fix error when rootRui is null. (#2614)
sean-mcmanus Oct 5, 2018
539ecc5
Update the changlog for 0.19.1-insiders. (#2615)
sean-mcmanus Oct 8, 2018
b6f1847
Update changelog. (#2625)
sean-mcmanus Oct 8, 2018
536685c
Grdowns/update channel fix (#2637)
grdowns Oct 10, 2018
55558a5
Update links for mono framework and runtime (#2640)
pieandcakes Oct 10, 2018
ea8ab13
Update CHANGELOG.md and copyDebuggerDependencies (#2641)
pieandcakes Oct 11, 2018
31eed4c
Add missing interop 15 file to dev workflow (#2643)
pieandcakes Oct 11, 2018
78f5a38
Update changelog for 0.19.1-insiders2 (#2649)
sean-mcmanus Oct 11, 2018
acf7b46
Update changelog.md. (#2676)
sean-mcmanus Oct 16, 2018
88e9724
Attempt to fix security and gulp 4.0 (#2689)
WardenGnaw Oct 17, 2018
4330679
Don't allow configuration providers to activate the extension when In…
bobbrow Oct 18, 2018
3a9f4c4
Update changelog for 0.19.1-insiders3. (#2694)
sean-mcmanus Oct 19, 2018
ed5d8c8
Get rid of the MacCrash memory addresses. (#2695)
sean-mcmanus Oct 19, 2018
bc64d25
Ensure that package version suffix + version suffix version are set (…
grdowns Oct 19, 2018
b0e17a1
Don't update pre-releases (#2693)
grdowns Oct 19, 2018
807ff80
Update vscode telemetry api used. (#2707)
sean-mcmanus Oct 24, 2018
72581c2
Update changelog for 0.20.0. (#2718)
sean-mcmanus Oct 25, 2018
324c5f5
Update changelog for 0.20.0 release.
sean-mcmanus Oct 25, 2018
082435e
Fix comment for intelliSenseEngine setting.
sean-mcmanus Oct 25, 2018
9ca27af
Merge.
sean-mcmanus Oct 25, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ script:
- npm run tslint
# pr-check needs to run before test. test modifies package.json.
- npm run pr-check
- npm run test
- npm run unitTests
# TODO: Merge tests into one group due to Gulp 4.0
- npm run integrationTests
# Dump integrationTest.log output
- find ~ -name "integrationTests.log" -type f -exec cat {} \;

6 changes: 5 additions & 1 deletion Documentation/LanguageServer/c_cpp_properties.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
A list of files that should be included before any other characters in the source file are processed. Files are included in the order listed.

* #### `compilerPath` (optional)
The absolute path to the compiler you use to build your project. The extension will query the compiler to determine the system include paths and default defines to use for IntelliSense. Args can be added to modify the includes/defines used, e.g. `-nostdinc++`, `-m32`, etc., but paths with spaces must be surrounded by double quotes (`"`) if args are used.
The absolute path to the compiler you use to build your project. The extension will query the compiler to determine the system include paths and default defines to use for IntelliSense.

Args can be added to modify the includes/defines used, e.g. `-nostdinc++`, `-m32`, `-fno-ms-extensions`, etc., but paths with spaces must be surrounded by double quotes (`"`) if args are used.

If you want to disable automatic querying of system include paths and defines, set this value to the emptry string `""`. This is generally not recommended, but there are some cases where automatic querying of system includes and defines is undesirable.

* #### `cStandard`
The C standard revision to use for IntelliSense in your project.
Expand Down
26 changes: 25 additions & 1 deletion Extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# C/C++ for Visual Studio Code Change Log

## Version 0.20.0: October 29, 2018
* Add IntegratedTerminal suport for Linux and Windows. [#35](https://github.com/microsoft/vscode-cpptools/issues/35)
* Unify Visual Studio Code debug protocol parsing by using a shared library with Visual Studio.
* Fix IntelliSense-based `Go to Definition` on overloads (in the same TU). [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
* Fix inactive regions not being disabled when falling back to the Tag Parser. [#2181](https://github.com/Microsoft/vscode-cpptools/issues/2181)
* Fix `#include` completion not working with `compile_commands.json` or custom configuration providers. [#2242](https://github.com/Microsoft/vscode-cpptools/issues/2242)
* Fix IntelliSense failing if recursive includes removes all paths. [#2442](https://github.com/Microsoft/vscode-cpptools/issues/2442)
* Fix incorrect IntelliSense errors with MinGW (stop using `-fms-extensions` by default). [#2443](https://github.com/Microsoft/vscode-cpptools/issues/2443), [#2623](https://github.com/Microsoft/vscode-cpptools/issues/2623)
* Fix error squiggles sometimes not updating after typing. [#2448](https://github.com/Microsoft/vscode-cpptools/issues/2448)
* Add support for Mac framework paths in `compile_commands.json`. [#2508](https://github.com/Microsoft/vscode-cpptools/issues/2508)
* Fix Intellisense-based `Go to Definition` falling back to the Tag Parser for definitions not in the TU. [#2536](https://github.com/Microsoft/vscode-cpptools/issues/2536), [#2677](https://github.com/Microsoft/vscode-cpptools/issues/2677)
* Fix IntelliSense-based `Go to Definition` on the identifier of a definition with no declaration. [#2573](https://github.com/Microsoft/vscode-cpptools/issues/2573)
* Fix IntelliSense-based `Go to Definition` not falling back to the declaration (in certain cases). [#2574](https://github.com/Microsoft/vscode-cpptools/issues/2574)
* Fix IntelliSense-based `Go to Definition` going to the wrong location after edits are made. [#2579](https://github.com/Microsoft/vscode-cpptools/issues/2579)
* Fix `Go to Definition` when the `intelliSenseEngineFallback` is `Disabled` and `#include`s are missing. [#2583](https://github.com/Microsoft/vscode-cpptools/issues/2583)
* Fix empty `C_Cpp.default.*` settings not being used. [#2584](https://github.com/Microsoft/vscode-cpptools/issues/2584)
* Fix quoting around `ssh`'s command (for the debugger). [#2585](https://github.com/Microsoft/vscode-cpptools/issues/2585)
* Fix crash on hover (and `Go to Definition`) when using the `Tag Parser`. [#2586](https://github.com/Microsoft/vscode-cpptools/issues/2586)
* Fix errors when a workspace folder isn't open. [#2613](https://github.com/Microsoft/vscode-cpptools/issues/2613), [#2691](https://github.com/Microsoft/vscode-cpptools/issues/2691)
* Fix `-isystem` without a space after getting ignored in `compile_comamands.json`. [#2629](https://github.com/Microsoft/vscode-cpptools/issues/2629)
* Fix Insiders update channel installation bugs. [#2636](https://github.com/Microsoft/vscode-cpptools/issues/2636), [#2685](https://github.com/Microsoft/vscode-cpptools/issues/2685)
* Fix IntelliSense-based `Go to Declaration` falling back to the Tag Parser if the definition is also in the TU. [#2642](https://github.com/Microsoft/vscode-cpptools/issues/2642)
* Fix the `Disabled` `intelliSenseEngine` setting not working with custom configuration providers. [#2656](https://github.com/Microsoft/vscode-cpptools/issues/2656)

## Version 0.19.0: September 27, 2018
* Change the symbol database to update without needing to save. [#202](https://github.com/Microsoft/vscode-cpptools/issues/202)
* Enable IntelliSense-based `Go to Definition` for the current translation unit, including local variables and overloaded operators. [#255](https://github.com/Microsoft/vscode-cpptools/issues/255), [#979](https://github.com/Microsoft/vscode-cpptools/issues/979)
Expand Down Expand Up @@ -497,7 +521,7 @@
* Switch between header and source.
* Control which files are processed under include path.

## Version 0.6.1: June 03, 2016
## Version 0.6.1: June 3, 2016
* Bug fixes.

## Version 0.6.0: May 24, 2016
Expand Down
14 changes: 11 additions & 3 deletions Extension/ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@

THIRD-PARTY SOFTWARE NOTICES AND INFORMATION

THIRD PARTY SOFTWARE NOTICES AND INFORMATION
Do Not Translate or Localize

Microsoft C/C++ Extension for Visual Studio Code incorporates components from the projects listed below. Microsoft licenses these components under the Microsoft C/C++ Extension for Visual Studio Code license terms, except as noted. The original copyright notices and the licenses under which Microsoft received such components are set forth below for informational purposes. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
This Microsoft product may utilize material made available by third parties under the following license terms. Any source code that Microsoft is required to make available can be found at http://3rdpartysource.microsoft.com. You may also obtain a copy of any such source code (during the period provided by the license) by sending a check or money order for US $5.00 to:

Source Code Compliance Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052 USA

Please write “Source for [OSS PROJECT NAME]” in the memo line of your payment.


1. agent-base (https://github.com/TooTallNate/node-agent-base)
2. ANTLR (http://www.antlr2.org/)
Expand Down
41 changes: 28 additions & 13 deletions Extension/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,41 @@ const mocha = require('gulp-mocha');
const fs = require('fs');
const optionsSchemaGenerator = require('./out/tools/GenerateOptionsSchema');

gulp.task('unitTests', () => {
gulp.task('unitTests', (done) => {
env.set({
CODE_TESTS_PATH: "./out/test/unitTests",
});

gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
return gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
.pipe(mocha({ ui: "tdd" }))
.once('error', err => process.exit(1))
.once('end', () => process.exit())
.once('error', err => {
done();
process.exit(1);
})
.once('end', () => {
done();
process.exit();
});
});

gulp.task('integrationTests', () => {
gulp.task('integrationTests', (done) => {
env.set({
CODE_TESTS_PATH: "./out/test/integrationTests",
CODE_TESTS_WORKSPACE: "./test/integrationTests/testAssets/SimpleCppProject"
});

gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
return gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
.pipe(mocha({ ui: "tdd" }))
.once('error', err => process.exit(1))
.once('end', () => process.exit())
.once('error', err => {
done();
process.exit(1);
})
.once('end', () => {
done();
process.exit();
});
});

gulp.task('allTests', ['unitTests', 'integrationTests']);

/// Misc Tasks
const allTypeScript = [
'src/**/*.ts',
Expand All @@ -55,7 +65,7 @@ const lintReporter = (output, file, options) => {
};

gulp.task('tslint', () => {
gulp.src(allTypeScript)
return gulp.src(allTypeScript)
.pipe(tslint({
program: require('tslint').Linter.createProgram("./tsconfig.json"),
configuration: "./tslint.json"
Expand All @@ -66,14 +76,19 @@ gulp.task('tslint', () => {
}))
});

gulp.task('pr-check', () => {
gulp.task('pr-check', (done) => {
const packageJson = JSON.parse(fs.readFileSync('./package.json').toString());
if (packageJson.activationEvents.length !== 1 && packageJson.activationEvents[0] !== '*') {
console.log('Please make sure to not check in package.json that has been rewritten by the extension activation. If you intended to have changes in package.json, please only check-in your changes. If you did not, please run `git checkout -- package.json`.');
done();
process.exit(1);
}

done();
});

gulp.task('generateOptionsSchema', () => {
gulp.task('generateOptionsSchema', (done) => {
optionsSchemaGenerator.generateOptionsSchema();

done();
});
Loading