eclipse-plugin

Eclipse now shows only a single method in an editor pane after clicking on the method in Package Explorer view, how can I reset to normal behavior?

馋奶兔 提交于 2019-12-31 16:30:15
问题 In the Package Explorer of Eclipse (version Helios) you can drill down into a Java class and see its methods and members listed. Until recently if I clicked on a method name in the Package Explorer then the entire class file would open (if not already opened) and the cursor would be at the method I just clicked on, but the entire class file would also be in the editor pane, and I could scroll up or down to any other part of the class file. Now however when I click on a method I get an editor

Eclipse plugin for code coverage [closed]

◇◆丶佛笑我妖孽 提交于 2019-12-31 09:08:04
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I search a code coverage plugin for eclipse. My question is simple: Which plugin do you use with eclipse for code coverage and why ?

Is there an IntelliJ Keymapping plugin for Eclipse?

送分小仙女□ 提交于 2019-12-31 08:07:25
问题 I am an old IntelliJ user, now working on a project that requires Eclipse. I don't mind learning the Eclipse default keyboard shortcuts where they exist, but so many operations don't have shortcuts assigned (grrrr!) I was wondering if there is any plugin that would automatically assign the IntelliJ defaults to any action that does not already have a mapping? As an alternative I guess I could also use a plugin that just wipes out all of the Eclipse defaults and replaces them with the IntelliJ

How to use an IResourceChangeListener to detect a file rename and set the EditorPart name dynamically?

情到浓时终转凉″ 提交于 2019-12-31 04:00:31
问题 IResourceChangeListener listens to changes in project workspace for example if the editor part file name has changed. I want to know how to access that particular EditorPart and change its title name accordingly (e.g. with .setPartName ), or maybe the refresh the editor so that it shows the new name automatically. Ideal would be if the IResourceChangeListener has a Rename event type but does not seem to be the case. Reference question. 回答1: The IResourceChangeListener does fire for rename

Eclipse RCP MessageConsole: How to allow user to input and handle this listener?

懵懂的女人 提交于 2019-12-31 03:20:07
问题 I'm writing an eclipse-plugin which creating a new Console. Please see my source code: IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IConsoleView consoleView = (IConsoleView) page.showView(IConsoleConstants.ID_CONSOLE_VIEW); MessageConsole myConsole = new MessageConsole("CLI", null); ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[] { myConsole }); consoleView.display(myConsole); MessageConsoleStream stream = myConsole

JUnit Eclipse plugin source-code?

帅比萌擦擦* 提交于 2019-12-30 08:26:08
问题 I'm looking into writing an Eclipse plugin for FlexUnit and was wondering where I could get the sources for the JUnit Eclipse plugin. I checked the JUnit sources at sourceforge but couldn't spot any code that looked like the plugin code. Any idea where this code is available? 回答1: You can find it on Eclipse's repository: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.junit/ 回答2: There are now git mirrors of the CVS repositories: org.eclipse.jdt.junit: git://dev.eclipse.org/org

How to change Eclipse Preferences programmatically

孤街醉人 提交于 2019-12-30 07:44:06
问题 What approach should be to change Eclipse Preferences? They are stored in <workspace>/.metadata/.plugin/org.eclipse.core.runtime/.settings But I hope to find Java API and a way to discover any preference ID. 回答1: Somewhat confusingly there are several APIs a plugin can use for preferences. If your plugin activator extends AbstractUIPlugin then you can call IPreferenceStore prefStore = getPreferenceStore(); in the activator to get the preference store for your plugin. You can also use

How to Refresh Eclipse View Plugin

岁酱吖の 提交于 2019-12-30 07:24:07
问题 I created a simple view based off of the eclipse plugin view tutorial. I added functionality that allows my plugin to listen to changes on the debugger. My problem is, every time something on the debugger happens, I want my view to be refreshed and be updated with new information. Here is what I have/what I'm trying: public void createPartControl(Composite parent) { listener = new DebugContextListener(this); DebugUITools.getDebugContextManager().addDebugContextListener(listener); // Check if

GlassFish in Eclipse complains “GlassFish v3 requires a JDK 1.6 and not a JRE”

╄→гoц情女王★ 提交于 2019-12-30 05:50:14
问题 I am running: Eclipse Java EE IDE for Web Developers. Version: Helios Service Release 2 Build id: 20110218-0911 I have also installed Java EE 6 SDK Update 2 which includes: GlassFish Open Source Edition 3.1 Java EE 6 Code Samples Java EE 6 API Documentation Java EE 6 Tutorial Your First Cup: An Introduction to the Java EE Platform I have registered GlassFish with Eclipse but when I try to start the server, I get the following error: GlassFish v3 requires a JDK 1.6 and not a JRE. Please add

Eclipse plug-in: Create a new file extension for a language not supported by Eclipse

牧云@^-^@ 提交于 2019-12-29 14:49:46
问题 I am creating an Eclipse plug-in for it to support a new language. The problem I have is with the content type/file association and its respective editor. The language has no base in Java or XML and let's say its extension is ' .xyz ' From what I understood of research online, I would need to create a new Content Type with file extension ' .xyz '. But all the information I have found online has related to either associating a new extension with java (for java syntax highlighting) or creating