Skip to content

Fixes include "header" issue with multi-root workspaces#10138

Merged
Bernardin-MS merged 9 commits intomainfrom
bdezius/4976
Dec 8, 2022
Merged

Fixes include "header" issue with multi-root workspaces#10138
Bernardin-MS merged 9 commits intomainfrom
bdezius/4976

Conversation

@Bernardin-MS
Copy link
Contributor

@Bernardin-MS Bernardin-MS commented Nov 11, 2022

Issue: #4983

sean-mcmanus
sean-mcmanus previously approved these changes Nov 17, 2022
Copy link
Contributor

@sean-mcmanus sean-mcmanus left a comment

Choose a reason for hiding this comment

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

I'm approving, but I'm not sure if this is what @Colengms was asking for or not so you should wait for his review.

@sean-mcmanus sean-mcmanus changed the title Fixes include "header" issue with mutli-root workspaces Fixes include "header" issue with multi-root workspaces Nov 22, 2022
Colengms
Colengms previously approved these changes Nov 29, 2022
sean-mcmanus
sean-mcmanus previously approved these changes Nov 29, 2022
@bobbrow bobbrow linked an issue Nov 29, 2022 that may be closed by this pull request
michelleangela
michelleangela previously approved these changes Dec 7, 2022
Copy link
Contributor

@sean-mcmanus sean-mcmanus left a comment

Choose a reason for hiding this comment

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

see my comment

@Bernardin-MS Bernardin-MS merged commit 58e184f into main Dec 8, 2022
@Bernardin-MS Bernardin-MS deleted the bdezius/4976 branch December 8, 2022 14:24
}

if (configuration.includePath) {
configuration.includePath = configuration.includePath.map((path: string) => this.resolvePath(path, this.isWin32));
Copy link
Contributor

Choose a reason for hiding this comment

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

@Colengms @Bernardin-MS This broke recursive includes because ${workspaceFolder}/** has the ** removed. I'm looking into a fix.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have a PR with a fix at #10337

@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2023
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.

Fully support relative paths in includePath

4 participants