String of SQL doesn't understand in Intellij

后端 未结 2 1035
清歌不尽
清歌不尽 2021-01-27 07:36

everybody. I am making a toy webapp. It uses Spring Boot and Mybatis. Mybatis mapper configures Java Interface. I expect the string of SQL understands in Intellij. But It doesn\

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-27 08:19

    You can activate this feature with the following steps:

    1. On you query press Alt + Enter keys and choose the option: Inject language or reference:

    1. Select the most appropiet syntax for you, for example: SQL (SQL Files)

    1. Results:

    For disable that feature, you should press Alt + Enter keys on your query and choose Un-inject Language/Reference

提交回复
热议问题