I'm currently using intellij idea 2020.3.1 . I have done many mini projects with java and flutter and i have never faced any problem with the autocomplete feature/intellisense before until now. It just suddenly stopped working and i have been trying to fix it for days. I have tried the following solutions to no avail.
Disable the power mode off
I have marked my project root directory as the sources root
I set up my JDK correctly
I have done the "invalidate caches/restart"
All to no avail. Is there anything else i could do, please?enter image description here
After much research on the internet, i found out that the problem was from Settings|Editor|Code Completion|Show the documentation popup , was unchecked. How it became unchecked(I cant remember doing it), i dont really know. After i checked it, the code completion feature started working
Related
Eclipse has been working very well for me recently, up until now. I am using Oxygen.1a Release (4.7.1a), and whenever I am typing, it seems that when I press the '.' key, it slows down the whole program for about 5 seconds. It is very laggy and annoying to work with. Here is the error I get:
I have checked my metadata.log file but there are no errors. Although I can still use Eclipse, it is just annoying to use currently. Thanks for any help!
EDIT: I checked another post and it said it may be due to large JAR files. I have a craftbukkit.jar file for Minecraft plugins. Any idea if this could be the problem?
EDIT: I have reinstalled and it is still not working.
Okay, because I was running out of space I uninstalled many programs(including java 8 development kit), then I reinstalled the jdk files. So, when I reopened inteliij is not working. All java tokens like String and System and all java tokens are showing cannot resolve symbol 'String'(when mouse is hovered to String).
enter image description here
and screenshot of my run tab.
enter image description here
I know, this question is way similar to some question in this community.
But, those answers are not solving mine. How to fix?
Follow the instructions in the IntelliJ documentation below and add SDK for your project. This will resolve all your SDK related issues.
https://www.jetbrains.com/help/idea/2017.1/sdks.html
I've done some simple project(calculator with GUI, I'm in learning phase :D ) in NetBeans,
it all worked well, compiled and everything worked fine. So,day after, I decide to move on to something new, but when i opened NB, GUI(from the Calculator project) didn't show up(in the "Design" view) it just said "Loading..."
I ignored this and tried to create a new project, but that didnt work out, after setting up and pressing "Finish" button it just did... well nothing :/
"Finish" button just faded and I was stuck with this (check ss below)
I've tried cleaning cache from /home/[myUsername]/.netbeans/7.0/cache (this suggestion I've found while Googling the solution of my problem) which didn't work.
After that I decided to go to StackOverflow and before asking new question I searched for my problem and actually found someone with same problem (Question) but he didnt get much of a solution, neither did he give much of details :/
So I've decided to try the suggestions from comments first:
Clean and build and try again
Looks like you have to add the Swing Layout Extensions Library to your project
It didn't work, but my problem was a bit different, I had my project already built successfully so i can still run it, even though it won't show up in Design view, i just couldn't do any change to Calculator project(would get same error as he did) nor could i make a new one.
Now I would like to know is this a bug in NetBeans or am I doing something wrong and how to fix it if it's possible?
Im using Linux Mint 16, NB version 7.0.1(latest)
Calculator project:
////GUI.java code
Im sorry for using links instead of other types of formatting, but i think like this its kinder to eye due to code being too long.
Thanks for your effort and time, and sorry if its a problem due to my stupidity
Ok, thanks to MadProgrammer I've found a solution, looks like it's a 'known bug' in this version of NetBeans, which is apparently obsolete(even tho the program itself says it's the latest)
Upgrading to 7.1.2 should fix the problem, will update if it works...
UPDATE
Works like a charm :)
Bug was fixed in 7.1.2 currently new is 8.0.2. apt-get gives me 7.0.1 as latest :/
P.S. Had problems with NetBeans from official site too, it won't accept the jdk path, so i suggest downloading it from oracle JDK+NB bundle
I've got this version through sudo apt-get install netbeans , I'll try downloading from their site
Please help me, I'm having serious trobules with Eclipse for the second time.
I'm following a guide and in these last days my Eclipse used to work fine (and was heavy 600 mb), now after the updates I did recommended by the guided, it downloaded a lot of things for hours and my folder now is 12.6 GBs (and it's pretty uncofortable since I'm on a not too large SSD).
The problem is that the old ADT worked, after the update every project gives errors, like there is no Android SDK.
The console gives me this error
[2014-11-18 22:37:33 - DDMS] DDMS files not found: C:\Users\Ruggiero\Desktop\Ruggiero\android_dev_environment\sdk\tools\hprof-conv.exe
If it can help you, when I run Eclipse it shows me this error message
Now, the most obvious thing would be "just press Check for updates".
When I do it, it says me there are no updates.
So I go for "Install new software" and after I go to the link (official Google link) and try to install the updates it gives me this error
error2 http://s7.postimg.org/h5r1gaa63/eclipseerror2.png]
Please do not flag as duplicate as I already searched on the web and StackOverflow too and even if I found similar troubles, no one was equal or really close to mine.
I had a similar problem. The only way I could make it work was to completely uninstall Eclipse and Android SDK and reinstall again.
There are likely workarounds for this, but I think I suggest just downloading a fresh Android bundle (with all the correct updated software), and install it fresh.
I have had experiences where something goes wrong in the tools update, and found the simplest way to correct is to uninstall my existing tools and start fresh. It is easy to install the bundle, and you will know you have all the correct packages and software installed.
You will spend a bit of time trying to debug your install, it will be quicker to install a fresh instance.
I self resolved by switching to Android Studio IDE
I'm running a simple java project on Android (using Eclipse ADT).
During debugging I see that a value is not set correctly.
I think this screenshot says it all:
Any idea what can cause this?
Thanks a lot,
Omer
After a lot of struggles what solved the problem for me is the following:
Project -> clean , like Simon suggested.
Restart eclipse.
Fix build path (after clean , I got error in my build path not refrencing the JRE).
Fix android target version. (After clean I got some error on the target).
Save files.
Restart eclipse (again).
This was one of the strangest things I've encountered as a programmer,
and I'm not really sure until now what the problem was and which of the above steps helped to fix it.
So , I've decided to write all of the steps, hoping it might do some good to some other pour soul.
Simon- Thanks again.