I am working with Eclipse Juno and a JSF 2.1 Project.
Auto-Complete for EL Expressions inside a Facelets file is excruciatingly slow.
Slow to the point where if I try to auto-complete a JSF Bean with 20 or so methods, Eclipse editor will hang for 10-15 seconds until I see the members/properties list.
The way I see it I have 2 solutions, I don't know how to implement neither, so help on any would help. (With preference to the first)
Resolve the slowness problem. My guess is Eclipse is doing a bunch of stuff I don't need when I press ctrl-space and if could disable those that should make it faster. (Educated Guess)
Disable Auto-Complete for El Expressions completely and install JBoss Tools (Which I must say, works flawlessly but when in conjunction with the native auto-complete support, It still hangs on every ctrl-space).
So, either solution would help - Resolve slowness or Disable Auto-Complete all together.
Thanks in Advance!!
Well.. Since no one is answering..
I removed the JSF facet and installed jboss tools.
Works fine since I build my project from outside of eclipse.
There are some caveats like support for certain content but all in all that's the "lesser of evils" solution.
Here is what worked for me :
Window -> Show View -> Error Log
if there are errors about a timeout to find javadoc for the JRE, do this :
Project Properties > Java Build Path > Libraries
remove the JRE, add the JDK
(or maybe you can configure the Java-doc for the JRE)
Related
I recently move to Eclipse Juno from Indigo. Although Juno works perfectly as far as my needs the windows "Open" dialog box does not load for some reason. For example, File/Open File does not work.
This is a problem across all places where we need to include a file like adding external JARs or any other place where files need to be added from a windows directory.
"Include Directory" does work where I need to get the directory included but the issue is only with file dialog box.
I have a Windows 7 64 bit and it’s a Eclipse with Java & CDT plug-in.
Reinstalling eclipse would be a last resort as I would need to re-configure 40+ projects again as we have a very peculiar setup here.
I did try to research this but hardly could find more details.. Any pointers to fix this issue will be greatly appreciated.
Edit:
Just wanted to add that tooltip does not work up when I hower mouse on the different icons/files ect, not sure if this is related but just wanted to mention.
Also, I tried updating my eclipse to Kepler but it still does not work, I am now wondering if my Windows 7 has something to do with this..?
I was able to finally resolve this based on research done in this Eclipse bug. My work machine still has java 1.6.0_26 and this release has a bug related to AWT.
I changed the eclipse's java version to 1.6.0_45 and this issue was resolved. I used -vm parameter in eclipse.ini file in to tell eclipse to use a different version.
I'm using Ubuntu 12.04, and to install Eclipse Juno I downloaded it from the official site (I don't use apt-get nor software center)
After updating it from help > check for updates menu, my Eclipse cannot make new project. When I hover File > New, there isn't any menu to select (as the usual Java Project, C++ Project etc.), only an unselectable text like this:
< No Applicable Items >
Anyone know what causes this?
nitind's answer above helped solve my problem. I was using eclipse java ide juno on windows and i could not see any items under File -> New or under Window -> Show View. I noticed eclipse had defaulted to using the Java-EE perspective. Following nitind's suggestion I changed it to the Java perspective and can now see all the menu items. thank you!
I had the same error when i first started the program, but i looked into it, and I saw that the workspace already had .cpp and compiled files in it which i had compiled earlier with a different program. To fix the error, I just changed the workspace to the default, and it worked fine.
I was using eclipse CDT Kepler with java 1.6.0_27. I then tried it with java 1.7.0_25 and eclipse Juno and this method resolved the error in any of these instances.
Try using the default workspace and it should work.
Regards,
Nikita
I tried to delete the Eclipse Helios 3.6 with GWT plugins manually as I usually did with other eclipse IDEs but now I faced a strange problem.
A warning window opens which says...
"Cannot delete resources file. Access denied"
So it makes unable to proceed the deleting pressing OK :(
So how to delete Eclipse Helios 3.6?
Any useful comments are appreciated
Unlocker can help see what program has a particular file locked, like joeslice's link, and it can also force that program to relinquish the file handle (which of course could cause bad things to happen in said program so make sure you know what you're doing).
try to start your computer in safe mode:
when you turn on your computer, push F8(5 times to be sure that it'll work) and after choose safe mode.
You'll be able to delete your files
Process Explorer can help see what's got a particular file locked.
I want to share my problem and my final solution...
The problem was because the Eclipse Helios 3.6 internal GWT plugin update error (so the UI Designer doesn't work).
I was trying to update gwt plugins and that made gwt never compile...
So I had to delete it and reinstall.
The reinstallation was OK but since then I tried to download gwt plugin for many times and had the same UI editor error... I think there is a bug in included gwt plugin GWT UI core and window builder.
If someone faces the same problem please read next...
To install GWT for Eclipse Helios 3.6 you should
A) Install GWT UI Designer first from http://dl.google.com/eclipse/inst/d2gwt/latest/3.6
B) Only then Install GWT SDK and gwt plugin (to skip the bugged plugin part to be installed)
otherwise if you start from this link http://dl.google.com/eclipse/plugin/3.6, it will install a bugged GWT window builder and core (the newest one) and won't allow you to install the correct one because "the newest is already installed" so you'll have to delete and reinstall etc... That's a real headache %) So to avoid that follow point A then B.
I hope that will save ones day :)
Good luck
If I start with a Eclipse IDE for Java Developers (85 MB) (Ganymede) installation. What plug ins do I need to install to be a able to:
See the Server tab and being able to add my Tomcat 6 installation.
Be able to create a Dynamic Web Project which I may connect to my server.
I want to be able to start and stop the server.
See the server Stdout-output in my Console tab.
Debug an application on the server.
I want to install as little as possible, as long as I can do the above things I am more than satisfied.
Especially since I have problems with the complete Web Tools Platform (WTP); according to me it's full of bugs related to validation. It sometimes says valid files are invalid, often it helps if you simply restart Eclipse. I have also found it to ignore exclusions as well as sometimes completely ignoring that I have disabled validation all together.
The problems I've experienced have made me uninterested in anything from the WTP project, except the plug ins enabling me to work more smoothly by fulfilling the above unordered list (because that part of WTP worked really well).
I have heard the some have had success with Sysdeo Eclipse Tomcat Launcher Plug-in together with Ganymede. But since it's officially not supported and there has not been a new release since May 2007 and running it with Ganymede involved changing the plug-in files to accept versions >=3.4 I don't see it as a long term solution.
Installing parts of the WTP but not it in its whole feels like a long term solution while at the same time skipping the error ridden parts of the WTP. But I need help with which parts I need to install, as the documentation on Eclipse.org does not explain. Of course, if there is another supported solution than using parts of WTP then that is of interest too!
When I display the "eclipse Plug-in Dependencies" view for org.eclipse.jst.server.tomcat.ui, I see:
org.eclipse.wst.common.emf
org.eclipse.wst.common.emfwrokben.integration
org.eclipse.wst.common.environment
org.eclipse.wst.common.frameworks
org.eclipse.wst.common.modulecore
org.eclipse.wst.common.project.facet.core
org.eclipse.wst.common.project.facet.ui
org.eclipse.wst.common.uriresolver
org.eclipse.wst.internet.monitor.core
org.eclipse.wst.server.core
org.eclipse.wst.server.ui
org.eclipse.wst.validation
So if you can select org.eclipse.jst.server.tomcat.ui through p2 and let that "update process" to pick the dependencies for you, you should end up with the minimal set of plugins needed for running/managing Tomcat on Eclipse (with WTP).
Is there any way to manually create fold points in code in Eclipse? I know how to enable folding and how to set the auto preferences, but i like being able to set my own fold points so I can ignore certain parts of my code. Think regions in VS.
I know there is in VS and NetBeans, but I cannot find a way to set manual fold points in Eclipse.
I don't think Eclipse has built in manual folding, but I did use a previous version of the following plugin for it.
Per the comment: The plugin has been recompiled for Eclipse 3.5 and is available at the Apache Isis site. A direct download link is also available. It also appears to work for Eclipse 3.6.
The coffee bytes folding plug-in for eclipse is still alive. But the pages have moved.
An Overview and how to get it can be found here.
I've installed it in eclipse using the update page.
In Eclipse go to Help -> Install new Software
Enter: eclipse.realjenius.com/update-site
Select the plugin and follow on-screen instruction.
I'm still pretty new to eclipse development and had to install mylyn before installing the code folding plugin.
I'm new to Eclipse, but since the IDE lets you fold preprocessor directives, you can just do "#if 1 .... #endif" to effectively set up manual folding.
No, eclipse does not have any option to provide manual folding plugins.