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

C++ code is not detected. #47

Open
AdrianMolecule opened this issue May 9, 2022 · 1 comment
Open

C++ code is not detected. #47

AdrianMolecule opened this issue May 9, 2022 · 1 comment

Comments

@AdrianMolecule
Copy link

AdrianMolecule commented May 9, 2022

I'm using PlatformIO which uses .cpp and .h files
I click in a .h file, select a field invoke c-mantic generate getters and setters and I get "Detected language is not C++, cannot create
image
a member"

It should work, it's C++.

Thank you,
Adrian

@zjeffer
Copy link

zjeffer commented Oct 8, 2022

I know this is an old issue, but It looks like the language mode for the selected file is not set to C++ (because you don't have type colors). This is a vscode issue: you can change the detected language in the bottom right of the window when your file is selected.

image

I think the issue will be fixed when you change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants