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

Poorly colored .ino source #321

Open
alexis-eurecat opened this issue Jan 20, 2021 · 0 comments
Open

Poorly colored .ino source #321

alexis-eurecat opened this issue Jan 20, 2021 · 0 comments

Comments

@alexis-eurecat
Copy link

Hello,
this seems to be some strange issue, as I am also using Deviot on MacOS an it is going like a charm; great work by the way.

I am not sure if this is a Deviot problem, in case it is not, sorry for any inconvenience

Operating system

Ubuntu 18.04

Description of problem

The source code is poorly colored

Errors in ST Console

There are a lot of these, but just a resume:

no such context scope:source.c#comments at line 274 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#modifiers at line 281 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#incomplete-inc at line 1393 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#pragma-mark at line 1395 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#comments at line 274 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#keywords at line 293 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#numbers at line 306 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax
no such context scope:source.c#operators at line 277 column 16 in Packages/Deviot (Arduino IDE)/deviot.sublime-syntax

Steps to Reproduce

Download ST3, install Deviot plugin (maybe do something strange?) and code something with arduino langage

Actual Results

The coloring of source code is not good

Expected Results

C alike coloring for .ino files

Additional info

Deviot cannot find C ¿scope?. I checked and C formatting is working as expected. Also I was working with ST3 installed via Snap, and i unisntalled it and reinstalled using apt-get, so I guess that was not the problem

Does anyone know how to solve this?

PS: I attach some images
Deviot formatting:
image

C formatting:
image

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

1 participant