-
Notifications
You must be signed in to change notification settings - Fork 21
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
Makefile syntax highlighting #18
Comments
Fixed here (pull request is still not merged to the master): #15 |
It has been broken for a year since announcement of Microsoft https://devblogs.microsoft.com/cppblog/now-announcing-makefile-support-in-visual-studio-code/ |
is there any advance on this issue? because not only the highlighting is broken, but also the conditional declarations highlighting is broken, the disabled/inactive part of the statement should be greyed out, currently we cannot see what is active and inactive which is quite a pain when you have complex makefiles with thousand of lines and hundreds and inactive blocks |
@0x0fe Makefile syntax highlighting is static, it doesn't analyze context, it's how it's implemented. @ds0nt @andrey-gvrd @Sunbreak Somehow I didn't notice that original complaint under that huge screenshot :) |
By "static" do you imply it will only parse the current file and not take into account any other file of the project to compute the synthax highlighting? If so i dont think that is how it should behave and it is definitely not how most IDE behave, most IDE will take into account both all the makefiles and also all the includes, and highligh the makefile accordingly. |
From @ds0nt on June 13, 2017 22:51
When editing a makefile, sometimes things don't color as prettily as they could.
I've noticed this when using an
ifeq
block, in particular.As you can see, the variables that are indented are not colored, and neither is the
else ifeq
.Copied from original issue: microsoft/vscode#28668
The text was updated successfully, but these errors were encountered: