#IDE nor working

38 messages · Page 1 of 1 (latest)

pearl lintel
#

Hello,

I use IntelliJ IDEA. It stopped working recently. It wont give me auto-completion, auto-imports or ANYTHING a normal IDE does. NOTHING. It is just a text editor. What am I doing wrong!?

deep pendantBOT
#

This post has been reserved for your question.

Hey @pearl lintel! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

fierce hound
#

unintelliJ is bad ide

#

use eclipse

compact carbon
fierce lynx
#

Check your project settings if a JDK is selected

pearl lintel
pearl lintel
#

No result yet : /

compact carbon
#

can you share your project structure

pearl lintel
#

I wrote the question into my course's forum and someone said I have to ONLY import the folder where the gradle files also are, otherwise the IDE doesnt know its a java program

#

Is that right?

compact carbon
#

if you show me your project structure I can tell you more

pearl lintel
#

Do you mean this?

compact carbon
#

sorry I meant your file tree, on the left side of your screen were all the classes are located

pearl lintel
compact carbon
#

does building the project work ?

pearl lintel
#

In this case I CAN actually create java-documents in the java file. But like this it doesnt work:

pearl lintel
compact carbon
# pearl lintel

here intelliJ should work as expected and the auto completion should work.

compact carbon
pearl lintel
compact carbon
#

No, you can set your own source directories. Could you share your build.gradle file.

compact carbon
pearl lintel
pearl lintel
compact carbon
pearl lintel
compact carbon
#

Ah yeah, don't do that in IntelliJ this does work in Eclipse, having multiple projects in one workspace, but in IntelliJ I would just create a new package per week, except of course the build.gradle changes.

pearl lintel
compact carbon
#

well theoretically yes, but a package is a folder inside the source folder. Right now you are copying the entire project, including folders like .idea and build which are unnecessary.

#

Create a new Project and let IntelliJ configure gradle for you. You can add dependencies later but the important part is that you only copy the actual source files into the source folder, inside a new package for example.

pearl lintel
deep pendantBOT
compact carbon
#

If you have any further problems let me know

pearl lintel