When I paste in a large code excerpt containing classes not previously
imported, IntelliJ currently deals with this by converting all unknown class
references to their fully qualified class names.
How do I change this so that IntelliJ instead deals with this by importing
the classes in the import section of the class?
Any advice would be most welcome!