Disable auto look up of clasess.

Whenever we write some peace of code and provide some new Class name.
intellJ try to look for the class in source dir and classpath, if class or related methods not found. It gets highlighted in RED color.
intellJ keeps looking for the class and system become quite slow.

While working on many modules its not really feasible to have all dependencies in class patch. Its an overhead sometimes.

  • Is there any way to turn off this feature?*



Attachment(s):
intelliJ_Auto_Lookup.JPG
1 comment

Hello Devendra,

Whenever we write some peace of code and provide some new Class name.

intellJ try to look for the class in source dir and classpath, if
class or related methods not found. It gets highlighted in RED color.

intellJ keeps looking for the class and system become quite slow.

While working on many modules its not really feasible to have all
dependencies in class patch. Its an overhead sometimes.


How exactly is this an overhead? You do need these dependencies in order
to compile and run the project.

Also, nearly all advanced features of IntelliJ IDEA (which make it more powerful
than Notepad) require having correct dependency informagtion.

Also note that recent IDEA versions have quickfixes for automatically adding
module dependencies in cases like this one.

  • Is there any way to turn off this feature?*


No.

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


0

Please sign in to leave a comment.