[DQL] Added quick fixes for inspections where possible#111
[DQL] Added quick fixes for inspections where possible#111dorian-krefft-dt merged 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds quick fixes to DQL inspections to improve the developer experience when dealing with invalid DQL code. The changes enable users to automatically fix common issues like unknown commands/functions and invalid command contexts.
Changes:
- Added quick fixes for dropping unknown or experimental DQL commands and functions
- Added a quick fix to rename DQL files to
.partial.dqlformat when invalid command context is detected - Updated inspection descriptions to document the new quick fix functionality
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| DQLBundle.properties | Added localization keys for the new quick fix messages |
| DQLUnknownFunction.html | Added documentation about the drop function quick fix |
| DQLUnknownCommand.html | Added documentation about the drop command quick fix |
| DQLInvalidCommandContext.html | Added documentation about the rename file quick fix |
| UnknownFunctionInspection.java | Integrated DropFunctionQuickFix into unknown function inspection |
| RenameFileQuickFix.java | New quick fix implementation for renaming files to partial DQL format |
| DropFunctionQuickFix.java | New quick fix implementation for dropping unknown functions |
| DropCommandQuickFix.java | New quick fix implementation for dropping unknown commands |
| ExperimentalFeatureInspection.java | Added quick fixes for experimental commands and functions |
| UnknownCommandInspection.java | Integrated DropCommandQuickFix into unknown command inspection |
| InvalidCommandContextInspection.java | Added multiple quick fixes with conditional logic for file renaming and command dropping |
| CHANGELOG.md | Documented the new quick fix features |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/main/java/pl/thedeem/intellij/dql/inspections/fixes/RenameFileQuickFix.java
Outdated
Show resolved
Hide resolved
src/main/java/pl/thedeem/intellij/dql/inspections/commands/InvalidCommandContextInspection.java
Show resolved
Hide resolved
Qodana for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.3.1
with:
upload-result: trueContact Qodana teamContact us at qodana-support@jetbrains.com
|
No description provided.