Giter VIP home page Giter VIP logo

Comments (6)

atomi avatar atomi commented on August 15, 2024

Yup. Thanks for this. It shouldn't be too difficult to remedy (including the js script). But it will take a little time since we'll need to move some code chunks into the tmLanguage repository to maximize code re-use and prevent code duplication. Again, thanks. Posting these issues is really helpful.

Other than cfparam. cfif, cfelse and cfoutput are there any other tags you think should be highlighted in cfquery and script tags?
I'm not sure if cfset, for example, should be highlighted inside these tags, is that tag common in cfquery or script tags?

from coldfusion.

trentrichardson avatar trentrichardson commented on August 15, 2024

I would also include cfelseif, cfloop, cfswitch, cfcase, cfdefaultcase.. Those being conditional/flow control tags I would definitely recommend those.

Hate to say but cflock, cftry, cfcatch, cffinally, cferror I guess could be used.. They don't feel appropriate, but I guess CF would permit their use?

from coldfusion.

atomi avatar atomi commented on August 15, 2024

I agree I'll go ahead and add the conditional/flow and exception handling tags too.

from coldfusion.

trentrichardson avatar trentrichardson commented on August 15, 2024

Thanks a ton!

from coldfusion.

atomi avatar atomi commented on August 15, 2024

including text.html.cfm in js script tags breaks source.js highlighting ref #98

from coldfusion.

atomi avatar atomi commented on August 15, 2024

I have a solution for including cfml highlighting in source.js script tags but it's going to need a few days testing as there are other projects that depend on some specific definitions that need to be changed...

Will leave this open for now.

from coldfusion.

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.