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 -

c# - Can I intercept a SOAP response in .NET before a content type binding mismatch ProtocolException? -

css - Can I use the :after pseudo-element on an input field? -