Author Archive

Configuring Transports for Spring Web Services in IntelliJ IDEA 10

Monday, August 9th, 2010

With IntelliJ IDEA X you can try new Spring Web Services support features.

If your project contains Spring Web Services specific beans your application contexts are validated to be properly configured with one of the transport protocols.

You can easily configure specific transport beans invoking appropriate quick fix actions.

These actions run a chain of related live templates to complete transport beans configuration.

For instance, If your web.xml contains a MessageDispatcherServlet IntelliJ IDEA validates it to be properly configured and adds a navigation icon to quickly jump to the appropriate application context.

In addition, IntelliJ IDEA adds extended intelligent support for Spring Web Services specific beans such as smart completion, error highlighting, resource type validation, etc.

Try IntelliJ IDEA X EAP and send your feedback to us.

Generate dependencies for Spring TestContext Framework

Friday, August 6th, 2010

IntelliJ IDEA 10 gives you an easy way of generating bean dependencies for Spring Test Contexts.
Simply hit Alt+Insert in your Spring Test to invoke the “Generate…” popup, select the “Bean dependency…” action to run and choose the beans you like.

IntelliJ IDEA actually runs a live template inside to complete the code generation. It creates @Autowired field and adds @Qualifier if more than one bean of the desired type is configured in test contexts.

In addition, you can try “Add @Qualifier” quick fix for an incorrect @Autowired class members

It runs a live template and generates the @Qualifier annotation.

Try it in IntelliJ IDEA X EAP and let us know what you think.

Spring testing support in IntelliJ IDEA 10

Wednesday, August 4th, 2010

Please try IntelliJ IDEA X (EAP) with new Spring testing related support. There is a number of things to note:

1. @ContextConfiguration support with completion, navigation, usages search and error highlighting

2. @TransactionConfiguration

3. All Spring related inspections, quick fixes and annotators are supported for corresponding TestContext Framework configurations.

Tried IntelliJ IDEA 10 EAP already? Let us know what you think!

Develop with pleasure!
The JetBrains Team

Spring Web Services editor and configuration features

Friday, July 30th, 2010

IntelliJ Idea X adds Spring Web Services support with smart completion, usages search, error highlighting, quick fixes and code generation. Here are some examples:

1. Code Generation live templates

2. PayloadRootQNameEndpointMapping

3. @Endpoint, @PayloadRoot and @XPathParam annotations
- @PayloadRoot annotation parameters completion

- simple xpath completion


- prexix configuration with “http://www.springframework.org/schema/web-services” namespace tags

4. AnnotationActionEndpointMapping

5. Exceptions

6. Interceptor’s smart completion

More intelligence for JSF component libraries

Tuesday, March 30th, 2010

Make sure you try the extended JSF components support in the latest IntelliJ IDEA 9.0.2 EAP. Completion, error highlighting and basic refactorings have been added for RichFaces 3.x (a4j and rich) and standard (html and core) component libraries.

Write us about your favorite JSF library and we’ll add support for it asap.

JBoss jBPM visual designer plugin

Friday, March 5th, 2010

We are glad to announce the first release of JBoss jBPM plugin with:

  • Visual designer for jpdl files with DnD, usages search, rename and inplace editing
  • Completion, navigation, refactorings and highlighting inside jpdl xml editor
  • Links to processes from class files
  • Maven pom.xml editor new features

    Thursday, March 4th, 2010

    Since the latest IntelliJ IDEA  9.0.2 EAP the IDE contains a bit of new Maven-related pom.xml editor features.

    1. Easier Navigation

    • You can navigate to “Dependency usages” from “dependencyManagement” of your parent pom.xml:
      and back:
    • You can navigate through projects tree

    2. Smarter Paths
    ‘Path reference’ notion were added to the editor to enhance the code completion, usages search and rename refactoring of project paths.

    3. More intelligent plugins configuration
    IntelliJ IDEA analyses plugin parameter types and adds smart value editors for plugin configuration tags.

    You feedback is as always highly appreciated.

    Maven Generate actions for pom.xml editor

    Wednesday, March 3rd, 2010

    Try the last EAP of IntelliJ IDEA 9.0.2 to test new ‘Generate’ actions for Maven pom.xml editor.  Type “Alt+Insert” to invoke the “Generate…” popup menu and select an action to run.

    IntelliJ IDEA actually runs live template inside to complete the code generation

    Generate action for pom.xml

    Let us know what you think about.

    More intelligence for web.xml editor

    Wednesday, March 3rd, 2010

    With IntelliJ IDEA 9.0.2 you can enjoy editing web.xml with the new initial parameters support. IntelliJ IDEA now collects parameter names and is also aware of parameter values types. This allows the IDE to generate (with Alt-Insert), complete, highlight and validate them appropriately.

    web.xml context-param completion

    Grab the latest EAP of IntelliJ IDEA 9.0.2 to try it today.

    If you are a plugin writer, you can provide your specific context parameters through the special com.intellij.javaee.model.xml.converters.ContextParamsProvider extention point.

    CDI (JSR-299) Run with me…

    Thursday, November 19th, 2009

    Contexts and Dependency Injection (JSR-299) support in Maia has been significantly improved.

    • Reworked tool window:

    • New code inspections:
      • Injection points inconsistency. Detects Injection Points with ambiguous and unsatisfied dependencies
      • @Typed annotation errors.

      • Unproxyable bean types inconsistency.

      • And more:
    • Improved Rename refactoring for @Named beans
    • Better navigation to @Typed beans
    • Enhanced dependencies diagram, and more.