[ANN] Tabifier 2.2 released

See http://www.intellij.org/twiki/bin/view/Main/TabifierPlugin to download.

Several bug fixes made:
- fixed indentation problem when tab size (e.g. 8) did not match indentation
(e.g. 4)
- no longer emit tab characters inside comments; fix alignment of modifiers
with embedded tabs.

Thanks to Kendall Collett, Ted Hill and Jordan Zimmerman for reporting the
problems and using the plugin!

-Dave


8 comments

Hello,

Excellent plugin -- thank you very much.

However, I have Tabifier installed on my home computer (Windows XP) as well as my work computer (Windows 2000). On my home box, the Tabifier appears as expected. At the office, the Tabifier option panel appears as it did in its 1.x version (no advance configuration settings).

I've tried in vain to delete the plugin, download a fresh copy and put it in the Idea /plugin folder. Yet the interface remains the same.

Do you have any idea what would cause such a thing? I'm certain its something I'm doing wrong, but can't seem to discover what it is. And yes, I'm 100% certain I'm downloading the correct version -- Plugin Manager (another IDEA plugin) reports the version I have installed as 2.2.

If you can help me, I would very much appreciate it.

Thank you in advance,

KeithC

0

Hi Keith,

Well, I'm glad it's working in at least one location for you!

I can only guess that you have both old and new versions of tabifier plugin
with different jarfile names in your plugin directory (or same names in
different subdirectories), and that IDEA's classloader happens to be loading
the old one first. I thought about renaming the package with the new
version of the tabifier (so you could have both versions) but ultimately did
not change it -- so a collision is possible. Plugin Manager uses an xml
file to determine version information, and I renamed the plugin from
"tabifier plugin" to "tabifier" (as well as version and description changes)
so it is possible that the Plugin Manager is confused.

If I were you, I would remove everything from the "plugins" directory except
starteamIntegration and tomcatIntegration. Move it all to some temporary
directory. Restart IDEA and make sure you have no tabifier plugin at all.
Then add back tabifier.jar and verify you've got 2.2. If not, delete that
tabifier.jar and install the 2.2 fresh from the intellij.org page. Finally,
move the other plugins (one by one, or in small batches) back from the
temporary directory to plugins, restarting IDEA after each move, and
verifying you still have the current one.

Let me know if you figure it out or not. If there's something wrong with
the Plugin Manager definition for tabifier, I'd like to fix it. If my
suggestions don't help, please supply a dir/s listing of plugins so I can
see what plugins you've got.

Thanks for using the plugin!

-Dave

"Keith" <ideaForums@keithcollison.com> wrote in message
news:28955424.1052752188009.JavaMail.javamailuser@localhost...

Hello,

>

Excellent plugin -- thank you very much.

>

However, I have Tabifier installed on my home computer (Windows XP) as

well as my work computer (Windows 2000). On my home box, the Tabifier
appears as expected. At the office, the Tabifier option panel appears as it
did in its 1.x version (no advance configuration settings).
>

I've tried in vain to delete the plugin, download a fresh copy and put it

in the Idea /plugin folder. Yet the interface remains the same.
>

Do you have any idea what would cause such a thing? I'm certain its

something I'm doing wrong, but can't seem to discover what it is. And yes,
I'm 100% certain I'm downloading the correct version -- Plugin Manager
(another IDEA plugin) reports the version I have installed as 2.2.
>

If you can help me, I would very much appreciate it.

>

Thank you in advance,

>

KeithC



0

Dave,

Thank you very much for your thorough explanation (esp. considering this will most likely be an error on my part).

I will do as you suggested and let you know how it goes.

Previously I had searched my computer for all files named "Tabifier.jar" and deleted them (or thought I did, anyway). You've seem to indicate that this would be the only name your plugin uses, but thought I'd make sure.

Thanks again!

KeithC

0

Hey Keith,

Even if tabifier.jar was renamed to anything else, it would still work (as
long as it was under plugins directory.) That's why I recommend removing
everything from plugins. Yes, I think the jar file has always been named
"tabifier.jar" but a clever or unsuspecting user (or maybe even an
improperly configured PluginManager xml config file) could rename it.

