Is the Tools folder read before the Plugins folder?
-
Just curious if scripts in the Tools folder are read before files in Plugins? Guess I'll do an experiment?
-
The answer is... no, don't count on it.
-
Jim, I think the idea of the Tools folder was that all the native SU Rubys would be housed there to keep them separate from 3rd party developments, which could then be placed in Plugins. We had some discussion in the beta forums a release or two back regarding the difficulty of upgrading and re-installing all the scripts when ones which are absolutely necessary...like sketchup.rb and langhandler.rb...get thrown into the same mix as all the other optional ones.
I'd think there is no difference in the priority; it's more a question of organizational tidiness. That being the case, it's probably counter-productive for developers to start writing scripts that install to the Tools folder. All that does is mix everything up again.
-
@alan fraser said:
Jim, I think the idea of the Tools folder was that all the native SU Rubys would be housed there to keep them separate from 3rd party developments, which could then be placed in Plugins. We had some discussion in the beta forums a release or two back regarding the difficulty of upgrading and re-installing all the scripts when ones which are absolutely necessary...like sketchup.rb and langhandler.rb...get thrown into the same mix as all the other optional ones.
I'd think there is no difference in the priority; it's more a question of organizational tidiness. That being the case, it's probably counter-productive for developers to start writing scripts that install to the Tools folder. All that does is mix everything up again.
The organizational separation makes logical sense, thanks for the explanation. There are already a number of plugins using the Tools folder, however.
-
Yes, I noticed LightUp was already in there on my system. Probably not a wise move.
It harks back to the problems people had when copying their entire Plugins folder from one release to another...with the Extensions like Sandbox not showing up etc.
The present separation allows Google to safely upgrade some of their own rubies and dlls...tucked away in the Tools folder...without the danger of people then reinstating older versions back when they copy over the Plugins folder.
Advertisement