Hi,
I have developed a simple cheat sheet in eclipse.
Now I want to install that cheat sheet plugin in eclipse itself
Can anyone help me how to do that???
Hi,
I have developed a simple cheat sheet in eclipse.
Now I want to install that cheat sheet plugin in eclipse itself
Can anyone help me how to do that???
If you have developed a cheat sheet plugin as described in the Eclipse help, with the right extension point like:
<extension point="org.eclipse.ui.cheatsheets.cheatSheetContent">
<cheatsheet
name="%cheatsheet.helloworld.name"
contentFile="$nl$/cheatsheets/HelloWorld.xml"
id="org.eclipse.jdt.helloworld">
<description>%cheatsheet.helloworld.desc</description>
</cheatsheet>
, then you can launch and test your plugin in another instance of Eclipse.
Run > Run As > Run-time Workbench
This is called self-hosting
Once tested, you need to deploy it in your own Eclipse instance. See PDE UI FAQ
To test code in the host, you need to export and install into the running Eclipse instance.
To export plug-ins and features and install them into the host Eclipse do the following:
- Develop your plug-ins and features in the workspace
- Open the export wizard, either
File > Export... > Plug-in Development > Deployable plug-ins and fragments
orFile > Export... > Plug-in Development > Deployable features
- Select your plug-ins or features to export and install
- Select the last option on the Destination tab Install into host. Repository. Then choose a directory to create the repository in
- Hit Finish. The export operation will run followed by the installation operation.
- If the operations completed successfully, you will be prompted to restart. Choose to restart now
Your plug-ins will be installed and running after the restart.
You can see what has been installed using the Installation Details button on the About Dialog (available by going toHelp > About Eclipse SDK
)
yes i have done that..now i want to install my cheatsheet in eclipse own instance (not in another instance)...like in eclipse Help->CheatSheet it will open a window to select cheatsheet..i want my cheatsheet there..in same plugin instance not in another...another is only for testing purpose and i have tested it.,,,,plz tell me how to do that??
Thanks buddy... I have tried this it is working fine. But it is not working with all eclipse versions...only it is working with specific versions..like in "eclipse-rcp-galileo-SR2-win32"..etc..how to make it global so that it will work for maximum version..can u explain the reason why it is working for specific versions only????