-Dave

"KeithC" <idea@keithcollison.com> wrote in message
news:24933899.1052829999764.JavaMail.jrun@is.intellij.net...

Dave,

>

Thank you very much for your thorough explanation (esp. considering this

will most likely be an error on my part).
>

I will do as you suggested and let you know how it goes.

>

Previously I had searched my computer for all files named "Tabifier.jar"

and deleted them (or thought I did, anyway). You've seem to indicate that
this would be the only name your plugin uses, but thought I'd make sure.
>

Thanks again!

>

KeithC

>


0

Dave,

I did as you suggested -- removing all plugins to a backup folder. Then I copied Tabifier to the plugin directory. Starting Idea, I was happy to see the proper Tabifier was installed. Thinking the problem was licked, I restored all my other installed plugins, only to find Tabifier reverted.

I removed (again) all plugin jars and started to restore them one-by-one (fun!). Finally, I found the offending plugin. It would seem that when I have the selector.jar (http://www.intellij.org/twiki/bin/view/Main/SelectorPlugin) installed, Tabifier reverts to its previous incarnation.

I fear I've little knowledge about plugin development, so I'm hesitant to speculate as to why that would happen. Peeking inside the selector.jar, however, reveals a tabifier.class, which I guess is what is (was) causing me problems.

Thanks again for your help!

Keith

0

Ahh, I see. Jordan put a copy of his tabifier plugin classes (old version)
into his Selector plugin. May have been an oversight.

Jordan, can you remove those classes and update the Selector plugin?

-Dave

"KeithC" <ideaForums@keithcollison.com> wrote in message
news:5438886.1052919168935.JavaMail.jrun@is.intellij.net...

Dave,

>

I did as you suggested -- removing all plugins to a backup folder. Then I

copied Tabifier to the plugin directory. Starting Idea, I was happy to see
the proper Tabifier was installed. Thinking the problem was licked, I
restored all my other installed plugins, only to find Tabifier reverted.
>

I removed (again) all plugin jars and started to restore them one-by-one

(fun!). Finally, I found the offending plugin. It would seem that when I
have the selector.jar
(http://www.intellij.org/twiki/bin/view/Main/SelectorPlugin) installed,
Tabifier reverts to its previous incarnation.
>

I fear I've little knowledge about plugin development, so I'm hesitant to

speculate as to why that would happen. Peeking inside the selector.jar,
however, reveals a tabifier.class, which I guess is what is (was) causing me
problems.
>

Thanks again for your help!

>

Keith



0

Hi Keith,

It's not quite as simple as removing the tabifier classes from Jordan's
Selector plugin. However, IDEA is about to include the Selector plugin
functionality so his plugin will no longer be necessary. Can you do without
Selector for the time being? If not, all I have to do is rename the package
and rerelease the Tabifier plugin.

Let me know,
-Dave

"KeithC" <ideaForums@keithcollison.com> wrote in message
news:5438886.1052919168935.JavaMail.jrun@is.intellij.net...

Dave,

>

I did as you suggested -- removing all plugins to a backup folder. Then I

copied Tabifier to the plugin directory. Starting Idea, I was happy to see
the proper Tabifier was installed. Thinking the problem was licked, I
restored all my other installed plugins, only to find Tabifier reverted.
>

I removed (again) all plugin jars and started to restore them one-by-one

(fun!). Finally, I found the offending plugin. It would seem that when I
have the selector.jar
(http://www.intellij.org/twiki/bin/view/Main/SelectorPlugin) installed,
Tabifier reverts to its previous incarnation.
>

I fear I've little knowledge about plugin development, so I'm hesitant to

speculate as to why that would happen. Peeking inside the selector.jar,
however, reveals a tabifier.class, which I guess is what is (was) causing me
problems.
>

Thanks again for your help!

>

Keith



0

Dave,

Excited though I was to do column-selection via the selector plugin, I find I seldom use it. I'll do without it until the Idea update.

Thanks!

Keith

0

Please sign in to leave a comment.