Adobe ColdFusion Builder Extension for Visual Studio Code
Often, the main reason we use a purpose-built IDE for our development work is for getting help with things like code completion, hinting, scaffolding and other similar features. This is often a big differentiator from more simplified editors such as, for example, Notepad.
VS Code comes out of the box with many powerful features, but the CF extension adds specific code assist features for Adobe ColdFusion code.
One of the most basic features is code-coloring, allowing you to more easily read through your CFML code, with colors representing different types of sections of your code, such as attributes, functions, tags and the like. And that’s just the beginning.
For example, as you type in code inside of VS Code, you will be prompted with potential tags, functions, parameters and attributes.
But that is just the basics. If you have components written (CFCs) in the project, they will appear as options for createobject() or the <cfobject> tag. Methods inside of those CFCs will also appear, as well as lists of all built-in and user-defined functions.
If you’ve created variables, they will also be available to insert into your code. If you’ve created queries using the queryNew() or <cfquery> tag, they will be visible to use. And if you cfinclude a page, the functions, varibles, tags and queries from that page will also become available to view and use.