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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -