Comments (12)
Any chance of supporting this @atuttle?
from atom-language-cfml.
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. :)
from atom-language-cfml.
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.
from atom-language-cfml.
@David-Polehonski Sweet, I hope to try this out as soon as #35 is merged and released. Thanks for your work on this!
from atom-language-cfml.
published. please close this issue once you've verified the fix. :)
from atom-language-cfml.
Using version 0.8.4
, adding the following to my styles.less
file changes the cfml tags color:
atom-text-editor::shadow {
.entity.name.tag.cfml {
color: blue;
}
}
Thanks!
from atom-language-cfml.
In case anyone's interested, this will highlight the <
and >
bits as well
atom-text-editor::shadow {
.meta.tag.other.cfml, /* cffunction < and > */
.punctuation.tag.cfml, /* other < and > */
.entity.name.tag.cfml { /* tag names */
color: #B80;
}
}
from atom-language-cfml.
Just FYI for those who have a special place in their heart for cfeclipse, you may want to check out atom-theme-cfeclipse.
from atom-language-cfml.
Any other ideas on cf tags color? Can't find anything really good.
from atom-language-cfml.
@kliakos You mean the color of the tags? It depends on your theme, I suppose.
from atom-language-cfml.
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;
}
}
from atom-language-cfml.
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 <
or >
highlighted.)
from atom-language-cfml.
Related Issues (20)
- Adding addition file extention HOT 6
- Quotes breaks highlighting HOT 2
- Nested Comments breaks highlighting HOT 1
- Error after update to Atom 1.19 HOT 3
- CFC Method Outline/Structure View? HOT 5
- Changes to TextEditor.onDidChange and TextBuffer.onDidChange coming in Atom 1.23 HOT 1
- Atom 1.24 - script cfc syntax highlighting HOT 9
- Syntax Highlighting not working in CFCs HOT 21
- Not recognizing CFCs HOT 7
- Unable to install language-cfml HOT 1
- Multi-line Comments Broken HOT 4
- Syntax coloring fails HOT 14
- tag-generic-attribute-script doesn't allow underscores HOT 1
- Commenting uses wrong comment tag
- Syntax Highlighting Issue
- Any CF tag inside comments breaks comment highlighting HOT 1
- Using CTRL+CMD+Down Arrow to move code down results in an error sound HOT 2
- Different code coloring for CFML tags vs. HTML HOT 2
- wrong parsing HOT 5
- Jump to symbol? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-language-cfml.