Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

update release notes and don't enable recursive includes by default in new folders#1948

Merged
bobbrow merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
bobbrow/apr-releasemicrosoft/vscode-cpptools:bobbrow/apr-releaseCopy head branch name to clipboard
May 7, 2018
Merged

update release notes and don't enable recursive includes by default in new folders#1948
bobbrow merged 2 commits into
mastermicrosoft/vscode-cpptools:masterfrom
bobbrow/apr-releasemicrosoft/vscode-cpptools:bobbrow/apr-releaseCopy head branch name to clipboard

Conversation

@bobbrow

@bobbrow bobbrow commented May 7, 2018

Copy link
Copy Markdown
Member

No description provided.

@bobbrow bobbrow requested review from WardenGnaw and sean-mcmanus May 7, 2018 19:44
if (!settings.defaultIncludePath) {
// We don't add system includes to the includePath anymore. The language server has this information.
configuration.includePath = ["${workspaceFolder}/**"].concat(this.vcpkgIncludes);
configuration.includePath = ["${workspaceFolder}"].concat(this.vcpkgIncludes);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this.vcpkgIncludes.unshift("${workspaceFolder}")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that unshift modifies the source array and returns the length instead of a new array. This is not what we want here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, I thought we were adding to this.vspkgIncludes. Nevermind!

@bobbrow bobbrow merged commit 7ea6122 into master May 7, 2018
@bobbrow bobbrow deleted the bobbrow/apr-release branch May 7, 2018 20:45
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.