Sometimes keyboard shortcuts do not work in eclipse? - java

Couple of weeks ago I installed complete ADT bundle from here. this comes up with Android Developer Tool (Eclipse) Build: v22.3.0. Sometimes its shortcut keys do not work. If I close my eclipse and start it again, then it works fine, and if I use to keep work then after some times it again gives the same problem. Is that any bug or issue or did I do something wrong?
Any suggestion?

Its a bug. Happens on windows or sometimes on my ubuntu too. I can not even do a Ctrl + S to save the file. Restarts solves the problem. Its an eclipse bug.

Related

Netbeans 12.0 Java hints and highlights not working

Suddenly the hints and highlights on Netbeans stopped working for me. It won't show suggestions on imports and it won't highlights errors. I intentionally wrote int i = "hello":and the code wasn't highlighted and no warnings came up. I've checked >Preferences >Editor and form what I can tell Code Completion, Code Templates, Hints and Highligthing are all selected. I checked some older posts here and also tried to delete the index in the caches folder. I've discarded my project and started over, uninstalled and installed Netbeans and restarted my laptop at few times now but the issue is still there. It was working fine until yesterday afternoon. Any suggestions? I run Netbeans on macOS Catalina if that matters.
EDIT**
I now noticed this problem only occurs in projects where I have a JForm.
I had the same problem and here how I solved it:
Exit Netbeans
Go to : C:\Users\UserName\AppData\Local\NetBeans =====> DELETE Cache folder
Open Netbeans and it's fixed

IntelliJ Crashes on opening Gradle project, why?

So I have been using IntelliJ with Gradle perfectly fine for the past few days. I tried to create a second Gradle project in the same workspace and since, IntelliJ crashes when i open it. The start screen appears, the project opens then a few seconds later it just closes. There is a crash report that appears, which is attached.
I tried deleting the new project and just opening the old one but it made no difference. It seems to be happening permanently now. I even tried reinstalling IntelliJ but it had the same problem the moment I created a second project.
Does anyone know how to fix this? Thanks.
Log File
After having a look around and being very close to contacting support, I found a post (I cannot find where) that suggested these errors are to do with my JDK version. After following this tutorial, the problem was fixed. Hope this helps someone else with the same issues!

Android Studio - Error running MainActivity: Unknown run configuration type AndroidRunConfigurationType

Everything was working fine a while ago, but then I started getting this error, which is really troubling:
I just reinstalled Android studio and still showing me this issue. Does anybody know what I can change to get a solid configuration back so I can run main activity? The configuration windows give me little to work with.
Thanks in advance for any pointers
-T
Figured it out. There was a weird bug in the plugins section of preferences. Android support was unchecked and a couple of others simply needed to be toggled as they were red. Scary.
check your SDK if it's path is correctly set
if your laptop is Mac,check for JDK issues, openJDK have machine specific issues

eclipse indigo constantly freezing and giving problems

Ive been getting alot of weird problems with my eclipse Ide the last day or so and I would like to reinstall some or all components of it to try to correct the issue, I noticed last night that my background services in my android project stopped working when I would launch the project I was working on, yet It would then launch when I would open up another project so I began doing that instead as a work around, I then began getting issues where when I relaunched the emulator it would freeze at 27% every other time and I would have to restart the ide over and over again.
what I would like to do is reinstall the jdk, and if that doesnt work I would like to reinstall eclipse, however the dilemma Im having is Im not sure If I will lose all my work If I do this, what is the best thing to do?
Eclipse can get really frustrating and hard to fix but it is also very easy to install. You donT actually uninstall or install anything, Eclipse can be run without changing the registry.
I ll suggest, before you lose any more hair or your sanity:
archive your existing indigo and workspace
get a new copy of Eclipse (indigo again, why not)
re install Android environment
import your projects, clean, fix ..etc.
Apparently this is a rather common problem, not your particular %27 problem but the general Eclipse fix vs reinstall dilemma. IMHO, a clean start saves from a lot of trouble.

eclipse (3.5 & 3.6) crashes in ubuntu

i have a problem with eclipse within ubuntu 10.04 (x86). i installed eclipse by downloading the zip-file, not from the sources. everything worked just fine until i decided to try eclipse 3.6 which i downloaded just as i did with 3.5...
well i saved 3.6 in another directory than 3.5, started it and opened a workspace that i created with 3.5. after working a bit with 3.6 i notices the following problem:
at some times, when i type sth like CLASSNAME. or VARIABLE. (that is when the code-completion dialog pops up), eclipse crashes, when i try to
close the code completion window (e.g. by pressing ESC)
select sth from the code completion window
or anything else. this problem did NOT occur within 3.5 at ANY time. well - switching back to the old 3.5 did not solve the problem. the crashes now happened also in this version :(
so i tried to:
delete the /home/USER/.eclipse dir
reinstall java from the sources
create a completely new workspace
tried the eclipse version from sources (3.5)
nothing helped :(
i'm out of ideas... how do i get rid of this problem?
It looks like bug 308731, which is XulRunner related.
I confirm that the Steffen's solution works for me and it is necessary to set
the property "-Dorg.eclipse.swt.browser.XULRunnerPath".
I set:
-vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner-1.9.2
in my eclipse.ini
(crash when pressing Enter on content assist selection)
Add -Dorg.eclipse.swt.browser.DefaultType=mozilla at the end of your eclipse.ini file
It works for me :)

Categories