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

vscode extention NASM highlighting problem #12

Closed
yuval-steuer opened this issue Sep 18, 2018 · 1 comment
Closed

vscode extention NASM highlighting problem #12

yuval-steuer opened this issue Sep 18, 2018 · 1 comment

Comments

@yuval-steuer
Copy link

The vscode "x86 and x86_64 Assembly" extention seems to not highlight certain keywords on asm , and nasm files.
for instance :
global ,
section ,
etc...
However in the photo about vscode, global and section are clearly highlighted in lightblue.
This raises the suspesion that the vscode extention in the vscode market place needs some updating and is not on par with the github version here.
Thanks! great work!

@13xforever
Copy link
Owner

13xforever commented Sep 19, 2018

VS Code and Atom syntax highlighting is based on an older TextMate grammar format, which is limited and very hard to make it work correctly.

Sublime Text 3 introduced a newer, more flexible grammar engine which allowed a full grammar rewrite that follows the specs much more closely, and works almost perfectly.

Unfortunately, there's no easy way to backport it to older format, and thus vs code and atom will be limited in what they can highlight until either:

personally, I wouldn't hold my breath for any of this.

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

2 participants