Features

Custom Languages and Regular Expressions in IntelliJ IDEA

As you might recall, IntelliLang plugin had won two awards at the recently held IntelliJ IDEAL Plugin Contest.
IntelliLang extends the support of custom languages and regular expressions in IntelliJ IDEA with:

  • Language Injection Support: IntelliJ IDEA 6.0 can treat String literals, XML text and attributes as fragments of an arbitrary language. IntelliLang lets you use Java annotations or built-in GUI configurator to mark String fields, local variables, method parameters and methods returning Strings as containing code written in a certain language.
    List of Supported Languages
    With IntelliLang you get the proper code completion, highlighting and inspections according to the language you have annotated, for example, a JavaScript code embedded into an XSLT file.
    Example: JavaScript Embedded in an XSLT Stylesheet
  • Pattern Validation: Supports annotations that let check String Java elements for compliance with certain regular expressions. This is really handy when it comes to ensuring that an expression conforms to a certain syntax, for example, a String is a legal Java identifier or a valid printf-like pattern used by java.util.Formatter.
    Code Inspection
  • Regular Expression Support: Adds support for regular expressions to code completion, validation, inspection, quick-fixes and Intention Actions, plus error highlighting.

    Regular Expressions Completion

    Moreover, IntelliLang brings several unique features that make creating and editing regular expressions even easier: completion and validation for character property names (e.g. p{javaJavaIdentifierStart}) combined with validation and navigation for the use of back-references (e.g. 1).

    Checking Back-References

IntelliLang is freeware and available for download at IntelliJ IDEA Plugin Repository
Visit the IntelliLang Support Page for more information about plugin features and usage.

Technorati tags: IntelliJ, IDE, IntelliJ IDEA
image description

Discover more