Do a recommend folders structure for plugins exists?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Do a recommend folders structure for plugins exists?

Post by *nevidimka »

The autoinstall feature of plugins is very fine. But I have some trouble with that the automatic suggested installation path:

I changed installation path to e.g.
%COMMANDER_PATH%\PLUGINS\DirSizeCalc
next time when I install a plugin the default path is changed to
%COMMANDER_PATH%\wdx\Directory
I don't like that because I have to change this suggested path every time by hand.

Different variants (add your variant if you want)
1st:
%COMMANDER_PATH%\wdx
%COMMANDER_PATH%\wfx
%COMMANDER_PATH%\wlx
%COMMANDER_PATH%\wcx
plus a folder for every plugin

2nd: (my preference)
%COMMANDER_PATH%\PLUGINS
plus a folder for every plugin

3rd:
%COMMANDER_PATH%\PLUGINS\wdx
%COMMANDER_PATH%\PLUGINS\wfx
%COMMANDER_PATH%\PLUGINS\wlx
%COMMANDER_PATH%\PLUGINS\wcx
plus a folder for every plugin

Which variant do you prefer?
Which variant is recommend by the developer(s)?
Do a standard folder structure exists?
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

I use the 3rd way. It seems to be the most clear for me.
I used to have something like this before:
%COMMANDER_PATH%\PLUGINS\Lister\ plus a folder for every plugin
but now it looks as in your example.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

I also use the 3rd method, but the names of folders are different:
%COMMANDER_PATH%\Plugins\Content Plugins\
%COMMANDER_PATH%\Plugins\FileSystem Plugins\
%COMMANDER_PATH%\Plugins\Lister Plugins\
%COMMANDER_PATH%\Plugins\Packer Plugins\
And for every plugin there is a subfolder with the plugin's name.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

In addition to 1st and 3rd variant: in this cases there is no need of a prefix (of plugin-type) for a single plugin folder
e.g. exif-plugin uses standard folder wdx_exif

That is IMHO superfluous and unnecessary.
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed the 3rd method is the officially used and supported one, so if possible, you should use this method.
Author of Total Commander
https://www.ghisler.com
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

Indeed the 3rd method is the officially used and supported one, so if possible, you should use this method.
I really don't understand this. Why user should store plugin by interface type? I use 2nd method - %COMMANDER_PATH%\PLUGINS\<plugin folder>.
It is much more logical way (at least for me).
Moreover sometime <plugin folder> contains several different plugins because all of them related to the same area. For example I keep in ENCRYPTION folder all my plugin related to data encryption. So when i need to take them to another computer I just cannot forget any encryption plugin regardless of plugin type.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2VadiMGP
Using 66 plugins at the same time it's better for me to group them - it's easier to find them if need it.
I segregate them by type, you by its function.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

I segregate them by type, you by its function.
Right. Because as user I always know plugin functionality (otherwise I don't use it) ;)
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3311
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

I use the 3rd Method.
Hoecker sie sind raus!
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

same here, third method.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I don't use %commander_path% variable at all but instead my own environment variables:

%tc_plugins%\WCX
%tc_plugins%\WDX
%tc_plugins%\WFX
%tc_plugins%\WLX

with %tc_plugins%=%appdata%\Total Commander\Plugins

So, it's the third method at another place. :)

Icfu
This account is for sale
Raymond
Senior Member
Senior Member
Posts: 454
Joined: 2003-02-08, 15:43 UTC

Post by *Raymond »

I use 1st method, together with

%COMMANDER_PATH%\language
%COMMANDER_PATH%\tools
etc

It's clear enough for me.
With 3rd method, I have to take one more step, unnecessarily IMHO, to where I want to.

Plus I make plugin foldername with version number, like

D:\Totalcmd\wfx\Registry 2.6.1\

So It's easy to know if it's the latest one.
Plugins update so frenquently (I'm happy about it anyway :D) .
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

I agree with Raymond.
1st method is clear and easy. 3rd method is only more work....
...BRB...
Post Reply