Giter Site home page Giter Site logo

Comments (12)

ArtskydJ avatar ArtskydJ commented on June 27, 2024

Any chance of supporting this @atuttle?

from atom-language-cfml.

atuttle avatar atuttle commented on June 27, 2024

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.

David-Polehonski avatar David-Polehonski commented on June 27, 2024

@ArtskydJ

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.

tag-highlighting

from atom-language-cfml.

ArtskydJ avatar ArtskydJ commented on June 27, 2024

@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.

atuttle avatar atuttle commented on June 27, 2024

published. please close this issue once you've verified the fix. :)

from atom-language-cfml.

ArtskydJ avatar ArtskydJ commented on June 27, 2024

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.

ArtskydJ avatar ArtskydJ commented on June 27, 2024

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.

dajester2013 avatar dajester2013 commented on June 27, 2024

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.

kliakos avatar kliakos commented on June 27, 2024

Any other ideas on cf tags color? Can't find anything really good.

from atom-language-cfml.

ArtskydJ avatar ArtskydJ commented on June 27, 2024

@kliakos You mean the color of the tags? It depends on your theme, I suppose.

from atom-language-cfml.

atuttle avatar atuttle commented on June 27, 2024

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.

ArtskydJ avatar ArtskydJ commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.