Hi all,
You can now get the sample project for creating plugins for CW.
The sample is a clip manager. Basically what it does is it sits in the context menu of the code editor, and you can highlight stuff and click "Add to Clip Manager" for quick pasting.
The sample demonstrates the following:
- Constructing a plugin class with proper interface and attributes;
- Initialization of icon resources;
- Adding and destroying a workspace tab;
- Adding and controling a context menu item to the editor;
- Adding a context menu item in the Window -> Plugins menu;
- Adding a custom configuration page;
- Interacting with the code editor;
- Saving and loading configuration values from the global user configuration.
If you have any questions, feel free to ask.
NOTE: If you use the ConfigGetValue or ConfigSetValue, your class must pass back a valid GUID via the exposed PluginGuid property (required by the interface).
Testing/Deployment: Copy your plugin over to the \Plugins directory of the CW install folder. If it doesn't exist, create it. Make sure your DLL starts with "tdp_" (for example, "tdp_testing.dll") and it will load on startup.













Author

Logged

how i can bind some action of my plugin to a shorctu on the editor?