VisualStudioCodeArduino icon indicating copy to clipboard operation
VisualStudioCodeArduino copied to clipboard

doesn't use the syntax highlight in 0.10.1

Open mp3tobi opened this issue 9 years ago • 4 comments

Hello.

I just wanted to setup my code Installation with your cool extension. I used the same arduino version and copied your ino folder to ~/.vscode/extensions Also copied the task.json file to the .vscode directory in my sketchfolder.

I can also use Ctrl+Shift+T --> it compiles.

But no syntax Highlighting :( And no menu via Ctrl+Shift+P and tasks.

Do you know how to fix this? :) Hope MS will not break the extension in the next version. :)

Greetings, Tobi

mp3tobi avatar Nov 20 '15 23:11 mp3tobi

Hi Tobi,

Yes, I'll tweak it as soon as I get the chance so that it works with 0.10 again. As you noticed, VS Code is still very much in flux ;)

Cheers, -Fabien.

0b1-k avatar Nov 21 '15 04:11 0b1-k

Hi Fabien,

no problem, you did a good job with this extension. I think the only problem is about the path to gulp.js in ino/package.json But I don't know. Hopefully VS Code has with 0.10 an existing extension API, which we can rely on. :) They wrote about it in the release notes, but nobody knows. It's stil a beta. ;)

Cheers, Tobi

mp3tobi avatar Nov 24 '15 16:11 mp3tobi

I can confirm syntax highlighting is not working in vs code 0.10.

I know this is not a solution to the problem of this extension not working, but there is a working one in the vscode marketplace: (apparently written by someone else) https://marketplace.visualstudio.com/items?itemName=moozzyk.Arduino

I'm currently using this with the tasks.json from this repository

rickjansen-dev avatar Feb 02 '16 12:02 rickjansen-dev

Yes this arduino syntaxhighlighting works for me too. :)

mp3tobi avatar Feb 02 '16 15:02 mp3tobi