Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize all paths sent to cpptools #1103

Merged
merged 1 commit into from
Mar 2, 2020
Merged

Conversation

bobbrow
Copy link
Member

@bobbrow bobbrow commented Mar 2, 2020

This change addresses item #1099

The following changes are proposed:

Normalize relevant paths sent to cpptools. This should remove the duplicate entries in the browse configuration seen on Windows and macOS. It also makes the paths sent for SourceFileConfigurationItem objects consistent with the browse path.

@bobbrow bobbrow requested a review from a team March 2, 2020 19:24
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 think you can use map(util.platformNormalizePath) instead...not sure why the Linter doesn't always give that suggestion.

@bobbrow
Copy link
Member Author

bobbrow commented Mar 2, 2020

Stylistically we decided not to go that route. Thanks for the review!

@bobbrow bobbrow merged commit 8768eab into develop Mar 2, 2020
@bobbrow bobbrow deleted the bobbrow/cpptoolsNormalize branch March 2, 2020 23:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2022
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.

2 participants