eclipse

Generate getters and setters (Zend Studio for Eclipse)

Hi!, I'm using Zend Studio for Eclipse (Linux), and I'm trying to generate getter and setters methods in a PHP class. I try to do this: http://files.zend.com/help/Zend-Studio-Eclipse-Help/creating_getters_and_setters.htm but I haven't "Generate Getters and Setters" option in Source Menu, it's missed! Could u help me? Thanks! ...

Eclipse C++ pretty printing?

The output we get when printing C++ sources from Eclipse is rather ugly. Is there are way/a plugin to pretty print C++ source code like e.g. with a2ps (which is probably using yet another filter for C source code)? ...

Customizing AntRunner output

I'm using Eclipse's AntRunner to build a set of plugins, but I'm having trouble in configuring the logging behavior. Specifically, I'd like AntRunner not to display empty tasks. Anybody knows how to do this? ...

Viewing repository information from within Eclipse, when code was checked out using svn tortoise

Hi all, I am using svn tortoise to checkout a maven project from a repository, I then open eclispe, and use the m2eclipse plugin to import a maven project. The maven projeect comes in okay, and I can build it fine. The problem is that eclipse using subversive, isn't marking files/ resources as being in source control (even though I se...

Whats the best way to start using Mylyn?

I've heard a lot of good things about using Mylyn in eclipse. How could I set it up to give me a taste of how I could use it? Thanks ...

Does the Eclipse editor have an equivalent of emacs's "align-regex"?

I've been using Eclipse pretty regularly for several years now, but I admit to not having explored all the esoterica it has to offer, particularly in the areas of what formatting features the editors offer. The main thing I miss from (X)emacs is the "align-regex" command, which let me take several lines into a region and then format the...

Is Eclipse the best IDE for Java?

Is Eclipse the best IDE for Java? If not, is there something better? I want to know and possible try it out. Thanks. ...

Why do my files need dos2unix? only in eclipse though

When I open a file in eclipse it shows with the improper line spacing showing an extra line break between every line. When I open the file with notepad or wordpad it doesn't show these extra line breaks that only eclipse shows. How do I get eclipse to read these files like notepad and wordpad without those line breaks? -edit: I don't ha...

What exactly does "attach context" mean in Eclipse Mylyn

Hello the mylyn plugin in Eclipse (Trac connector) contains the option to attach and then retrive the "context" of an issue. Attaching the context results in attaching a zipped XML file to the issue entry in the Trac system. However, I don't quite understand what is this context is. Initially I thought that this was all the opened files ...

How to stop Eclipse from hanging on a long autocompletion list?

I'm using the GL class from JOGL, which basically contains all OpenGL functions. Now I just installed the Javadoc for JOGL, because it's nice to have the parameter names if you can't remember the order. However, with this Javadoc installed, it takes about half a minute to show the autocompletion list whenever I type GL.. Since I'm makin...

How do you manage growing eclipse configurations?

I use eclipse for quite a lot of work, including: multiple "utility" projects that include code that most of my java work makes use of various plugin-related projects that I sync and use periodically (eg: the Git plugin) plugin projects I'm actually developing the occasional pydev / non-java project etc... It is becoming quite diffic...

In Eclipse, how do I replace a character by a new line ?

In Eclipse 3.3.2, I would like to replace a character (say ',') by a new line in a file. What should I write in the "Replace with" box in order to do so ? EDIT : Many answers seems to be for Eclipse 3.4. Is there a solution for Eclipse 3.3.X ? ...

Best Practices for Eclipse's Problems View

I am using Eclipse for quite some time and I still haven't found how to configure the Problems View to display only the Errors and Warnings of interest. Is there an easy way to filter out warnings from a specific resource or from a specific path? For example, when I generate javadoc I get tons of irrelevant html warnings. Also, is there ...

Redirect ILog Messages

Hi, I'm currently developing a RCP Eclipse Application. For logging purposes I use SFL4J over log4j. For my own code this works well since I can specify the correct logger ( LoggerFactory.getLogger ... logger.debug...). But how can I redirect all the plugin logs to the same location, so that I can see all exceptions from other rcp plugi...

http/AJAX (GWT) vs Eclipse gui for thin client deployment

I am starting a project for which we will have a thin client, sending requests and getting responses from a server. We are still in the planning stages, so we have a choice to settle on either an Eclipse based GUI (Eclipse plugin) or using GWT as a fromtend for the application. I am not very familiar with Eclipse as a GUI (Nor with GWT...

Eclipse RCP Toolbar buttons with the Eclipse Look

In Eclipse, its easy to specify buttons for your toolbar using the ActionSets extension point. However, when I need to specify some items programmatically, I can't get the same look. I don't believe that the framework is using native buttons for these, but so far, I can't find the right recipe to match the Eclipse look. I wanted to se...

Can anyone recommend a good reference for setting up Hibernate3 with Eclipse?

I've looked at some of the Eclipse and Hibernate tutorials and the ones for Hibernate2 are pretty good, pretty intuitive. Recently I tried to setup Hibernate3, using the Eclipse plugin, and failed to get the Hibernate tools to work, outside of physically moving the jar files from the plugins directory to my lib directory (I shouldn't ha...

Are there any user interface prototyping tools for Eclipse?

I am looking into designing new features for Eclipse-based programming tools, from the requirements/ideas perspective. To really do this quickly, I would like to sketch UI elements without having to code things -- my concern is with the concepts and ideas right now, not the possible later realization. Are there any such graphical sketch...

Extract all string from a java project

I have a rather big number of source files that I need parse and extract all string literals and put them in a file as play old java constant. For exemple: Label l = new Label("Cat"); Would become: Label l = new Label(Constants.CAT); And in Constants.java I would have: public final static String CAT = "Cat"; I do not want the strin...

Cause of No suitable driver found for...

I'm trying to unit test (JUnit) a DAO i've created. I'm using Spring as my framework, my dao (JdbcPackageDAO) extends SimpleJdbcDaoSupport. The testing class (JdbcPackageDAOTest) extends AbstractTransactionalDataSourceSpringContextTests. I've overriden the configLocations as follows: protected String[] getConfigLocations(){ return n...