Reading time: 2 – 3 minutes

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.

6 Responses to “CFEclipse 1.3.5 – Bug found + workaround”

  1. denny says:

    This is fixed in the nightly build, yeehaw!

  2. 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!

  3. Mark Drew says:

    We disabled trac registration since we were getting far too much spam.
    Good find though!
    MD

  4. Then that’s why I can’t register :-)

    Any other way of logging bugs?

  5. Shaun Hervey says:

    Thanks so much. This bug was driving me insane.

  6. 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

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>