January 17, 2019
Automatic Close Tags
Comments
(4)
January 17, 2019
Automatic Close Tags
Newbie 1 posts
Followers: 0 people
(4)

Hi, I’m new to ColdFusion Builder and have downloaded CFB 2018. I’m having trouble getting the editor window to automatically write the closing tag. I’ve gone into preferences and in the HTML section the autoclose tag item is checked. What else should I be doing?

4 Comments
2019-09-08 19:13:25
2019-09-08 19:13:25

I just had the same struggle and found the solution – you were close!  Under HTML -> Editor -> Typing I had to set the Auto-close tags to When typing ‘>’ of start tag.

Like
2019-01-17 21:07:40
2019-01-17 21:07:40

Are you opening the file as a .cfm file? Or if creating a new file, are you telling it to create a new CF file? It needs to know that a file is CFML before it will regard it as such.

Note also that if you don’t go to the additional step of defining what CFB calls a “project” (where you point it at the folder holding your code), then some additional features don’t work well.

If you may just be opening the editor and trying to have a go, you would do well to check out the docs that are available. They walk one through getting started, and understanding the features and how to enable them. At a minimum, check out the getting started guide:

https://helpx.adobe.com/coldfusion/getting-started-coldfusion-builder.html

Beyond that, see the CFB docs offered on the left (along with other CF docs) at:

https://helpx.adobe.com/coldfusion/user-guide.html

Like
2019-01-17 21:06:17
2019-01-17 21:06:17

just type </ the editor will write the corresponding closure tag.

Like
(1)
2019-01-17 21:05:05
2019-01-17 21:05:05

Let me give an off topic answer.

Use CFScript as much as possible
Automatic closing tags are often more trouble than they are worth

Like
Add Comment