Languages
[Edit]
EN

Intellij Idea - do not use wildcard imports (do not import *, 999)

1 points
Created by:
Vadim-Kotiv
414

Quick solution:

Intellij Idea - do not use wildcard imports (do not import *, 999)
Intellij Idea - do not use wildcard imports (do not import *, 999)

 

 

Steps:

  1. File (menu bar)
  2. Settings
  3. Editor
  4. Code Style
  5. Java
  6. Imports tab
  7. Change from 5 to 999 - Class count to use import with '*'
  8. Change from 3 to 999 - Names count to use static import with '*'

 

Intellij Idea - default settings for wildcard imports

  1. Default value of Class count to use import with '*' is 5
  2. Default value of Names count to use static import with '*' is 3
Intellij Idea - default settings for wildcard imports
Intellij Idea - default settings for wildcard imports

 

Alternative titles

  1. intellij do not import * (999 - wildcard imports), asterisk sign
  2. Intellij Idea - never use wildcard imports
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

IntelliJ IDEA

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join