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

The files.associations doesn't work with 1.13.6 #10244

Closed
JeanMiK opened this issue Dec 7, 2022 · 1 comment
Closed

The files.associations doesn't work with 1.13.6 #10244

JeanMiK opened this issue Dec 7, 2022 · 1 comment
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix regression A bug that didn't exist in a previous release
Milestone

Comments

@JeanMiK
Copy link

JeanMiK commented Dec 7, 2022

Environment

  • OS and Version: RedHat Linux 7.9
  • VS Code Version: 1.72.1
  • C/C++ Extension Version: 1.13.6

Bug Summary and Steps to Reproduce

Bug Summary:

If one has C++ code in a file with a '.C' extension, the C++ standard header finds are no longer found, instead, Intellisense indicates an error "cannot open source file "iostream"" and "#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit ".

Quick Fix proposes to add the standard path to includePath, e.g.
/usr/include/c++/4.8.2
but his does not work, either.

Bug appeared (for me) with version v1.13.6. Downgrading to previous version (v1.12.4) solves the issue for me. From the outside, it is basically the same as the previous, sucessfully solved issue #6497.

compile_commands.json is being used.

Steps to reproduce:

Write a simple HelloWorld program in a file HelloWorld.C using e.g

Expected behavior

C++ standard include files shold be found

Code sample and Logs

#include <iostream>

int main()
{
    std::cout << "Hello world!\n";
}

Screenshots

No response

Additional context

No response

@sean-mcmanus sean-mcmanus added bug Language Service regression A bug that didn't exist in a previous release labels Dec 7, 2022
@sean-mcmanus sean-mcmanus added this to the 1.14 milestone Dec 7, 2022
@sean-mcmanus sean-mcmanus pinned this issue Dec 7, 2022
@sean-mcmanus sean-mcmanus modified the milestones: 1.14, 1.13.7 Dec 7, 2022
@sean-mcmanus sean-mcmanus assigned sean-mcmanus and unassigned Colengms Dec 7, 2022
@sean-mcmanus sean-mcmanus changed the title Inclusion of C++ standard headers not working for C++ code in files with '.C' extension. Reoccurrence of #6497 The files.associations doesn't work with 1.13.6 Dec 7, 2022
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Dec 7, 2022
@sean-mcmanus
Copy link
Contributor

@sean-mcmanus sean-mcmanus unpinned this issue Dec 8, 2022
@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
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix regression A bug that didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

3 participants