Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ezhov-da/2a83f2f2ba440b79e742220e3f336bf1 to your computer and use it in GitHub Desktop.
Save ezhov-da/2a83f2f2ba440b79e742220e3f336bf1 to your computer and use it in GitHub Desktop.
Раскрытие символа '*' в импортах
==> https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html#
1. Disable wildcard imports to always import single classes
2.In the Settings/Preferences dialog Ctrl+Alt+S, select Code Style | Java | Imports.
3. Make sure that the Use single class import option is enabled.
In the Class count to use import with ‘*’ and Names count to use static import with ‘*’ fields, specify values that definitely exceed the number of classes in a package and the number of names in a class (for example, 999).
To replace an import statement with single class imports in a file without changing the settings, place the caret at the import statement, press Alt+Enter (or use the intention action the Intention action icon icon), and select Replace with single class imports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment