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?
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.
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.
Got it. That’s why I couched my response as I did.
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.