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't it.
I expect a like below. If it understands SQL in IntelliJ I have a benefit for work.
I want to know How to set for it. or no way?
thanks.
You can activate this feature with the following steps:
- On you
query
press Alt + Enter keys and choose the option: Inject language or reference:
- Select the most appropiet syntax for you, for example: SQL (SQL Files)
- Results:
For disable that feature, you should press Alt + Enter keys on your query
and choose Un-inject Language/Reference
In java file type, use Inject Language intention action to inject appropriate SQL dialect: