Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

how to fix imports?

$
0
0

Hello,

 

I just migrated from netbeans to intellij recently. Trying to fix imports by using the short key of 'optimize imports'. It never worked for me. No matter I use key shortcuts, set the 'auto imports on the fly' in preference or use the menu bar. So frustrating. I have manually reimport for maven and set 'automatic import' for maven in preference. Seems no impact at all. In netbeans, I just add the dependency to my pom, then after 5 min or so, I can just use automatic imports to fix the 'cannot find symbol for ...'

 

Also, I'm using the dark theme, called darla or sth. Even though in the preference dialog it says the error will be red with wavy line underneath, I don't see a wavy line under any of my compilation errors. They are just red.

 

And what is even more pathetic is, the usage of imported class is marked red, while the import statements i manually added is all in grey, as 'unused imports'

 

I'm using intellij 13 on MAC. Can someone please give me some help here? thanks a trillion

 

gigi


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>