java - Enable static import wildcards for some classes in Intellij IDEA -


i want enable static import wildcards classes used in tests, e.g. org.hamcrest.matchers. so, when i'll execute optimize imports action instead of :

import static org.hamcrest.matchers.any; import static org.hamcrest.matchers.is; 

i :

import static org.hamcrest.matchers.*; 

is possible in idea ?

solution

settings :: editor :: code style :: java => imports. enter image description here


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -