Skip to main content
Participating Frequently
Feb 4, 2015 9:03 PM UTC
Question

Auto insert closing greater than sign

I am trying to transition from cfeclipse.  When I type a '<' I want cfbuilder to insert the closing '>' like it did in cfeclipse.  If the tag I enter requires a closing tag then I type over the '>' with my own '>' and it closes the tag.

So, typing '<cfdump' gets me <cfdump>

typing '<cfoutput>' gets me '<cfoutput></cfoutput>'

and so on.  Is there anyway to customize this behavior?

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Participant
Aug 2, 2017 6:48 PM UTC

I was looking for the same thing and it looks like this functionality has been added to CF Builder 2016.  This can be found by going to Window -> Preferences -> ColdFusion -> Profiles -> Editor -> Typing.  When you are there look under the section "Auto-close tags" and choose "When typing '>' of start tag", click Apply and you should be good to go.  This worked like a charm for me.

Hope that helps.

Mikeal

Translate
Charlie Arehart
Community Expert
Community Expert
Feb 5, 2015 3:15 PM UTC

The closest you’ll likely get is under Preferences>ColdFusion>Profiles>Editor>Typing, where there is an option for “auto-close tags”. I don’t know that the choices offered will do exactly what you want, and I’m not aware of any way to customize such things, though it may well be possible.

also, in case you ask any follow-up questions, it could be helpful to indicate if you are talking about CFBuilder 3 or 2.

/charlie

Translate
/Charlie (troubleshooter, carehart. org)
hammo7Author
Participating Frequently
Feb 5, 2015 3:18 PM UTC

CF Builder 3.  The '>' is not one of the options available.  I was hoping there was an XML config file hiding somewhere where one could customize the regular expressions used.

Translate
Charlie Arehart
Community Expert
Community Expert
Feb 5, 2015 3:48 PM UTC

Got it. That’s why I couched my response as I did.

/charlie

Translate
/Charlie (troubleshooter, carehart. org)