When generating an SQL file from a @SQL annotation via an intention action, the newly created SQL file will no longer be automatically opened.
-
For conversions from annotations to SQL files, the generated SQL file is created but kept closed.
-
For conversions from SQL files to annotations, the SQL file is deleted as before, but the jump to the corresponding DAO method remains in place.
This ensures a smoother workflow by avoiding unnecessary file opening during conversions.
https://github.com/domaframework/doma-tools-for-intellij/blob/main/src/main/kotlin/org/domaframework/doma/intellij/common/psi/PsiDaoMethod.kt#L205