eclipse

Library for eclipse style tooltips?

Does anyone know of an open source swing tooltip library that works like eclipse's tooltips? Specifically, the functionality I'm looking for is a tooltip that acts like a regular tooltip, but persists when you press 'F2' (or some key) so that you can copy the contents to the clipboard. Thanks. ...

PHP Eclipse syntax color change

How can I change the PHP variables color in Eclipse? It is very light blue/gray by default. I go to preferences and click on all the editors but doesn't seem it is there. By the way, I install the Eclipse 3.5.1 with PHPEclipse 1.2.x plugin. ...

What is the "source" attribute of the Context element of an Apache Tomcat configuration file for?

It's somehow related to Eclipse. For example: <Host> <Context docBase="foo" path="/foo" reloadable="true" source="org.eclipse.jst.j2ee.server:foo" /> </Host> ...

Eclipse not building aidl file

Hi, I'm having trouble getting eclipse to build an aidl file for android. It doesn't seem to recognise it and does not call "aidl" when building project. Thanks ...

How can I get Eclipse to scroll past the bottom of the document?

When I scroll to the bottom of an open document in the Eclipse editor, the last line is at the bottom of the file. This is a tad annoying when editing code at the bottom of the file / screen. How can I enable Eclipse to scroll (much like Vim or VS) down far enough that the last line of code reaches the top of the editor window? I'm as...

How to add Eclipse Task Tags programmatically (Eclipse Plugin development)?

Hi, I am developing an Eclipse Plugin. I want to add my custom Task Tag programmatically within the plugin. (Lets say DOTHIS) Later, i want to list the lines marked with DOTHIS tag in my custom taskView I know that it is done using the Eclipse UI from Project > Properties > Java Compiler > Task Tags > New. and then in the task view by ...

Eclipse - Same .Java file in split view?

Perhaps this is a trivial question, however it's something that is seriously annoying me. I'm editing someone's program at the minute and one of their .java files is absolutely massive. I'm trying to edit it at the moment, whilst referencing it as well. Is it possible to split the screen in Eclipse, to allow a split view of the same fil...

Error shutting down JBoss from Eclipse

I get an exception when I shutdown JBoss server from within Eclipse. I run JBoss IDE 1.5.105 and Eclipse 3.3.2 How do I solve this problem? Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/system/server/ServerImplMBean at org.jboss.Shutdown.main(Shutdown.java:118) Caused by: java.lang.ClassNotFoundEx...

eclipse plugin maven integration

Hi, I'm looking for a solution which does not have to be nice. For a simple Showcase I need to add a dependency from project a to project b (a needs b). Project a is managed by maven and gets dependencies from maven, project b is an eclipse plugin project and has depencies to other plugin projects. In project a I need everything from pro...

Eclipse dynamic web project - MappingNotFoundException

I have a Eclipse Dynamic Web Project which host a simple servlet and runs on Tomcat. I use Hibernate within - I have classes that map to database tables and hbm.xml files for them within my project. Everything works fine - I can use Hibernate from Servlet and modify database tables through classes. But now I want to move my "model" (Java...

blackberry method to replace strings?

so, again, due to blackberry's api limitation, i have 2 questions: the response that i get back from my IOUtilities.streamToBytes(httpInput); call contains "&lt;" characters. so what blackberry class/method can i use to replace my "&lt;" with "<"? there is ONLY 1 replace() method in the String class and that method can only replace 1 c...

AST-based search for Eclipse

Is there a plug-in for Eclipse that lets you search based on the Java AST (Abstract Syntax Tree) of your project files? The "Java Search" feature doesn't seem to cover cases like: "Get me all the fields declared as type 'X' in all classes" I can imagine many more possibilities that would open up with an AST-based search, but I don't e...

eclipse cdt command line input

I'm new to eclipse cdt. I'm wondering how can i add command line argument (e.g.-lm) for compiling ...

referencing a directory from a different project in the properties file of another project

I am a Java novice I am using Eclipse and I have a project (say Main Project) which has in its build path another project (let's call it Second Project). I need to write in the directories section of the properties file of the Main Project the address of certain files which are part of the Second Project (and as result stored in the S...

Eclipse IDE speed sluggish on Snow Leopard Macbook

I've recently installed eclipse 3.4 on mac for java and flex coding - I noticed that the eclipse IDE on a mac is much slower than on a PC. By slow, I mean the UI and text editing seems to lag in comparison to eclipse in a windows environment or on a PC. Are there any tricks to getting eclipse more responsive on macosx? ...

API to get all the resources of a content type in a Eclipse project

Is there any API to get all the files of particular content type in a Eclipse project? One option is to visit all resources and collect the files of a content type. I am looking at API which takes IProject and content type id as parameters and returns IPath or IFile or IResource objects. For example get all Java files in a project. T...

Cannot use external libraries for google app engine java project

I have an Eclipse with Google App Engine Plugin and Google App Engine SDK 1.3.0 installed on. I have created a new web project with Google App Engine SDK 1.3.0. Now, I want to add a library for some advanced JSTL syntax in jsp file, it's is EL-functors (http://el-functors.sourceforge.net). In order for EL-functors to pickup its advanced ...

Utilize ubuntu workspace for eclipse

I find the workspace division of Ubuntu very helpful. I can place several maximized windows on different workspaces and use keyboard to quickly switch between them. In eclipse, there's sometime I want to have quick access to two different documents. Eclipse have a feature that allow me to dock two document in parallel, but it has a limi...

Cannot use RSE (Remote System) - SSH not available only 'linux'

I am running Eclipse 3.5 and have RSE installed, however, when I try to add a site only 'linux' is available. It should have SSH among other options. How do I fix this? ...

Execute Jython script using java eclipse

hi.. Am trying to execute a complete Jython project using java eclipse 3.4.. I have configured Jython environment in my eclipse..I went through certain tutorials which described about Building a factory.. But i guess that method can be used to execute applications that are specific to a particular Jython module.. What I exactly need is...