我正在开发一个eclipse ECP应用程序,我想使用项目,文件夹,任务等Eclipse图标.
任何人都可以帮助我从哪里下载这些图标?我搜索过,workspace/.metadata/org.eclipse.pde.core/.bundlepool但找不到Eclipse相关的图标.
如何在Eclipse控制台工具栏上添加终止按钮?我以这种方式创建控制台:
IOConsole console = new IOConsole( name, null, null, true );
ConsolePlugin.getDefault().getConsoleManager().addConsoles( new IConsole[]{console} );
Run Code Online (Sandbox Code Playgroud) 我想在Java SWT标签中显示HTML文本.下面是我创建标签的代码.
Label theLabel = new Label(controls,SWT.WRAP);
theLabel.setSize(100,500);
theLable.setText("<html><ol><li>Hello</li><li>welcome</li></ol></html>");
Run Code Online (Sandbox Code Playgroud)
当我将应用程序作为Eclipse Application运行时,我得到的输出为:
<html><ol><li>Hello</li><li>welcome</li></ol></html>
Run Code Online (Sandbox Code Playgroud)
这是什么错误?为什么我没有在标签中获得html格式的输出?我正在使用带有视图的Eclipse插件.
我正在使用STS(Eclipse的Eclipse版本),它使用Maven插件.它工作正常,但这个Maven版本嵌入到Eclipse中.
现在我必须从shell中使用它(DOS提示符).如果我尝试执行mvn clean statment,我会收到以下错误消息:
C:\Users\Andrea\Documents\workspaces\Real-Time\ud381\lesson1\stage1>mvn
"mvn" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Run Code Online (Sandbox Code Playgroud)
这是在意大利语languange,它只是说它找不到内部或外部mvn命令.
所以我认为我必须将它添加到PATH环境Windows变量中,以便我可以在命令提示符下使用它.
问题是我找不到这个嵌入式Maven安装的位置.
我在哪里可以找到它?
我安装了Ubuntu 15 new,并安装了Eclipse Mars。
现在,我希望语法突出显示与Visual Studio中的完全一样,因此我在http://eclipsecolorthemes.org/?view=theme&id=23347此处下载了.epf 并将其导入到eclipse中。到这里为止,我没有任何问题,但是当我重新启动Eclipse时,突出显示将在5秒后重置为默认值。
我不知道为什么,但是当我通过sudo启动Eclipse时,我没有问题。我没有其他想法了...
我看到,那蚀在启动时运行了:http : //pastebin.com/6YGVxfhU
我不知道,我怎么能阻止它
由于公司的防火墙问题,我无法使用此处提供的更新站点链接安装groovy插件,是否有针对此问题的解决方法?谢谢.
我正在使用vagrant和chef将Eclipse和Eclipse插件配置到Ubuntu虚拟机.需要使用equinox.p2安装所有插件.以下是安装Buildship插件的示例:
eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://download.eclipse.org/buildship/updates/e46/releases/1.0 -installIUs org.eclipse.buildship.feature.group
在许多情况下,插件只提供市场安装按钮,没有更新站点URL,也没有关于插件ID的详细信息.
如何获取此类插件的更新站点URL和插件ID?
我在ubuntu 14.04上使用eclipse neon.1并且我想安装公制插件,它一直说"无法完成配置操作.请更改您的选择并重试.请参阅下面的详细信息."
详细信息:无法完成安装,因为找不到一个或多个必需的项目.正在安装的软件:Metrics Feature 3.14.1.201104282140(com.stateofflow.eclipse.metrics.feature.feature.group 3.14.1.201104282140)缺少要求:Metrics插件3.14.1.201104282140(com.stateofflow.eclipse.metrics 3.14.1.201104282140)需要'捆绑org.eclipse.core.runtime.compatibility 0.0.0'但无法找到它无法满足依赖性:From:Metrics Feature 3.14.1.201104282140(com.stateofflow.eclipse.metrics.feature.feature.group 3.14.1.201104282140)To: com.stateofflow.eclipse.metrics [3.14.1.201104282140]
我已经为Eclipse Oxygen 安装了Angular2 Eclipse插件.我用角度CLI创建了一个angular2项目,然后在eclipse中打开了项目.
我试图将项目转换为Angular项目,但是当我右键单击项目并进入配置时,没有这样的选项.唯一的选择是"配置和检测嵌套项目..",它打开导入向导.
当我在src/app /中打开html模板文件时...例如我的databinding.component.html,HTML编辑器显示丑陋的错误:
当我将鼠标悬停在错误上时,我发现所有格式都是:
[ts] <error message>
Run Code Online (Sandbox Code Playgroud)
一些例子:
[ts] Cannot find name 'aNumber'. Did you mean 'Number'?
[ts] Cannot find name 'innerText'.
[ts] Cannot find name 'h4'.
Run Code Online (Sandbox Code Playgroud)
但错误是不正确的.我可以毫无问题地使用ng-serve启动应用程序.
如何配置eclipse以使这些错误的错误消息消失?谢谢 :)
编辑#1
这是我的eclipse打字稿配置,我看不出我在这里可以改变什么..
为了能够将我的Eclipse插件"treezCore"也用作Java9模块,我在src文件夹中创建了一个module-info.java.
此外,我将Plug-in Dependencies从Classpath移动到Modulepath.我可以在插件依赖项中看到一个模块"org.eclipse.swt.3.106.1.v20170926":
但是,我无法在module-info.java中引用该模块.我试过了
require org.eclipse.swt.3.106.1.v20170926;
require org.eclipse.swt;
require swt;
Run Code Online (Sandbox Code Playgroud)
这些选项都没有奏效.Eclipse使用的jar文件\ plugins\org.eclipse.swt_3.106.1.v20170926-0519.jar不包含模块定义,
jar --file org.eclipse.swt_3.106.1.v20170926-0519.jar -d
说无法导出模块描述符.另见
如果我从中下载更新版本的swt.jar
我得到以下有希望的输出:
swt automatic
requires java.base mandated
contains org.eclipse.swt
contains org.eclipse.swt.accessibility
contains org.eclipse.swt.awt
contains org.eclipse.swt.browser
contains org.eclipse.swt.custom
contains org.eclipse.swt.dnd
contains org.eclipse.swt.events
contains org.eclipse.swt.graphics
contains org.eclipse.swt.internal
contains org.eclipse.swt.internal.gdip
contains org.eclipse.swt.internal.image
contains org.eclipse.swt.internal.mozilla
contains org.eclipse.swt.internal.mozilla.init
contains org.eclipse.swt.internal.ole.win32
contains org.eclipse.swt.internal.opengl.win32
contains org.eclipse.swt.internal.webkit
contains org.eclipse.swt.internal.win32
contains org.eclipse.swt.layout
contains org.eclipse.swt.ole.win32
contains org.eclipse.swt.opengl
contains org.eclipse.swt.printing
contains org.eclipse.swt.program
contains org.eclipse.swt.widgets
Run Code Online (Sandbox Code Playgroud)
我也依赖于org.eclipse.jface而无法找到它的单独下载.
=>我真的必须等待使用包含模块定义的新插件版本的Eclipse新版本吗?
或者我可以以某种方式从插件文件夹中引用旧版本的swt,即使它不包含模块定义?我寻找一种简单的方法来定义别名或后备依赖,例如
requires ../plugins/org.eclipse.swt_3.106.1.v20170926-0519.jar as 'org.eclipse.swt' …Run Code Online (Sandbox Code Playgroud) swt eclipse-plugin eclipse-rcp java-platform-module-system java-9
eclipse-plugin ×10
eclipse ×8
eclipse-rcp ×2
java ×2
swt ×2
angular ×1
console ×1
gradle ×1
groovy ×1
java-9 ×1
java-platform-module-system ×1
maven ×1
maven-2 ×1
metrics ×1
themes ×1
typescript ×1
view ×1