1

I work with ColdFusion in vscode with KamasamaK's CFML extension. In CF comment block is similar to HTML except it has additional 3rd -, like so:

<!--- comment --->

I want to take advantage of vscode recognizing #region [...] #endregion declarations to fold regions of my code. HTML comments work perfectly fine:

enter image description here

How can I make vscode #region work with CF comments?


I found this SO Q/A (which also led me to this and this pieces of documentation) but as far as I understood this is for when you build your own extensions. Quote from the top of this page:

Contribution Points are a set of JSON declarations that you make in the contributes field of the package.json Extension Manifest.

But I'm not building no extensions here, I just want to let vscode know that <!--- is a comment so that it recognizes #region.

1 Answers1

1

Unfortunately, that is something that Microsoft built into the HTML extension that Adobe has not built into the ColdFusion extension.

It might be possible for you to add it yourself, but since you say you're not an extension builder it will likely require that you ask Adobe to add that functionality if you want to see it implemented.

EddieLotter
  • 324
  • 3
  • 8