Skip to main content
Participant
May 9, 2026

Adobe ColdFusion Builder extension for VS Code Syntax Highlighting Problem

  • May 9, 2026
  • 3 replies
  • 18 views

The syntax highlighting is one of the most important features for IDEs because they tell coders if there are problems with the code. I'm currently using version 1.0.701 and noticed an annoying problem whenever the “#” is found on the script. CF Builder assumes that every time it encounters a #, it is part of a variable evaluation, which is commonly used in CF tag attributes or between <cfoutput> tags. But in html, the # is used such as in css settings for colour. As a result, we get problems like these:

 

 

In this example, the # is used properly, and is part of standard html that is not parsed by the CF server. Adding a second # tricks CF Builder into thinking that the # has been escaped:

But this is wrong and will cause problems because the final html code that is sent to the end user's browser will contain two #s. The only way to fix the problem is additional CF code:

 

 

But this is an inefficient way of handling things. We shouldn't need to nest html tags within <cfoutput> when it isn't necessary.

 

I hope you can fix this. CF builder is being a bit overaggressive with the detection of #s.

 

 

    This topic has been closed for replies.

    3 replies

    lyew1Author
    Participant
    May 10, 2026

    OK moderator. I’ve reposted on the appropriate forum. Please feel free to delete this from this forum.

    jane-e
    Community Expert
    Community Expert
    May 11, 2026

    @lyew1 

    Moderators don’t have the ability to delete posts. I’ve locked it for you.

    Jane

    lyew1Author
    Participant
    May 10, 2026

    Oops. Sorry. I couldn’t find the Coldfusion forum under App Communities.

    jane-e
    Community Expert
    Community Expert
    May 10, 2026

    @lyew1 

    No worries, we are here to assist!

     

    One way is to filter to Business Solutions:

     

    Another is to sort alphabetically, then choose View More:

     

    Jane

    jane-e
    Community Expert
    Community Expert
    May 9, 2026

    @lyew1 

     

    Repost to the ColdFusion forum:

    https://community.adobe.com/coldfusion-580

     

    Jane