Feb 2 2010

CFEclipse 1.3.5 - Bug found + workaround

Posted by Marcos Placona at 12:10 PM
6 comments
- Categories: ColdFusion | CFML - 101

Bug found on CFEclipse 1.3.5
(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.

CFEclipse Auto-Indent pasted Tags

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.

Possibly Related Links:



Comments

Mark Drew

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
Marcos Placona

Marcos Placona wrote on 02/02/10 12:47 PM

Then that's why I can't register :-)

Any other way of logging bugs?
Dan G. Switzer, II

Dan G. Switzer, II wrote on 02/02/10 2:14 PM

I can confirm this behavior. My brother and I both ran into this yesterday on different installs and were able to fix it by turning this feature on and off again.
I twittered about it, but should have blogged it, so I'm glad someone did!
denny

denny wrote on 02/02/10 6:32 PM

This is fixed in the nightly build, yeehaw!
Shaun Hervey

Shaun Hervey wrote on 02/10/10 5:04 PM

Thanks so much. This bug was driving me insane.
Marcos Placona

Marcos Placona wrote on 02/10/10 5:08 PM

According to @denny, it's already been fixed, and if you download the nightly build, it will make it work properly.

I'd recommend it, as the nightly seems a lot more stable

Write your comment



(it will not be displayed)



Leave this field empty:







Related URLs

Subscribe

Categories

Search Archives

Monthly Archives