vscode-cmantic icon indicating copy to clipboard operation
vscode-cmantic copied to clipboard

C++ code is not detected.

Open AdrianMolecule opened this issue 2 years ago • 1 comments

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

AdrianMolecule avatar May 09 '22 22:05 AdrianMolecule

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.

zjeffer avatar Oct 08 '22 09:10 zjeffer