dltk

Eclipse DLTK: Adding wizards to the 'New' menu of ScriptExplorerPart

空扰寡人 提交于 2019-12-21 20:39:53
问题 I'm trying to add a wizard entry to a ScriptExplorerPart of the Dynamic Languages ToolKit for Eclipse. The wizards are accessible from File->New->Other... , so at least I know they work. They are added using the extension point org.eclipse.ui.newWizards . What I would like is to have them added as indicated on this screenshot. To start with I figured it should probably be done using the extension point org.eclipse.ui.navigator.navigatorContent , as suggested in this eclipse newslist. This

disable eclipse validators

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 23:39:04
问题 I do have a project which includes ZF library. In the problems tab I get all the warnings from the Zend library. My problem is that I want to hide all that. I've tried adding Exclude Group settings and rules for HTML for PHP validator and even I've suspended all validators for global settings and as a customized project settings and nothing works. The strange thing is that most common type of problem is DLTK and I cannot find this particular validator. 回答1: Not all things in Eclipse that

How to manually trigger DLTK indexing in Eclipse PDT for a PHP project

三世轮回 提交于 2019-12-10 14:48:36
问题 While developing in Eclipse with PDT (or Zend Studio), I frequently switch between different large branches using git--typically on the command line, not via a git plugin for eclipse. Within seconds, Eclipse detects the branch switch and updates itself to reflect any file changes, then refreshes the project explorer and other views. However, the libraries on the different branches in the same project can be significantly different. Frequently when switching branches, a class is used in the

Get associated file extensions for an Eclipse editor

送分小仙女□ 提交于 2019-12-08 11:35:05
问题 I'm trying to programmatically retrieve the associated file extensions for a specific editor from within my (DLTK based) Eclipse plugin. The reason for it is that I only want to index files that are associated to my editor, and I need to avoid hardcoding the extensions as users are able to associate any file extension to the editor via the Eclipse preferences. Example code: public boolean isValidPluginFile(ISourceModule sourceModule) { // currently: if (sourceModule.getUnderlyingResource()

Eclipse DLTK: Adding wizards to the 'New' menu of ScriptExplorerPart

女生的网名这么多〃 提交于 2019-12-04 11:39:15
I'm trying to add a wizard entry to a ScriptExplorerPart of the Dynamic Languages ToolKit for Eclipse. The wizards are accessible from File->New->Other... , so at least I know they work. They are added using the extension point org.eclipse.ui.newWizards . What I would like is to have them added as indicated on this screenshot . To start with I figured it should probably be done using the extension point org.eclipse.ui.navigator.navigatorContent , as suggested in this eclipse newslist . This does not work however, as it seems like DLTK does not honor that extension point. So, if anyone could

How do you add a ruby file to an existing project in Eclipse 3.6 using the Dynamic Languages Toolkit (DLTK)?

我的梦境 提交于 2019-12-02 13:50:05
问题 I've installed the Dynamic Languages Toolkit (DLTK) in Eclipse 3.6. But I can't figure out how to create a Ruby file in an existing Java project. Doing the obvious thing (New -> Empty Ruby Script) just gives the error message "Source folder is not a correct project". Do I have to modify the project in some way to tell DLTK that it's OK to add Ruby files to it? (Adding the file outside of Eclipse does work.) 回答1: Do the following steps (has worked for me): Create a java project, or visit an