{"id":2948,"date":"2026-02-02T23:19:51","date_gmt":"2026-02-03T04:19:51","guid":{"rendered":"https:\/\/csimmons.dev\/blog\/?p=2948"},"modified":"2026-02-02T23:51:31","modified_gmt":"2026-02-03T04:51:31","slug":"better-comments-extension-for-cfml-development-in-vscode","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2026\/02\/better-comments-extension-for-cfml-development-in-vscode\/","title":{"rendered":"Better Comments extension for CFML development in VSCode"},"content":{"rendered":"<p>This is an example of using the Better Comments extension for CFML development in VSCode .<\/p>\n<p>The Better Comments extension visually highlights specially tagged comments (like TODO, !, or ?) using colors and styles so important notes, questions, and tasks stand out instantly in your code.<\/p>\n<p>You can define custom styles in either User or Workspace settings.json. You can set the color or backgroundColor, as well as underline, strikethrough, bold, and italic.<\/p>\n<p>Example of a custom <code>LUCEEONLY<\/code> comment:<\/p>\n<pre>    \"better-comments.tags\": [\n        {\n            \"tag\": \"luceeonly\",\n            \"color\": \"#3CBED0\",\n            \"strikethrough\": false,\n            \"underline\": false,\n            \"backgroundColor\": \"#transparent\",\n            \"bold\": true,\n            \"italic\": false\n        }\n    ]\n<\/pre>\n<p><strong>Gotcha 1:<\/strong> You must define all better-comments.tags in one location. Better Comments does not merge tag arrays.<\/p>\n<p><strong>Gotcha 2:<\/strong> When using CFML block comments in tag-based ColdFusion files, you must use <code>\/\/<\/code> as the first non-whitespace characters after the opening comment tag for Better Comments to recognize the comment type.<\/p>\n<p>Changes to settings may require reloading the VS Code window to take effect:<\/p>\n<p><code>CMD+SHIFT+P<\/code> &gt; Developer: Reload Window<\/p>\n<p>Results below:<\/p>\n<figure id=\"attachment_2963\" aria-describedby=\"caption-attachment-2963\" style=\"width: 1014px\" class=\"wp-caption alignnone\"><img width=\"1024\" height=\"580\" data-public-id=\"Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png\" loading=\"lazy\" decoding=\"async\" class=\"wp-post-2948 wp-image-2963 size-large\" src=\"https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_1024,h_580,c_scale\/f_auto,q_auto\/v1770094131\/Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png?_i=AA\" alt=\"Better Comments extension for CFML development in VSCode\" data-format=\"png\" data-transformations=\"f_auto,q_auto\" data-version=\"1770094131\" data-seo=\"1\" srcset=\"https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_1024,h_580,c_scale\/f_auto,q_auto\/v1770094131\/Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png?_i=AA 1024w, https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_300,h_170,c_scale\/f_auto,q_auto\/v1770094131\/Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png?_i=AA 300w, https:\/\/res.cloudinary.com\/ccsimmons\/images\/w_768,h_435,c_scale\/f_auto,q_auto\/v1770094131\/Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png?_i=AA 768w, https:\/\/res.cloudinary.com\/ccsimmons\/images\/f_auto,q_auto\/v1770094131\/Better-Comments-extension-for-CFML-development-in-VSCode-v2\/Better-Comments-extension-for-CFML-development-in-VSCode-v2.png?_i=AA 1236w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption id=\"caption-attachment-2963\" class=\"wp-caption-text\">Better Comments extension for CFML development in VSCode<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is an example of using the Better Comments extension for CFML development in VSCode . The Better Comments extension visually highlights specially tagged comments (like TODO, !, or ?) using colors and styles so important notes, questions, and tasks stand out instantly in your code. You can define custom styles in either User or &#8230; <a title=\"Better Comments extension for CFML development in VSCode\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2026\/02\/better-comments-extension-for-cfml-development-in-vscode\/\" aria-label=\"Read more about Better Comments extension for CFML development in VSCode\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48,53],"class_list":["post-2948","post","type-post","status-publish","format-standard","hentry","category-developer","tag-coldfusion","tag-vscode"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-Ly","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/2948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=2948"}],"version-history":[{"count":1,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/2948\/revisions"}],"predecessor-version":[{"id":2965,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/2948\/revisions\/2965"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=2948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=2948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=2948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}