Don't know if it's related to Eclipse, but it happened in Eclipse, so my first assunption will be, that it's something that has to do with Eclipse.
The problem is, for some strange reason, all of a sudden, whenever I can "browse" within Eclipse for a file/project, or whatever it is, the default window that is being shown does not contain any drives on my computer, and only a Desktop plus my user's windows folder. It is shown below:
As you clearly see, there is no way to go to the "My Computer" or any drive. I have a workaround (for now), but it will become pretty irritating fast, so I'm looking for a solution that caused all this. The workaround anyway, is typing the "C:\" or any drive letter, and hitting Browse button afterwards. If I do this, all is back to normal:
Anybody can help out a fellow programmer, who had the same weird case?
Thank God, the internet. After searching for almost 2 hours for this, I got lucky and found this thread:
http://forums.cnet.com/7723-19411_102-412058/browse-for-folder-missing-computer-and-libraries/
Well, when you have 16GB of RAM, 2 monitors, and 2 SSD drives (for some of you it might not be much, but for me it is), you kinda tend to loose yourself into thinking how "powerful" your machine is ;).
The answer was just like for the user in the above thread. I did have a lot of items on my desktop, that increased today. Seems at one point today I "crossed" the magical line, which broke the "Browse Dialog".
In anyway, posting here, if someone else will run into this issue in the future. I hope it will be helpful to someone.
Related
There are some repeating characters when my ubuntu 20.04 is booting, like [[^~[[^~[[^~ ... it seems like someone is pushing specific buttons but pushing buttons doesn't write anything when I try. Also sometimes when I'm writing something my keyboard starts repeating 0, and it stops when I push another button. I think it may be related to that problem. Is that a software bug or a hardware problem? What should I do? I add a picture of that. My laptop model is Lenovo Ideapad 520. (about three months ago I spilt a cup of tea on my laptop but these problems appeared recently, I'm not sure if they are related)
Console Screenshot
this is most likely a direct issue of you adding tea to your keyboard.
I have previously worked with repairing computers and sometimes a customer could tell you they dropped a glass of water in their keyboard a year ago and one day the computer couldn't turn on or their keyboard didn't work correctly.
without going into an over technical explanation, this is something that happens, and when you spill water in your computer (or any other type of liquid) the connectors and fuses in the board might get damaged and it can take a while before the problems start showing.
you can do 2 things, if possible you can deactivate the keyboard on your laptop and buy a USB keyboard and use that, which might work forever or to some other water related problem occurs.
The best solution is to bring your laptop to a computer repair service and tell them what happened, they'll be able to pull it apart and look for damage and might be able to just clean it with isopropyl and save it that way, or they will be able to tell you what to do.
Really depends on your budget and the age of the laptop tbh as depending where you live the repair can be costly.
I closed Eclipse because I had a feeling my PC was gonna crash (been acting funny today), and it said it saved my workspace and closed normally.
But when I went back in after reboot, my workspace wasn't loading - even after selecting the right one my projects wouldn't show and the layout was reverted to default....not such a big deal, just re-imported.
But... One of the source files I was working on seems to have been corrupted, replaced with one continuous line of squares, which is kind of a big deal :/
Any thoughts on what caused this? I know there's probably no chance of getting that file back, but if anyone has had a similar experience or knows what the jaysus happened that'd be cool! Ideally I'd like if this never happened again...
Problem was related to my SSD: Weird bug where after 5184 hours of use it would shutdown.
Firmware update fixes the problem.
More here: http://www.tomshardware.com/news/Crucial-m4-Firmware-BSOD,14544.html
I'm having a baffling problem with Eclipse on one of my machines, and it's driving me nuts. When I use File Search, I no longer get the details of each hit within the files. It used to do that, and at some point it stopped. I can only assume that I either installed some plugin that goofed it up or fat-fingered some obscure keyboard shortcut that caused it to stop working. My home machine, which has roughly the same setup (since I work on most of the same projects on it) does not have that issue. Here's a quick screen shot of my home machine, which does have the details that I would like:
And here's what it looks like on my other machine, with the lack of line context:
I'm totally baffled here. Can anybody help out?
Judging by past items...
...closing Eclipse and then running it with the -clean parameter (e.g. eclipse.exe -clean) might do the trick. Or it might not.
One more suggestion. This is not a nice or pretty suggestion and it doesn't tell you why you have a problem, but it just may work.
in your good machine, File -> Export... -> Preferences
in your bad machine, create a new empty workspace
import all of the preferences from your good machine.
If search is now working properly, then import all of your old projects to the new workspace.
This just might work.
This is identical to this comment thread on bugs.eclipse.org -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=47136#c44
Unfortunately, the recommended solution is to reinstall Eclipse
You might try looking in the logs, to identify if there's a specific incompatibility with a Plugin.
From http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html
Generally in Eclipse when you get an error, a message and stack trace
is logged to your workspace log. This is great but can easily be
missed unless you are looking for it. And some plug-ins silently log
entries to the log file. Tsk tsk. In order to never miss entries being
logged, we use the -consoleLog command-line argument. This basically
means "anything you log to the log file should be logged to the
console as well".
eclipse -consoleLog
So, try running eclipse -consoleLog, and see if you get an error when running the search. Do the same thing on both computers, to compare and contrast.
There are different kinds of searches in Eclipse. It looks like the first search is a "File" search. I am not sure what kind of search the second one is, but it looks quite different. Make sure you are doing a "File" search on the second machine.
CTRL-h (or CMD-h on Mac). Select the "File search" tab. If you don't see it, then click on "Customize..." on the lower left and ensure that "File search" is shown.
I'm currently looking for ways to automate some tasks in Eclipse.
For instance, let's say I have a couple of ant files that I'll want to run a couple of times per hour. Being able to assign a hot key to each one of them, so that I could easily run them without having to click, bring the context menu up and click again would bring joy into my life.
Other example would be build/run configurations. I have a couple of them on my project and I'd love to have a way of running each one of them with a different hot key configuration.
Moreover, the very nature of a project I'm currently working on involves a lot of experimentation and trying, so having to click and use my mouse a lot is definitely driving me insane. There are other similar things that I would like to get automated as well (for example, each time I do a commit I'd like to also run some command over my project's folder, etc).
Is there some tool for Eclipse(or outside it) that'll somehow allow me to automate these kinds of tasks? Would Vim for Eclipse help me anyhow?
After some years coding I feel like I have hit a stone wall. I came to the conclusion that I am losing way too much time with my mouse. Yes, I know that a lot of Eclipse actions have correspondent hot keys, but a lot of others don't. I want the ultimate solution !
There are several solutions:
Use a console. Consoles allow to remember the last commands (on Unix, you can even search). So instead of mouse-fu, it's Alt-TabUpReturn
There was Eclipse Monkey to script Eclipse. Not sure if it still works but it might.
On Sourceforge is Practical Macro. No documentation that I could find, though.
EclipseShell might also work, not sure.
Update (Year 2022). Aaron has provided many options in his answer. It seems any of those are working. I am going to try the old ant builder.
https://www.vogella.com/tutorials/ApacheAnt/article.html
Today I tried to download EGit plug-in from eclipse.org, and waited an hour and nothing happened. I tried three more times, waited for three hours and stopped.
Then I tried to clone egit from the repository developers, but it began to clone at a rate of 5kbps.
Then I thought maybe something wrong with my Eclipse, and decided to download a new one. Eclipse main site opened with a super-slow speed (although bigger than 5kbps). I'm just afraid to download the installer at this speed.
Can anybody repoduce it? What should I do?
You're right, Eclipse updating can be horribly slow, regardless of connection speed.
From what I can tell, this is because it checks a whole bunch of slow servers looking for updates every time you try and install something. You can disable this behaviour in the "Install New Software" dialog by unchecking the "Contact all update sites" option. I find that things go an awful lot faster then.
I am exepriencing the same problem. I am developing a plug-in that depends on a feature on the eclipse site. The downloading of that feature takes sometimes up to 30 minutes, even though it is quite small.
This is probably based on eclipse servers which we can't influence. There are a couple bugs opened for this or similar issues. Feel free to comment on them to maybe get them fixed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331634
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162101
https://bugs.eclipse.org/bugs/show_bug.cgi?id=189380
and so on .. there are a bunch of those.
Check your firewall. In my case disabling McAfee made it run smooth again.
I found some invalid links in Install/Update under Preferences, basically if you have any sort of invalid links which you may have added trusting in them to be update sites, it causes all downloads to be terribly slow. Go to Preferences>Install/Update and delete all your custom links that you added, you can specifically check the error log to tell you which links are invalid by running Update.