Step 0:


Checkout codelite sources
svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite

and load the workspace:
codelite/LiteEditor.workspace

Step 1:


Create new plugin using the wizard:
Plugins | Wizards | New CodeLite Plugin Wizard...

Assuming that the codelite sources are under:
/home/eran/codelite/

Wizard 1st page

Plugin Name: set the plugin's name (e.g. MyPlugin)
Description: set a short description (e.g. A plugin that does nothing!)

Wizard 2nd page

Project Path: set the path for the new plugin project file. codelite will generate here the required files + .project file.
THE PATH MUST ALREADY EXIST

In the example above set it to:

 /home/eran/codelite/MyPlugin

Select the root path for codelite sources: select the path for codelite sources, in my example it will be:

 /home/eran/codelite

Click FINISH and codelite will create a new project which will be added the workspace

Step 2:


Under Linux / Mac, you will need to update the configure script:

1.

Search for this entry in the 'configure' script:

 echo "CppCheck\\" >> Makefile

and add your plugin line right after it:

 echo "MyPlugin\\" >> Makefile

2.

Search for this entry in the 'configure' script:

 echo "Debugger_install\\" >> Makefile

and add the following line:

 echo "MyPlugin_install\\" >> Makefile

3.

Search for this entry in the 'configure' script:

 echo "Debugger_clean\\" >> Makefile

and add the following line:

 echo "MyPlugin_clean\\" >> Makefile

4.

Search for this entry in the 'configure' script:

 createPluginMakefile "cppchecker" "CppCheck" "\$(DESTDIR)$plugins_dir/" "../Runtime/plugins"

and add the following line (the first "MyPlugin" is the folder name and is case sensetive):

 createPluginMakefile "MyPlugin" "MyPlugin" "\$(DESTDIR)$plugins_dir/" "../Runtime/plugins"

Run configure and build codelite:

 ./configure && make

For Windows:
Hit F7 and let codelite do the build for you.

You should now have a plugin which does nothing... but you can see it under the main menu:
'Plugins | Manage Plugins...'

from here, the best thing is to open one of the existing plugins and have a look