Why are the contents of my Outline and Bookmarks disappearing in Eclipse? - eclipse

The contents of my Outline view keep disappearing (nothing in the window) in eclipse (Indigo).
I've been trying to use Bookmarks as a workaround, but regularly after a I save, my booksmarks all get cleared!
I'm using the Force.com IDE plugin - I think it might be a bug in there.
Anyone know if there's a way to fix this? It's hard to navigate without an outline or bookmarks.
thanks

I confirmed this with some Salesforce people, it is because I'm using javascript remoting with the #RemoteAction keyword, which is part of API version 22 Spring '11, and nd the Force.com IDE doesn't support this yet. It's currently at API version 20 (Winter'11 I think?). That's causing the Outline to break. Hopefully they'll release an update soon.

Related

Eclipse e4 RCP - Integration from Xtext Plugin

I'm new to RCP development and stumbling around one problem. I created an e4 example Application with an Application.e4xmi. I now want to use some external editor. I got the sources from a github repo (https://github.com/franca/franca). This repo contains some xtext generated Editors which I want to integrate into my new e4 Application. Now I'm not really sure if I should use the feature, only the DSL parts or also the UI parts as plugins and what's the best way of integrating the editors. I also recognized that there seem to be some compatibility issues with the e3 and the e4 parts but I can't really find a proper solution to work around.
I already imported serveral plugins from this repo into my workspace and tried to link them to my e4 application. I also tried the import plugin from jar which didn't work any better. It also won't work with the Feature.
I'm sorry for this question but within 2 days of looking around the internet I couldn't find a solution how to setup my project right. Although I found some indicators for the compatibility problems like the shared element id org.eclipse.ui.editorss I didn't really understand what to do neither did it work like shown in these tutorials. Thanks for help.

Eclipse Tool Bar Bug

I customised the Eclipse tool bar by visiting Window > Customize Perspective > Tool Bar Visibility.
My customisation is automatically messed up in due course. When I try to re-customise, the Tool Bar Visibility window is not synchronised with the current status of the tool bar. This makes customisation is difficult and annoying.
I am using Kepler. The recently released Luna also have the similar behaviour. The Spring Tool Suite (which is basically Eclipse) also have the similar behaviour.
If this is an Eclipse bug, are there any workaround?
If this is not a bug, what am I missing?
[I am using Eclipse on OS X Mavericks]
After making extensive Googling, talking to my colleges and based on my own experience, I came to the following conclusion:
Eclipse has lots and lots of bugs and does not seem to be in active development now. Bugs are filed and kept for a very long time without being fixed. For example THIS BUG IS THERE FOR MORE THAN TEN YEARS and this bug is there since 2013. Eclipse bug tracking system does not easily show the whole list of current bugs.
The following links are worth mentioning:
How to customize the Eclipse toolbars (Kepler or in general)
Things possible in IntelliJ that aren't possible in Eclipse?
http://www.ihateeclipse.com/
http://sebastien-arbogast.com/2009/07/18/why-do-i-hate-eclipse/
http://techdetails.agwego.com/2007/02/23/121/comment-page-1/
http://alblue.bandlem.com/2006/02/eclipserant-10-things-i-hate-about.html#bugs
Is Eclipse the best IDE for Java?

discover which Eclipse projects are opened

Is there any way to discover programatically (but not in PDE code) which eclipse projects are opened?
I was hoping that would exist a .metadata anywhere telling me that, but couldn't find any non binary data.
The closer I got was something like:
"$WORKSPACE.metadata/.plugins/org.eclipse.core.resources/.projects/%s/org.eclipse.jdt.core/state.dat" where %s refers to the project name
I think m2eclipse uses that guy for some kind of control, because on a m2project this file gets removed as soon as the projects build.
Also, i found some information on .metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml but none of them give me the full info I was hoping to find.
Does anyone knows how to solve it?
I was trying on eclipse 3.7.
On eclipse 4.3 , at least, its possible to parse $WORKSPACE/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml and look up whether the desired project has a factoryID="org.eclipse.jdt.ui.PersistableJavaElementFactory", meaning it is opened.
I Didn't try this on 4.2 tough, maybe it works there as well.
To do it "programmatically", you call the APIs from the org.eclipse.core.resources plug-in. Otherwise, you are doing it wrong.

Eclipse can't handle CSS3 Animations

I was wondering if anybody could tell me why eclipse seems determined to not format the code for css3 animations correctly, more specifically it inserts newlines into the keyframe rules. ANy tips on how to fix this?
Accordingly to this comment
Also, CSS3 is not the default CSS-level. So when the time comes you'll
need to modify the Web Content Settings at either the project level or
file level by right clicking on the project or file and selecting
Properties. Select Web Content Settings and change CSS Profile to
"Cascading Style Sheets, level 3".
Verify if your version of the WTP is, at least, 3.2.3.
Try it. If you still go into formatting problems I suggest you to add an issue at Eclipse Bug track.
You can also try installing Aptana Studio 3 Eclipse plugin version.

Create awt and lcdui custom component visual designer plugin for netbeans/eclipse

I'm trying to create an awt and an lcdui custom component visual designer plugin for Eclipse or NetBeans. Drag and drop functionality should be supported.
I have already found this http://wiki.netbeans.org/JavaMEComponent_VDComponentProject but I get some errors on the way and cannot complete the whole process described.
Any other links for Netbeans case?
I haven't discovered anything concerning Eclipse. Any links please?
Google donated WindowBuilder pro to Eclipse, and it was available in the Indigo release (June 2010). See http://eclipse.org/windowbuilder/ and WindowBuilder Pro>Quick Start.
WindowBuilder comes with a set of toolkits already code that can be installed (Swing, SWT, eRCP, GWT). They are pluggable, so depending on your usecase you might be able to extend one of the existing toolkits or write your own (there must be docs for that somewhere :-)