Skip to main content
Participating Frequently
February 4, 2015
Question

Auto insert closing greater than sign

  • February 4, 2015
  • 2 replies
  • 756 views

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 has been closed for replies.

2 replies

Participant
August 2, 2017

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

Charlie Arehart
Community Expert
Community Expert
February 5, 2015

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

/Charlie (troubleshooter, carehart. org)
hammo7Author
Participating Frequently
February 5, 2015

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.

Charlie Arehart
Community Expert
Community Expert
February 5, 2015

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

/charlie

/Charlie (troubleshooter, carehart. org)