Skip to content

Comments

[DQL] Added quick fixes for inspections where possible#111

Merged
dorian-krefft-dt merged 2 commits intomainfrom
feature/dql/missing-quick-fixes
Jan 30, 2026
Merged

[DQL] Added quick fixes for inspections where possible#111
dorian-krefft-dt merged 2 commits intomainfrom
feature/dql/missing-quick-fixes

Conversation

@dorian-krefft-dt
Copy link
Collaborator

No description provided.

@dorian-krefft-dt dorian-krefft-dt self-assigned this Jan 30, 2026
Copilot AI review requested due to automatic review settings January 30, 2026 18:07
Copy link
Contributor

Copilot AI left a 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 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.dql format 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.

@github-actions
Copy link
Contributor

Qodana for JVM

It 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 report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.3.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@dorian-krefft-dt dorian-krefft-dt merged commit 2646a05 into main Jan 30, 2026
8 checks passed
@dorian-krefft-dt dorian-krefft-dt deleted the feature/dql/missing-quick-fixes branch January 30, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant