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

Ensure intelliSenseMode matches default compiler #5352

Closed
michelleangela opened this issue Apr 23, 2020 · 2 comments
Closed

Ensure intelliSenseMode matches default compiler #5352

michelleangela opened this issue Apr 23, 2020 · 2 comments
Labels
Feature: Configuration An issue related to configuring the extension or IntelliSense fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@michelleangela
Copy link
Contributor

michelleangela commented Apr 23, 2020

When defaults are set in c_cpp_properties.json, there could be a case that the default compiler found does not match the set default intelliSenseMode .

Task
Add logic to ensure to select an intelliSenseMode that matches the found default compiler.

Expected behavior:

Default intelliSenseMode if default compiler is found:

Default compiler Expected IntelliSenseMode
Clang Clang-x64
GCC Gcc-x64
MSVC Msvc-x64
unknown Default for host development platform

Default intelliSenseMode if compiler is unknown:

Platform Expected IntelliSenseMode
macOS Clang-x64
Linux x64 Gcc-x64
Windows Msvc-x64
@michelleangela michelleangela added Feature: Configuration An issue related to configuring the extension or IntelliSense Language Service labels Apr 23, 2020
@michelleangela michelleangela changed the title Ensure default compiler matches intelliSenseMode Ensure intelliSenseMode matches default compiler Apr 24, 2020
@bobbrow
Copy link
Member

bobbrow commented May 14, 2020

@michelleangela was this completed in 0.28.0?

@bobbrow
Copy link
Member

bobbrow commented May 14, 2020

If so, can you close it? Otherwise, can you set the milestone on this for 0.29.0?

@michelleangela michelleangela added this to the 0.29.0 milestone May 14, 2020
@bobbrow bobbrow modified the milestones: 0.29.0, 0.30.0 Jul 7, 2020
@michelleangela michelleangela added the fixed Check the Milestone for the release in which the fix is or will be available. label Jul 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
@michelleangela michelleangela removed their assignment Feb 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature: Configuration An issue related to configuring the extension or IntelliSense fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

3 participants