eclipse

Eclipse plug-ins disappeared after update

Have been updated Eclipse PDT using Window->Check for Updates feature. After restart all trird-party plug-ins seems like switched off. Starting with -clean command line key doesn't helps. Eclipse Installation Detals contains information about all my plug-ins correctly. Error log: eclipse.buildId=M20090917-0800 java.version=1.6.0_0...

Can I generate fields automatically in eclipse from a constructor?

When I'm coding in eclipse, I like to be as lazy as possible. So I frequently type something like: myObject = new MyClass(myParam1, myParam2, myParam3); Even though MyClass doesn't exist and neither does it's constructor. A few clicks later and eclipse has created MyClass with a constructor inferred from what I typed. My question is...

How to customize Eclipse's text editor code formating.

How can I set my Eclipse's code formatter to allow code rows longer than 80 characters. I know that very long lines is hard to read but in my opinion 80 characters per line is very small value for wide screen monitors. ...

Eclipse: Blackberry simulator output console is not showing any entry

Suddenly the console is showing no output while I run my programs on the simulator(even when on debug mode). The console remains all empty while I start the simulator and run the programs. How to fix it? Thanks ...

"Export" button in Eclipse CDT "Paths and Symbols" dialog?

On the Includes tab of the Paths and Symbols section of the Project Properties dialog in the Eclipse CDT, there is an "Export" button: The best documentation I have found says that this "toggles whether the selected include path is exported or not." If I click it, it changes to "Unexport" and "[exp]" is appended to the selected inclu...

JSP EL (Expression Language) causing problems in Eclipse

My system: Ubuntu 9.10. Eclipse 3.5.1 with Java EE 1.2.1 (manual install - NOT from synaptic). Web Developer Tools 3.1.1 I've recently adopted someone else's code (a Dynamic Web Project), and run into lots of errors, warnings and incorrect syntax highlighting in Eclipse. I've narrowed it down to these 4 lines of code (create a new Dynam...

Exporting EAR file in Eclipse taking long time

I'm working on a project on Eclipse, more specific RAD build. The EAR file exported is around 40 mb, last week it was taking 1 minute, today its taking more than 10 minutes. I didnt change much code, nor changed any config related to the JVM. I export directly from RAD, right click on the project and export EAR. So whats going wrong? ...

Eclipse Galileo - How do I get all dirty editors to save on invocation of ant build?

I have lost more time than I care to relate from testing worthless builds resulting from unsaved code changes. I have searched the web for the magic setting I need to change & none work. My workflow is this: 1) make code changes 2) invoke ant build by double-clicking on target in ant window 3) hate life because code changes were not s...

Source generation in Netbeans and Eclipse

I now use Netbeans rather than Eclipse but find that the Source code generation seems more limited than Eclipse. For example Eclipse has a function that generates delegate methods but I cannot find this in Netbeans. Is there a comparison of the functionality in the tools, and any suggestions for overcoming deficiencies? ...

Lazy and Deferred TreeViewer questions

Hello Everyone, I have actually two questions but they are kind of related so here they go as one... How to ensure garbage collection of tree nodes that are not currently displayed using TreeViewer(SWT.VIRTUAL) and ILazeTreeContentProvider? If a node has 5000 children, once they are displayed by the viewer they are never let go, hence ...

Adding title to window border for Eclipse RCP detached view

I am working on an Eclipse RCP project which has detachable views. I would like to be able to put some text on the window border which surrounds the view once it is detached. Does anyone have any experience with this? Development environment is Eclipse 3.4 on Windows. THANKS. ...

Can Eclipse be configured to disable warnings for derived source files?

I am using ANTLR to generate Java source files. I can make Eclipse understand the generated files are derived, but it still gives me warnings about harmless things (e.g. unnecessary imports and so on). I would like to configure Eclipse to ignore derived files when showing warnings. Is this possible? ...

Eclipse MyFaces Wizard?

Hello, I am new to java development and a customer uses MyFaces for MVC based website development. While I know the ASP.NET based MVC Framework from Microsoft and the possibility of easily adding new pages via IDE methods (context menues, wizards, etc.), in eclipse everything has to be done manually. For adding a simple new website, I ...

Problem with resources location difference in eclipse and JARs

I wrote a program that is based completely on a single text file: I read the file, store the information, then search the information, etc. So, for the program to work, the file just has to be present and detectable by the program. I use eclipse, so I put the file is in the default resources map (src/main/resources). At the start of my p...

Centralized Exception handling for Eclipse plug-in

Hello, At first I thought this would be question often asked, however trying (and failing) to look up info on this proved me wrong. Is there a mechanism in Eclipse platform for centralized exception handling of exceptions? For example... You have plug-in project which connects to a DB and issues queries, results of which are used to p...

Is there any C++ code beautifuler plug-in for eclipse ?

hi, I found a very tempting function in Netbeans, which is to re-factor or 'beautiful-ize' the c++ code according to some parameters, such as tab length, {'s position, etc is there anything similar in Eclipse, which keyword should I google? ...

Eclipse – ASP classic plugin

Where can I find an Eclipse plugin for ASP classic? ...

Eclipse diff for large file shows incorrect differences

Hi, I am not sure if anybody has experienced this. I am working with a very large file having 7000 lines of code. I made a lot of changes and when i compared the file with the repository version, it showed me incorrect differences. I guess the diff algorithm buffers only limited number of lines ahead/behind for searching the current lin...

Eclipse Spaces & Tabs

I like to display 4 spaces as tab in eclipse, with an actual width on the screen of 2 spaces. When I save the file, I'd like to have 4 spaces (represented as «.») for a tab: 1st.level ....2nd.level ........3rd.level In eclipse, I'd like to see this, where a tabstop (represented as «->>») should take the width of two spaces: 1st....

How to get eclipse to recognize preprocessor statements?

I've managed to get the IDE to compile the java project correctly by modifying the config.ini, but the IDE itself is still showing errors concerning the processor statements: //#ifdef VER_X public class Video extends FirstCanvas { //#else public class Video extends SecondCanvas { //#endif ... Is there a setting or a plug-in that would...