imports issue?

when i use intellij it all seems normal but recently i started a new project and every import statement i make is deleted after i add the end ;

so if i type import java.io.Console; then it deletes it anyone know why is it because the type of class file it is or does it do somthing special with the import you type...

Any help would be greatly appreciated

2 comments
Comment actions Permalink

fixed i unchecked optimize imports on the fly.

0
Comment actions Permalink

Hello Josh,

Why do you need to type import statements by hand? IntelliJ IDEA's auto-import
and class name completion features take care of imports for you automatically.

when i use intellij it all seems normal but recently i started a new
project and every import statement i make is deleted after i add the
end ;

so if i type import java.io.Console; then it deletes it anyone know
why is it because the type of class file it is or does it do somthing
special with the import you type...

Any help would be greatly appreciated

---
Original message URL:
http://www.jetbrains.net/devnet/message/5265362#5265362

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.