-
Notifications
You must be signed in to change notification settings - Fork 24
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
feature request: show cf tags in different color #17
Comments
Any chance of supporting this @atuttle? |
I think it's a great idea. Unfortunately i don't have the time or the motivation to learn the syntax for defining languages in atom (it's not my every day editor), so I can't add it. But pull requests are welcome. :) |
Update: All cfml tags now have the class 'cfml' appened to them so you can define classes that target them in your own stylesheet now, see image below, it's not quite perfect yet but it's getting there. |
@David-Polehonski Sweet, I hope to try this out as soon as #35 is merged and released. Thanks for your work on this! |
published. please close this issue once you've verified the fix. :) |
Using version atom-text-editor::shadow {
.entity.name.tag.cfml {
color: blue;
}
} Thanks! |
In case anyone's interested, this will highlight the atom-text-editor::shadow {
.meta.tag.other.cfml, /* cffunction < and > */
.punctuation.tag.cfml, /* other < and > */
.entity.name.tag.cfml { /* tag names */
color: #B80;
}
} |
Just FYI for those who have a special place in their heart for cfeclipse, you may want to check out atom-theme-cfeclipse. |
Any other ideas on cf tags color? Can't find anything really good. |
@kliakos You mean the color of the tags? It depends on your theme, I suppose. |
Yep. I'm trying out apathy today, and using atom-text-editor::shadow {
.meta.tag.other.cfml, /* cffunction < and > */
.punctuation.tag.cfml, /* other < and > */
.entity.name.tag.cfml { /* tag names */
color: #AC58FA;
}
} |
I'm using atom-text-editor::shadow {
.entity.name.tag.cfml {
color: /* color here */;
}
} because otherwise the cffunction tags look funny. And it more closely resembles how the html is highlighted in cfml files. (The html does not have |
Right now,
<cf...>
tags and normal html tags show up as the same color.Maybe have a setting where coldfusion tags are highlighted some other color?
The text was updated successfully, but these errors were encountered: