News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Plugin files stucture myPlugin.cbplugin

Started by omlk, November 15, 2023, 03:18:09 PM

Previous topic - Next topic

omlk

Please tell me which files and in which structure they should be created so that a plugin with the *.cbplugin extension can be installed through the code::blocks.
Example:

myPlugin_v1.0.0.cbplugin
  | - manifest.xml
  | - my_plugin.dll
  | - myPlugin_v1.0.0.zip
  | - ...

Pecan

#1
Quote from: omlk on November 15, 2023, 03:18:09 PM
Please tell me which files and in which structure they should be created so that a plugin with the *.cbplugin extension can be installed through the code::blocks.
Example:

myPlugin_v1.0.0.cbplugin
  | - manifest.xml
  | - my_plugin.dll
  | - myPlugin_v1.0.0.zip
  | - ...


The *.cbplugin needs a .zip file containing the manifest.
Along with the .zip file, *.cbplugin needs the .dll file.
So it looks like:
*.cbPlugin
|- myPlugin.zip
     |- myManifest.xml
|- myPlugin.dll

.cbplugin is actually a .zip file renamed to cbplugin.
You can also include resources within the internal myPlugin.zip file along with the .xml manifest file.
Like images that can be loaded by the .dll

Wkerry

It's there info in the wiki?
Did omil look in the wiki or is omil lazy?

omlk

#3
Quote from: Wkerry on November 16, 2023, 09:56:12 AM
It's there info in the wiki?
Did omil look in the wiki or is omil lazy?
Of course, I accidentally came across the wiki, but I don't know about you, but everything is so confusing and there is a lot of text, that I think it could all be shown on one screenshot with arrows, what comes from where and where.  ;) 
Creating a simple "Hello World" plugin



* codeblocks_plugin_wiki.PNG (62.95 kB, 1271x721 )


omlk

Quote from: Miguel Gimenez on November 16, 2023, 03:51:19 PM
Managing Plug-in Resources
Which version of the widgets would you recommend 2.8.x or 3.3.x?
And is all this information on the wiki up to date?

Miguel Gimenez

QuoteWhich version of the widgets would you recommend 2.8.x or 3.3.x?
3.2.3. 2.8.x is not supported anymore.
QuoteIs all this information on the wiki up to date?
Mostly