The IntelliSense can't work normally .But it's normal in other lanangue like c/c++
chaseaishang opened this issue · 2 comments
The "function"and "struct",can't jump to the declaration。When use "ctrl+leftButton"
And the outline show that it can't find any function .
I try to use “files.associations”:{"*.cl":“c”}. Then they can jump. But the opencl's key word don't work.
And It shows command-line error: language modes specified are incompatible C/C++(1027)
Hi, @chaseaishang!
The "function"and "struct",can't jump to the declaration。When use "ctrl+leftButton"
vscode-opencl
extension uses opencl-language-server, which only supports "PublishDiagnostics" capability. It seems that you are referring to a so-called "definition provider", which is not currently supported.
language modes specified are incompatible C/C++(1027)
You changed the file extension from .cl
to .c
, so vscode-opencl
extension is no longer responsible for reporting diagnostics for hellocl.c
file. I can't say for sure, but seems like this message came from a compiler and is handled by another vscode extension associated with C
language.