Parameter expression

Mybatis supports simple parameter expression in SQL statements. Parameters can specify a more specific data type in SQL parameter with parameter expression. You can find more details about parameter expression here and ParameterExpression

Builtin support

The plugin integrates parameter expression as a custom language in IntelliJ. It's context-aware, really powerful and works in both mapper XML and annotation.

Let's see how it works in action:


It can also detect mapper context even if you use segment editing:


As you can see it provides many useful features (e.g., auto insert }, auto-completion, property cascade, refactoring, etc.).

Color schema

You can customize the color schema for the custom language in settings if you want to:

custom language color schema

Note: Currently, color schema works only in segment editing.

Codes Magic © 2013-2019 · Terms