Author Topic: Renaming a plugin  (Read 1681 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Renaming a plugin
« on: September 29, 2020, 07:46:55 PM »
Renaming the ZIP file, then attempting to load the plugin results in an error.

#1: "struction" seems like a typo.
#2: Slick could diagnose this and "just work", or provide a better error.
#3: Renaming a plugin with plugin-open and "save" doesn't work.

---------------------------
SlickEdit Pro
---------------------------
Plugin zip file 'C:\Users\jporkka\Documents\Slickedit\Macros\user_jporkkahtc.autoFixCols.ver.1.0.zip\user_jporkkahtc.autoFixCols\plugin.xml' has incorrect plugin struction. plugin.xml is missing
---------------------------
OK   
---------------------------


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6862
  • Hero Points: 528
Re: Renaming a plugin
« Reply #1 on: September 29, 2020, 10:38:03 PM »
The problem is that the folder name inside the plugin must match the plugin file name. It's a requirement at the moment. That way the the plugin file can be unzipped and used instead of the zip file. SlickEdit supports zipped and unzipped plugins (a directory) in a very similar way.

We'll fix up the error message.