skip to Main Content

I currently have this in settings which does this trick when the comments are just text

        {
            "scope": "comment.block.cfml",
            "settings": {
                "foreground": "#f5cd76"
            }
        }

However if there are tags then the tags use their default color. I can see for a split second that the color of all the comment block is correct which tells me that something is overwrite it?

This is what it does

What it does

What i want it to do

What i want it to do

2

Answers


  1. Chosen as BEST ANSWER
    {
                "scope": "comment",
                "settings": {
                    "foreground": "#f5cd76"
                }
            }
    

    this seemed to of worked


  2. You could install the CFML package for VSCode. (Assuming that’s what you meant by Visual Code.) It identifies all the "parts" of statements and triggers what’s needed, generally. Never had an issue. (Though I have had an issue with it using script comments (//) instead of the markup comments <!— —>.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search