AnnotationConfig*ApplicationContext support in IntelliJ IDEA 11.1February 24th, 2012 by serega.vasiliev
From this short post you’ll find out (and see) how to:
If you use AnnotationConfigWebApplicationContext then simply add your configurations or packages-to-scan to “contextConfiguration” context-param of your web.xml and these files will be autodetected by IntelliJ IDEA.
or add your @Configuration classes to a new annotation-based fileset if your application uses AnnotationConfigApplicationContext.
So, what do you think?