eclipse-pde

Deploying a newly developed Eclipse Plugin

南楼画角 提交于 2019-12-03 03:42:10
问题 I have written an Eclpise plugin (an Error Parser for the CDT), and it works just fine in the debugger version of eclipse. However I cannot for the life of me figure out how to install the plugin into eclipse. I can export the plugin as a jar file, and it seems to export without errors. I put the plugin jar file into eclipse\dropins and it is not loaded by eclipse. If I add it to the plugins directory, no luck. The features directory also seems to ignore my plugin. So I thought, OK, I'll try

How to get the logs of platform plugins in eclipse

旧街凉风 提交于 2019-12-02 18:12:17
问题 I am new to eclipse plugin development. I would like to customise some of the eclipse functionalities in my plugin. So I would like to know, what happens in the background when I do some operation in eclipse. For e.g., File->New->Project. I need the logs/Trace of which plugin/Class/Function is called? 回答1: You can use the -debug <path to options file> argument when you start Eclipse to specify the path of a debug options file which is used to enable various debug tracing options. You may also

Deploying a newly developed Eclipse Plugin

拟墨画扇 提交于 2019-12-02 17:10:42
I have written an Eclpise plugin (an Error Parser for the CDT), and it works just fine in the debugger version of eclipse. However I cannot for the life of me figure out how to install the plugin into eclipse. I can export the plugin as a jar file, and it seems to export without errors. I put the plugin jar file into eclipse\dropins and it is not loaded by eclipse. If I add it to the plugins directory, no luck. The features directory also seems to ignore my plugin. So I thought, OK, I'll try installing it through the GUI. So I browse to where the plugin archive is and add it as a local update

How to build a feature to a zip file using Tycho

谁说胖子不能爱 提交于 2019-12-02 10:52:58
问题 I'm trying to export an Eclipse feature using Tycho, replacing the "Export Wizard" found on the Eclipse overview of the feature. The wizard gives the option for the export destination as a zip file. Is there a way to do the same with Tycho? 回答1: In order to build a zip file with the feature and the feature's plug-ins, you need to add a module of the assembly packaging type eclipse-repository to your reactor: Add an eclipse-repository module with the same parent POM as the eclipse-feature

Override the dependencies added during running a project as an Eclipse Application

旧巷老猫 提交于 2019-12-02 10:33:27
I am trying to write a custom launch configuration while running a plugin project as an eclipse application. I have to run the plugin with limited dependencies. Is it possible to override methods in org.eclipse.pde.launching.EclipseApplicationLaunchConfiguration ? If yes then how do I do it ? You can't easily override the methods in EclipseApplicationLaunchConfiguration . That would require writing a new launch configuration - probably by using the org.eclipse.debug.core.launchConfigurationTypes extension point to define a new launch type. EclipseApplicationLaunchConfiguration always uses the

How to get the logs of platform plugins in eclipse

只愿长相守 提交于 2019-12-02 09:02:06
I am new to eclipse plugin development. I would like to customise some of the eclipse functionalities in my plugin. So I would like to know, what happens in the background when I do some operation in eclipse. For e.g., File->New->Project. I need the logs/Trace of which plugin/Class/Function is called? You can use the -debug <path to options file> argument when you start Eclipse to specify the path of a debug options file which is used to enable various debug tracing options. You may also want to use the -consoleLog argument. A example options file would be: # Turn on debugging for the org

Eclipse CDT Project Template - Setting Drop-Down Options

老子叫甜甜 提交于 2019-12-02 03:30:43
问题 I'm trying to create a New Project template for Eclipse CDT in order to address my question asked here. @Jonah Graham provided a very detailed walk-through in his answer to 1 and this has gotten me most of the way. However, I can't figure out how to set an option that is specified via a drop-down; e.g. Dialect / Language Standard to ISO C++11 (-std=c++01) on the Settings / Tool Settings / GCC C++ Compiler / Dialect tab. The same issue would arise if I wanted to change the default Optimization

Eclipse CDT Project Template - Setting Drop-Down Options

柔情痞子 提交于 2019-12-02 00:17:55
I'm trying to create a New Project template for Eclipse CDT in order to address my question asked here . @Jonah Graham provided a very detailed walk-through in his answer to 1 and this has gotten me most of the way. However, I can't figure out how to set an option that is specified via a drop-down; e.g. Dialect / Language Standard to ISO C++11 (-std=c++01) on the Settings / Tool Settings / GCC C++ Compiler / Dialect tab. The same issue would arise if I wanted to change the default Optimization or Debug levels, etc. I thought perhaps this could be accomplished via something like <process type=

Eclipse plugin development : How to listen events in Eclipse editor

十年热恋 提交于 2019-12-01 08:18:43
问题 I am trying to develop an eclipse plug-in. I am aware about the basics of this thing. In a sample plugin template when we click the menu entry (or button with eclipse icon in below image in this case) in testing instance of eclipse, execute method of sampleHandler.java is executed and a pop-up shown in image below appears. I want to invoke 'execute' method whenever I press some key (lets say backspace) in code editor instead of clicking any menu entry (or button). SampleHandler.java public

Eclipse PDE creating a new project

蓝咒 提交于 2019-12-01 06:22:18
问题 I'm using the Wizard Extension to get some settings from the user. After on my plugin modifies an Eclipse project and then it should be included into the Package Explorer. The whole thing is then quite similar to "New Project → Existing Project". But I can't find any solution or tutorial etc. how to include an Eclipse project to my package explorer via the wizard extension. 回答1: For anyone who´s interested this one works for me just perfect: IProjectDescription description = ResourcesPlugin