Feb
2
2010
CFEclipse 1.3.5 - Bug found + workaround
Posted by Marcos Placona at 12:10 PM
6 comments - Categories:
ColdFusion | CFML - 101

(Photo: slowdown)
Earlier today, I posted about CFEclipse 1.3.5 being released. Right after doing that, I found this and tried reporting on track, but it wouldn't let me register for some reason.
This will only work for newly installed CFE 1.3.5, as if you've already tweaked your install, you most likely "fixed" it.
After updating to 1.3.5, I've noticed that whenever I copied and pasted a tag, a bloody space (indent) would be added before the tag. While this helps, it's a bit annoying when you're pasting things that are not supposed to be indented.
i.e.
Let say you have:
<cfset tmp = true>
You then copy it, and want to paste it right on the next line. Currently you'd get something like this:
<cfset tmp = true> <cfset tmp = true>
This is really annoying.
Turns out the setting responsible for this is "auto-indent pasted tags", which will be on Window -> Preferences -> CFEclipse -> Editor -> Auto-insertion and Closing.

When you get there, you will see it's disabled.
I first tried disabling everything else, but still had the indentions being added.
I then tried enabling everything, and got the same results.
I then disabled only the "auto-indent pasted tags", and that did the trick.
It turns out it needs to be enabled first, in order to be disabled. Must be a default variable set to true lurking around, but that indeed fixed the annoying auto-indent.

Mark Drew wrote on 02/02/10 12:40 PM
We disabled trac registration since we were getting far too much spam.Good find though!
MD