If I already have the types imported, in Eclipse 3.4, I get concrete default classes, but in 3.5 I just get the interface for java.util.Collections. For example, hitting ctrl+space here:
Map map = new ctrl+space
On 3.4, i get offered HashMap(), on 3.5 Map() (which then gets defaulted to a new impl with methods templated).
For List, on...
I am writing a Eclipse ASTVisitor. How to tell if a field is read or written in a method?
The idea provided was "You need to vist Assignment node. Field on the LHS is written, while fields on the RHS expression is read."
After I visit the assignment and get the LHS and RHS which are both of Expression, how do I tell if the Expression c...
I develop PHP apps in Eclipse and I'm wondering, is there an easy way of downloading my MySQL schema to a specific folder so that when I commit to SVN it's included?
EDIT:
I'm using phpMyAdmin to export my schema. I'm just wondering if I can automate this step in Eclipse.
...
Hi, I have a legacy project which has all the source files, templates, properties written in cp1250 encoding. (Windows 1250 - central european). Recently I switched from Windows to Ubuntu and found out, that fresh installation of Eclipse 3.5 doesn't have cp1250 in neither project properties nor workspace settings. How do I install new en...
I am currently reading about SWT. There is often written, that Eclipse as an SWT application looks like the standard GUIs of the host platform or OS. But I dont think so. At least under windows the tabs of the eclipse views does not look like the standard windows tabs.
Why is this?
Was this ever different?
What about other SWT applicat...
/*This is a program that calculates Internet advertising rates based on what features/options you choose.
*
*
*/
import java.util.Scanner;
public class InternetAdvertising
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
int numberOfWords;
//I assigned 0 values to both as...
I am well aware of what regular expressions are, so please avoid giving me definitions. I am merely looking for an opinion, and maybe even some advice. I am graduating soon with my degree in computer science, and to this point, The only education I have gotten on regular expressions, is through a course on PL design and development. We ...
I am using Eclipse and would like to start using the JavaScript validation tools which are now available. I think this is version 3.4, but Help|About... doesn't show the version number, only tells me that it's build 20090920-1017.
This is a pre-existing EJB/JSP application to which I added the "JavaScript Toolkit" facet.
The issue at h...
Yesterday, I try to start eclipse 3.4 by click eclipse.exe (in eclipse folder), and run normally.
Then yesterday night, I do windows update. Today, when I try to run eclipse 3.4, it has error. The error message you can find at here SCREENSHOT
I use windows xp sp2, and java 1.5 update 14.
I don't know how to fix that, so I uninstalled ...
Hy,
I have Eclipse CDT C++ application project that uses shared library. This library is compiled with debug info and its' source is available at the right path.
Now I try to debug my application with Eclipse and GDB. If I put breakpoints in my application source code, everything is fine.
Then I open a source file of the included shar...
Is there a way to stop eclipse from mangling the comments in my source files?
My main issue is stopping it from word wrapping them. I've managed to configure eclipse to not word wrap any code but it still seems to do it to comments.
Code that I enter like this:
public int myVariable = 100; // this variable is a very interesting variab...
As the title says, how do I display more than 100 tasks at once in Tasks window in Eclipse? Alternatively, how do I browse tasks past 100?
I have a lot of .c files in my project with many //TODOs
When I go to Tasks window, it shows:
Filter matched 100 of 158 items
I can't find a sane way to go past item 100... that is, I don't se...
Hello,
I am using eclipse + maven2 to build my applications.
I need to start working with clover.
My question is therefore: from your experience, what is the best way to combine these 3.
I mean, I know there is a clover plugin for eclipse, there is also a clover plugin for maven2 and of course there is maven plugin for eclipse (m2eclip...
Is there anywhere I can download the stand-alone JSEclipse plugin, it seems like it only comes bundled with the trial edition FlexBuilder plugins.
It used to be available here:
http://www.interaktonline.com/products/eclipse/jseclipse/overview/
I still find it useful to use but I'd rather not have the cruft of an expired Flex builder tr...
I get a ClassCastException when eclipse suggested that my code should be like that..
I have a class named Kort.
ArrayList<Kort> kort = new ArrayList<Kort>();
then I use toArray(), and eclipse suggest it should look like: Kort[] array = (Kort[])kort.toArray();
But it gives me this exception: ClassCastException ! :(
...
I am using Eclipse 3.4.1 Build M20080911-1700
I have tried to change the classpath directories for jar and the source directory using the Project Properties -> Java Build Path -> Libraries Tab or Source Tab. When I click OK button and then return to the properties page, my changes were not applied.
I have to resort in the work around ...
Hi. I am trying to install Spring framework in my eclipse ganymede through an update site http://springide.org/updatesite. But when it updates an error will occur in my ide which says that an out of memory error occurred.
...
I in a large codebase of an application written in perl there is a lot of HTML and JS written inline in the perl file.
$html_str = qq^ <A LOT OF HTML> ^;
All the code development in done using Eclipse IDE and EPIC plugin. For ease of merging/diffs et al, I am looking for a way to tell the EPIC source formatter not to apply formatting...
Hi,
I share a project with other team-members over SVN. Now I am using the SpringIDE-Plugin in my Eclipse which adds a <buildCommand>-Element to my .project file, which is also under version control. None of my team members does use the SpringIDE.
So my question is: If I commit the .project-file, could my colleagues workspace break aft...
I'm a .Net developer, but for my current project I have to create some Java code. I did some Java coding in the past (I even learned OOP using Java), but am new to Eclipse, which I have to use.
I have to create a few Java console applications that share common functionality. I want to bundle that common functionality into one library (J...