Author Archive

AnnotationConfig*ApplicationContext support in IntelliJ IDEA 11.1

Friday, February 24th, 2012

From this short post you’ll find out (and see) how to:

  • configure your non-XML Spring contexts using @Configuration classes, AnnotationConfigApplicationContext or AnnotationConfigWebApplicationContext
  • set-up “active” profiles for annotation-based configurations
  • 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?

    Play! Console in IntelliJ IDEA

    Thursday, January 12th, 2012

    Did you know that IntelliJ IDEA 11 provides an integrated Play Framework console?

    Start it from “Tools” menu, complete Play! commands, use command history, analyze output.
    Play! with pleasure!

    IntelliJ IDEA for Spring Integration 2.0 Patterns

    Tuesday, December 27th, 2011

    Spring Integration extends Spring to support the well-known Enterprise Integration Patterns via lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters.

    Just wanted to let you know that in IntelliJ IDEA 11 we’ve added support for all 21 integration schemes with code analysis, completion, usages search and basic refactorings.

    Spring 3.1: Testing with @Configuration classes and profiles

    Friday, December 16th, 2011

    Latest Spring 3.1 features can be easily found in IntelliJ IDEA 11 release.

    If you’ve already started testing your applications with @Configuration classes and environment profiles, tell us how it works for you in IntelliJ IDEA.

    New in 11: Spring 3.1 @Configuration based contexts support

    Friday, December 2nd, 2011

    Spring 3.1 significantly extends @Configuration based applications with a set of new annotations responsible for processing of Spring models

  • @ComponentScan configures component scanning directives for use with @Configuration classes. Provides support parallel with Spring XML’s <context:component-scan> element
  • @Import indicates one or more @Configuration classes to import. Provides functionality equivalent to the <import/> element in Spring XML.
  • @ImportResource indicates one or more resources containing bean definitions to import.
  • @PropertySource providing a convenient and declarative mechanism for adding a PropertySource to Spring Environment.
  • @Profile indicates that a component is eligible for registration when one or more specified profiles are active.
  • New in 11: Play! in IntelliJ

    Monday, November 28th, 2011

    IntelliJ IDEA 11 adds support for one of the most voted issues: Play! framework.

    Please, have a look at how you could play in IntelliJ IDEA:

    What else? Watch other short screencasts of specific features:

    Enjoy Spring Data JPA in IntelliJ IDEA 11

    Thursday, November 24th, 2011

    Spring JPA is a part of the Spring Data project that makes it easy to quickly implement JPA-based repositories.

    IntelliJ IDEA 11 recognizes repositories,
    provides quick navigation through the code,

    adds advanced completion, error highlighting and quick fixes.

    Download IntelliJ IDEA 11 Beta and try it.

    Tell us how you use IntelliJ IDEA

    Thursday, May 12th, 2011

    If you’ve already launched IntelliJ IDEA 10.5 you probably noticed this  “green notification” asking your permission to send information to JetBrains about your IntelliJ IDEA project configuration (which frameworks are used and which are not) and feature usage statistics (e.g. how often extract method refactoring is used).

    We just want to say that this information is VERY important for us and will help us concentrate our efforts exactly on the tools and technologies that you really use.

    Analyzing your “productivity” statistics (Help | Productivity Guide) can help us discovering some useful but rarely used actions and refactorings and publish more posts and tutorials about them.

    If you’ve originally disabled this feature, we kindly ask you to think again and, if you change your mind, you can switch it ON in IDE Settings | Usage Statistics section.

    All the data sent to JetBrains is anonymous and does not contain any personal information.

    Thanks for all the stats!
    The IntelliJ IDEA Team

    Better Spring with IntelliJ IDEA 10.5

    Monday, May 9th, 2011

    Yes! The sunny Spring has finally come to St.Petersburg too. However, it’s not that “Spring” we want to talk now…

    We realize that many of you use the Spring framework in your every day work. So, many should be interested in the new Spring-related features that can be found in the upcoming IntelliJ IDEA 10.5 release.

    1. Better navigation between xml configs and annotated stereotype components

    2. Advanced usage search for @Autowired beans

    3. More inspections for your configs, for instance, deprecated classes and members highlighting.

    4. More powerful placeholder support. All spring model inspections get and analyze placeholder values before highlighting.

    5. More clear Bean Dependencies Graph view. For instance, it obtains beans and dependencies from custom namespaces. Check out this spring integration schemas example.

    There are also smaller changes here and there…

    Download IntelliJ IDEA 10.5 RC to try it and enjoy the improved Spring framework support.

    Spring 3.1 c-namespace in IntelliJ IDEA 10.5 EAP build 106.561

    Friday, April 22nd, 2011

    Spring 3.1 “c-namespace” facility is now supported in IntelliJ IDEA 10.5 with code completion, error highlighting, quick fixes and code generation.

    Grab the fresh IntelliJ IDEA 10.5 EAP build 106.561, check the release notes and send us your feedback.

    Happy Easter Holidays!