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

CUDA and C++

Open LucasDiazMiguez opened this issue 4 years ago • 1 comments

Hi, I have a problem. When im writting CUDA, it allows me to use some snippets and that is cool. But when I have to do a For loop, or a while loop, It doens't sugest anything. So I tried to add the extension C, or C++ and the CUDA one but it didnt work. So I hope u guys can give a hand. Greetings from Argentina

LucasDiazMiguez avatar Apr 13 '20 21:04 LucasDiazMiguez

Hello, this is what I wanted to do with this other project.

Maybe I should update the description of this project and update it on VS code repos so that it is very clear that it is only a snippet + syntax coloring plugin. But I thought it was clear.

To be fully transparent, since Clion started working pretty nicely with CUDA, and now is even officially supported, I lost interest into making CUDA work with VS Code. Also, unless there is a way to "import" existing Intellisense from C++ and just enhance it with a few missing CUDA keywords, the task to build an Intellisense for CUDA is gigantic and out of my reach, sorry.

EDIT: this plugin was easy to make, because it was easy to import existing C++ syntax rules and build upon them to support CUDA. I had a look for Intellisense, back in the day, and did not find a way to do the same.

kriegalex avatar Sep 08 '20 08:09 kriegalex