eclipse-plugin

Unable to open multiple selected files and folders using Eclipse ShowInSystemExplorerHandler API

喜夏-厌秋 提交于 2020-07-23 06:31:22
问题 Hi I am using Eclipse ShowInSystemExplorerHandler API, it is working fine if I select a single file or folder. But it does not work for multiple selection of files or folders. I provide below the code snippet. Please help me how to resolve so that I should be able to open multiple folders/files in OS specific explorer. By the way I am using structuredSelection.forEach so that I can open all the files and folders. Find below the code. @SuppressWarnings("restriction") public class

Xtext DSL embedded editor in a dialog

匆匆过客 提交于 2020-07-18 05:28:20
问题 I am new to xtext, and i have created a DSL using xtext and i have generated the artifacts, which has generated the editor which has many features like content assist and syntax coloring now the problem is i want to embed the editor inside a dialog. For achieving this im using EmbeddedEditor, i am able to get the embedded editor and place it in the dialog, but the embedded editor is not displaying the contents of the file. The file C:/Eclipse_Work/workspace/runtime_workspace/apa/ex.mydsl

Error installing PMD on Eclipse Version: 2020-06 (4.16.0)

萝らか妹 提交于 2020-07-09 05:48:07
问题 I recently upgraded to Eclipse Version: 2020-06 ( 4.16.0 ) on Windows 10. My java version is "14.0.1" 2020-04-14 After the upgrade, I attempted to install Eclipse-PMD 2.0 from the Marketplace ( help / Eclipse Marketplace / etc. ) ...I receive the error(s): Cannot complete the install because some dependencies are not satisfiable Software being installed: a.jre.javase 14.0.0 Software being installed: Eclipse PMD Plug-in 2.0.0.202006052026 (ch.acanda.eclipse.pmd.feature.feature.group 2.0.0

Add two plugins of same version

笑着哭i 提交于 2020-06-18 10:43:25
问题 How to add two plugins of same name with different version in eclipse product file? For example - lua editor plugins has a plugin named com.naef.jnlua which has two versions 0.9.1 and 1.0.3 both the versions are needed to be added. I am developing an eclipse plugin product and I want to add both the plugins to my .product file but my file is considering only the latest version of the plugin com.naef.jnlua. Note: Eclipse IDE is accepting both versions. Help me to solve the issue. 回答1: I use

Eclipse hang when copying / pasting code

喜欢而已 提交于 2020-06-09 07:28:39
问题 I have a big problem. Eclipse is hanging up when I do any copy/paste with Ctrl + C / Ctrl + V keys. Is it due to the Eclipse validation code system? Do I mess something in my Eclipse setting? Here is my conf : Eclipse 3.4.2 Plugin RSE Windows XP pro Service Pack 2 Java VM version = 1.5.0_11-b03 回答1: Disabling Hyperlinking fixed this for me. You could also just change the Default modifier key to something other than CTRL if you still want to use hyperlinking. Go to Window -> Preferences ->

Eclipse RCP Dynamic help customization

南楼画角 提交于 2020-05-24 05:31:46
问题 Implemented eclipse dynamic help with 3.x with static html files earlier(html files located in soruce folder) Now the href for each topic has to be replaced with dynamic url, url changes every day.So cannot map the url in context.xml. How can we pass the dynamic URL for each topic on the fly. earlier implementation is with below api : PlatformUI.getWorkbench().getHelpSystem().displayDynamicHelp() 来源: https://stackoverflow.com/questions/61516361/eclipse-rcp-dynamic-help-customization

How to troubleshoot dependency problem with OSGi libraries when doing a PDE build?

心不动则不痛 提交于 2020-04-30 09:25:11
问题 I'm trying to build a feature product using the latest Eclipse 2020-03 (4.15.0) version and hitting the error Unresolved requirement below. I have this same exact issue with Eclipse 2019-12 (4.14.0). This issue does not occur if using Eclipse Mars (4.5.2). eclipse.buildId=4.15.0.I20200305-0155 java.version=1.8.0_252 java.vendor=Amazon.com Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -application org.eclipse.ant.core.antRunner -verbose -buildfile c:

How to configure RTEMS in Eclipse?

让人想犯罪 __ 提交于 2020-04-30 07:01:23
问题 I want to develop a simple program using RTEMS in Eclipse using Ubuntu. I have installed RTEMS CDT Support following https://devel.rtems.org/wiki/Developer/Eclipse/Plugin But I can't configure Window > Preferences > C/C++ > RTEMS paths, because /opt/rtems-4-9 (default value) doesn't exist. When I've tried to use RTEMS Toolchain in a new project, next message is shown: *'Invoking: RTEMS C++ Compiler /opt/rtems-4.9/bin/g++ -O0 -g -Wall -c -fmessage-length=0 -pipe -MMD -P -MP -MF"src/HelloWorld

Why do all the images of the Plugin disappear once the plugin is exported as a jar and integrated in the IDE?

安稳与你 提交于 2020-04-17 18:56:43
问题 In my eclipse plugin, while testing the plugin( Run As Eclipse Application )- As seen below, all the images in the New Wizard are rendered properly, highlighted in yellow. However, once the plugin is exported as shown below, and placed as the jar in \eclipse\plugins , all the images are lost. What could be the reason for this? After the jar is placed, the below is rendered without the images- MANIFEST.MF file- 回答1: Eclipse adds the compiled Java classes by default. Other files must be

Eclipse plug-in: how to update a view once a Job is complete

情到浓时终转凉″ 提交于 2020-04-16 07:07:30
问题 The run method in my Job class, does some stuff (the details are irrelevant) and outputs 2 arrays of doubles. I want to display these arrays in a results view which I have created with a Table and 2 columns, one for each array. How can I reference the view and display these arrays in it at the end of the run method (in the Job class)? Even if you cannot help me with the answer, I would be happy if someone can point me in some direction because I have no idea. The only thing I could think of