Automatic Close Tags

January 17, 2019
Newbie 1 posts
Followers: 0 people
3

Automatic Close Tags

Newbie 1 posts
Followers: 0 people
January 17, 2019

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?

Comments (3)
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 your comment