-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/document first for item #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…em definition source that is defined in the field access element and uses Dao parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves type resolution for top-level "for" directives, centralizes common utility routines, and removes deprecated/unused classes. Key changes include fixing type lookup for DAO parameters and static property calls, moving common utility classes to a dedicated package, and deleting legacy inspection and validator classes.
Reviewed Changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| GenerateSqlQuickFix.kt | Updated import to use the new util package for PluginLoggerUtil. |
| ForDirectiveInspection.kt | Removed unused/deprecated inspection class. |
| SqlLineMakerProvider.kt, DaoMethodProvider.kt, SqlFormatPreProcessor.kt, JumpToDaoFromSQLAction.kt, JumpToDaoFromDaoAction.kt, GenerateSqlAction.kt | Updated import references to PluginLoggerUtil to reflect package refactoring. |
| ForItemElementDocumentationProvider.kt | Refactored documentation generation logic for DAO field and static field access. |
| SqlParameterCompletionProvider.kt | Refactored field access logic in for directives using ForDirectiveUtil. |
| PluginUtil.kt & PluginLoggerUtil.kt | Updated package declarations to the new util package. |
| Various validation and for-item related classes | Deleted legacy files no longer referenced in the codebase. |
Comments suppressed due to low confidence (1)
src/main/kotlin/org/domaframework/doma/intellij/inspection/ForDirectiveInspection.kt:1
- Confirm that removing ForDirectiveInspection is deliberate and that no references to it remain in the codebase.
Entire file removed
Improve type resolution for top-level for directives
Centralize common logic in Util
Remove unused classes