eclipse

How can I create a custom Eclipse Syntax Highlighter

I've been developing a compiler for a new language. I thought it would be neat to be able to demonstrate its development in a syntax aware environment. The language has quite a few custom keywords, and its structure is significantly different than common languages such as Java or C/C++. How can I develop a custom syntax highligher for...

IntelliJ IDEA equivalent of Eclipse "Link with Editor"

In Eclipse you can check the "Link with Editor" option and whatever source file you are viewing in the current tab will be highlighted and have its package expanded in the Package Explorer view. Is there something equivalent to this in IntelliJ IDEA 8.1? I can't seem to find anything :-( ...

Mapping UML Class Diagram in Eclipse (modelling tools) to actual Classes

I'm looking at a "reverse-engineerable" modelling system for students in Eclipse. Currently, I'm looking at the Eclipse modelling tools in the Ganymede release (http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymedesr2) I'm happy with the UML modelling design surfaces in Eclipse for bui...

Quick way to insert interface methods to a class in Visual Studio 2005

I know that in Eclipse, if your class implements an interface or extends an abstract class, there is a quick way to add the method definitions to your class. Can this be done with VS2005? How? ...

Eclipse : list methods and variables of all classes

I am starting to use some Java code which was written by someone else. I have to understand, change and test it. The author is not available now. The package has some 50 files (and so classes) of different sizes. It would be great if I could just see/print out the names of the methods (public and private) and the public variables (like t...

Eclipse JSP preview

Is there an Eclipse plugin or feature that allows previewing of JSP files? Ideally such a feature would be aware of Spring tags. It's a major pain to edit the JSP in Eclipse, then build and deploy to see the results. ...

Eclipse class designer and design<--> java source bindings

Hi Guys, I'm tutoring a subject on rapid prototyping at university for 2nd/3rd year students. Can anyone recommend a (free) way to design class hierarchies in a GUI design surface within Eclipse? The UML design surfaces in Eclipse Modelling Tools are almost perfect, but I can't find any documentation about how to bind these to java s...

Grails on Eclipse outline problem

Suddenly my eclipse start showing this message every time I hit ctrl+o: "Show Outline" did not complete normally. Please see the log for more information. java.lang.NullPointerException This is the Error Log: java.lang.NullPointerException at org.codehaus.groovy.eclipse.codebrowsing.TextUtils.getNodeOfInterest(TextUtils.java:77) at ...

debug IE6 JavaScript within Eclipse

Hi, I'm looking for an Eclipse plugin that will enable me to debug JavaScript running in IE6. Ideally, I'd like to be able to just attach the debugger to a running instance of IE6, but if I have to start IE6 from within Eclipse, I could live with that. Thanks, Don ...

How can I use jQueryWTP with Eclipse 3.4?

The title says it all - how can I use jQueryWTP with Eclipse 3.4? I have patched the jar file, and verified that it contains the jQuery info, but I still get errors when I open a file with $(...). From what I've found while looking for a solution, this works in Eclipse 3.3, and others are having problems with Eclipse 3.4. All help is ...

In eclipse the application does not close correctly when dragged out of parent window

I am using eclipse technology and we have a detached view (with enable-prompt-on-close-view). The application does not close correctly when dragged out of parent window If you drag the application out of the the parent window then click close, and then choose cancel on the dialog it is still closed. The application then hangs. On close, ...

Zend Studio for eclipse - Switch character encoding for all files in a project

I'm using Zend Studio for Eclipise on Mac, and it seems to keep setting all files to have and encoding of 'Mac Roman'. This becomes problematic when I save the files, as they all need to be UTF-8. I know how to change the encoding to UTF-8 on a file by file basis, but I was wondering if I could set this project wide? ...

No response in Eclipse: File ->Import->Existing Projects into Workspace

I'm trying to import one of the GWT samples into Eclipse by following the instructions below. But when I browse to the directory containing the "Hello" sample and uncheck "Copy projects into workspace", the Finish button is grayed out, preventing me from completing the import. Any ideas why? -- Option A: Import your project into Ecli...

Bug in eclipse compiler or javac?

Who is right? Eclipse or javac? --------------- c/v/A.java --------------- package c.v; public class A<T> { } --------------- c/v/B.java --------------- package c.v; public class B extends A<B.Secret> { private class Secret {}; } Eclipse compiles B.java just fine. Javac has a problem. $ javac c/v/B.java c/v/B.java:3: c.v.B.Sec...

How do you get Eclipse warning messages to not disappear instantly?

The little yellow warning symbols and underlines in Eclipse don't last very long, do they? When I get a warning, after I click on the little warning symbol, I have milliseconds to try to read the warning message before it disappears like a very quick and cautious mouse. Is there a way to change this or does everyone suffer from this p...

Time to develop an option in Eclipse to modify a Java file source

I'm evaluating the possibility of developing an Eclipse plugin to modify the source code of some Java files. The Eclipse plugin should: add one menu option or context menu option to launch the modification process. add a key binding only alter the UI in that way when an editor has been open on a Java file. the modification process wou...

IDE plugins for developing JMX Model MBeans

I am looking for a plugin that helps developers create JMX Model MBeans that works with either Eclipse and/or Netbeans. I am aware of the JMX Plugin for Netbeans that allows for creating of simple MBeans but looking for something more advanced. ...

Cannot run a JUnit test case containing threads from Eclipse

I am running JUnit test case from Eclipse 3.4.1 . This test case creates a class which starts a thread to do some stuff. When the test method ends it seems that Eclipse is forcibly shutting down the thread. If I run the same test from the command line, then the thread runs properly. Somehow I do not remember running into such problems ...

how do you make getResourceAsStream work while debugging Java in Eclipse?

This is mind-boggling... I can make getResource() and getResourceAsStream() work properly when I run Java on my packaged JAR file that includes a text file. (for reference see the Sun docs on accessing resources) I can't seem to make the same program work properly when I am running it within Eclipse, even though I've placed my text file ...

How to wire up an editor to the location cursor icons?

I have built a graphical editor as an Eclipse plugin. Users may zoom into and pan about the graphical image. I would like to employ the Back and Forward arrow icons in the Eclipse icon bar to step back and forth through the graphical image, in a similar manner to what is already possible in textual editors. All of my references go quiet...