0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MybatisのXMLで使えるコード補完プラグイン「MybatisCodeHelperPro」のコード補完機能紹介

Posted at

MybatisのXMLでコード補完ができるIntelliJプラグイン「MybatisCodeHelperPro」の紹介

Mybatis で開発していると、XML にコード補完がなくて開発体験が悪いと感じたことはありませんか?最近、IntelliJ 用のプラグイン MybatisCodeHelperPro を見つけました。Mybatis のコードを書くときに全ての場面でコード補完が効くので、とても便利です!

#{} ステートメントのインテリセンス、複雑な型にも対応

SQL で #{} を入力すると、プラグインが利用可能なパラメータを自動で補完してくれます。オブジェクトのプロパティも深く補完されるので、タイプミスやパラメータ探しの手間が大幅に減ります。

betterParamAutoComplete

if test のインテリセンス

<if test=""><when test=""> などの動的 SQL タグでも、OGNL 式の補完が自動で効きます。条件式を書くのも安心です。

動的タグ内のフィールド補完

Mybatis の動的タグ(<trim><set><where> など)内でもフィールドの補完が効き、開発効率が大幅に向上します。

resultMap property/column のインテリセンス

resultMap で property や column を自動補完してくれるので、エンティティやテーブル構造を手動で照合する必要がありません。

resultMapColumnPropertyAutoComplete

ほぼ全ての Mybatis シーンでコード補完が効き、ミスも自動でハイライトされるので、時間を大幅に節約できます!

その他の機能(コード生成、Mybatis SQL のクイックテストなど)


プラグイン情報


ご質問やおすすめの Mybatis プラグインがあれば、ぜひコメントで教えてください!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?