Skip to content

CQA 2.1 (Feb) - IntelliJ#317

Merged
anarnold97 merged 4 commits intomigtools:mainfrom
anarnold97:Feb-CQA-2.1-IntelliJ
Feb 26, 2026
Merged

CQA 2.1 (Feb) - IntelliJ#317
anarnold97 merged 4 commits intomigtools:mainfrom
anarnold97:Feb-CQA-2.1-IntelliJ

Conversation

@anarnold97
Copy link
Copy Markdown
Collaborator

@anarnold97 anarnold97 commented Feb 24, 2026

CQA 2.1 and Vale Validation Report: IntelliJ IDEA Plugin Guide



Date: February 2025
Scope: docs/intellij-idea-plugin-guide and all content included in the guide
Reference: CQA 2.1 (Content Quality Assessment), Vale (Red Hat + AsciiDocDITA)


1. Summary

The IntelliJ IDEA Plugin Guide was assessed against CQA 2.1 pre-migration and quality requirements and validated with Vale using the Red Hat and AsciiDocDITA packages. All identified errors and warnings were addressed so that the guide content passes with 0 errors and 0 warnings.


2. Validation Approach

2.1 CQA 2.1

  • Pre-migration tab: Assembly structure, short descriptions, no text between include statements, Vale (AsciiDocDITA) pass with no errors or warnings.
  • Quality tab: Editorial and style requirements reflected in Vale (Red Hat) rules.

2.2 Vale

  • Packages used: Red Hat, AsciiDocDITA (from https://github.com/jhradilek/asciidoctor-dita-vale/releases/latest/download/AsciiDocDITA.zip).
  • Scope: Only Red Hat and AsciiDocDITA; other checks (e.g. write-good) were excluded for this validation.
  • Files validated: All AsciiDoc files that are part of the guide (master assembly, included topics, and the resolving-issues assembly).

2.3 Files in Scope

File Role
docs/intellij-idea-plugin-guide/master.adoc Assembly (master)
docs/topics/templates/document-attributes.adoc Included fragment
docs/topics/making-open-source-more-inclusive.adoc Included module
docs/topics/mta-intellij-plugin/about-ide-addons-intellij.adoc Concept
docs/topics/mta-intellij-plugin/what-is-the-toolkit.adoc Concept
docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc Procedure
docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc Procedure
docs/topics/mta-intellij-plugin/intellij-idea-plugin-reviewing-issues.adoc Module
docs/topics/mta-intellij-plugin/proc_edit-code-file.adoc Procedure
docs/topics/mta-intellij-plugin/proc_quick-fix.adoc Procedure
assemblies/intellij-plugin-guide/assembly_resolving-issues.adoc Assembly

3. CQA Pre-Migration Fixes

3.1 Assembly Structure (No Content Between Includes)

  • Requirement: Assemblies may contain only an introductory section and include directives. No text between include statements.
  • Change: In master.adoc, the document title and short description were moved above the first include::. The assembly now has:
    1. Preamble attributes
    2. Level-0 title and [role="_abstract"] short description
    3. Only include:: directives (no narrative text between them)

3.2 Short Description

  • Requirement: Modules and assemblies must have a short description: 50–300 characters, [role="_abstract"], blank line after the level-0 title.
  • Change: A short description paragraph was added to master.adoc:
    • "Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues."

4. Vale (Red Hat + AsciiDocDITA) Fixes

4.1 Master Assembly (docs/intellij-idea-plugin-guide/master.adoc)

  • Restructured for CQA (intro then includes only).
  • Added [role="_abstract"] short description.
  • Resolved AsciiDocDITA AssemblyContents and ShortDescription findings.

4.2 Topics: Style and Grammar

File Issue Fix
about-ide-addons-intellij.adoc "projects using" (Red Hat.Using) Changed to "projects by using"
what-is-the-toolkit.adoc End punctuation in headings (Red Hat.HeadingPunctuation) Removed ? from "What is the {ProductName}?", "How does the {ProductName} simplify migration?", "How do I learn more?"
what-is-the-toolkit.adoc "EAP" (Red Hat.CaseSensitiveTerms) Changed to "JBoss EAP"
what-is-the-toolkit.adoc "How do I learn more?" (Red Hat.TermsWarnings) Changed to "How do you learn more"

4.3 Topics: Spelling and Terminology

File Issue Fix
installing-intellij-idea-plugin.adoc "JDKs" (Red Hat.Spelling) Replaced with "Java Development Kit versions"
installing-intellij-idea-plugin.adoc Duplicate Prerequisites blocks Removed two duplicate blocks; kept a single Prerequisites section
intellij-idea-plugin-run-configuration.adoc "cli" (Red Hat.Spelling) Clarified as "CLI" and "command-line interface (CLI)"

4.4 Topics: Accessibility and Non-Visual Description

File Issue Fix
proc_edit-code-file.adoc Color-only description (Red Hat.DoNotUseTerms) Described as "Complete indicator (image:… [Complete], a green check mark)"
proc_quick-fix.adoc "Quickfix" (Red Hat.Spelling) Corrected to "Quick Fix" in image alt text
proc_quick-fix.adoc Color-only description Same non-visual description for the Complete indicator

4.5 Assembly: Wording

File Issue Fix
assembly_resolving-issues.adoc "appears" (Red Hat.TermsWarnings) Changed to "is displayed"

4.6 Shared Modules

File Issue Fix
making-open-source-more-inclusive.adoc Conscious language (master, slave, blacklist, whitelist) Rephrased to use replacement terms only (e.g. primary/source, replica/responder, blocklist, allowlist) without repeating the deprecated terms
document-attributes.adoc AsciiDocDITA fragment rules (no document title/shortdesc); Red Hat Slash; Red Hat GitLinks Treated as attribute fragment in Vale config; path and GitHub link handled via configuration (see Section 5)

5. Configuration Changes

5.1 vale.ini (repository root)

  • Packages: Removed non-existent write-good reference; kept Red Hat and AsciiDocDITA so Vale runs successfully.
  • Scoped section for document-attributes.adoc:
    • [**/document-attributes.adoc]
    • BasedOnStyles = RedHat (no AsciiDocDITA for this fragment).
    • TokenIgnores so path-like attribute values and the approved GitHub URL do not trigger Slash/GitLinks in this file.

5.2 .github/styles/RedHat/GitLinks.yml

  • Change: Allowed https://github.com/windup/ in the exception list so the approved :LinkAPI: reference in document-attributes.adoc does not trigger a warning.

5.3 .github/styles/RedHat/CaseSensitiveTerms.yml

  • Change: "Subversion" is no longer suggested to be replaced with "sub-version". Only the two-word form "sub version" is corrected to "sub-version"; the product name "Subversion" is left as correct.

5.4 Vale Sync

  • vale sync was run so the AsciiDocDITA package is present under .github/styles and Vale can load both Red Hat and AsciiDocDITA.

6. Final Validation Result

Vale was run on all 11 guide files (master, included topics, and resolving-issues assembly):

✔ 0 errors, 0 warnings and 0 suggestions in 11 files.

7. How to Re-run Validation

From the repository root:

vale docs/intellij-idea-plugin-guide/master.adoc \
  docs/topics/templates/document-attributes.adoc \
  docs/topics/making-open-source-more-inclusive.adoc \
  docs/topics/mta-intellij-plugin/about-ide-addons-intellij.adoc \
  docs/topics/mta-intellij-plugin/what-is-the-toolkit.adoc \
  docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc \
  docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc \
  docs/topics/mta-intellij-plugin/intellij-idea-plugin-reviewing-issues.adoc \
  docs/topics/mta-intellij-plugin/proc_edit-code-file.adoc \
  docs/topics/mta-intellij-plugin/proc_quick-fix.adoc \
  assemblies/intellij-plugin-guide/assembly_resolving-issues.adoc

Or, to lint only the guide directory (master.adoc and any local files):

vale docs/intellij-idea-plugin-guide/

8. References

  • CQA 2.1: Content Quality Assessment (Pre-migration, Quality, Onboarding tabs).
  • Vale: vale.sh
  • AsciiDocDITA: asciidoctor-dita-vale (Vale rules for AsciiDoc → DITA migration).
  • Red Hat Vale styles: .github/styles/RedHat/ in this repository.

Summary by CodeRabbit

Release Notes

  • Documentation
    • Updated and standardized terminology throughout the plugin guides for improved consistency
    • Consolidated installation prerequisites to reduce duplication and enhance readability
    • Enhanced run configuration documentation with clearer procedural steps and setup guidance
    • Refined UI element descriptions for greater precision and clarity

Signed-off-by: A.Arnold <anarnold@redhat.com>
Comment thread docs/intellij-idea-plugin-guide/master.adoc Outdated
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b4f8ccf and 29688e3.

📒 Files selected for processing (1)
  • docs/intellij-idea-plugin-guide/master.adoc

📝 Walkthrough

Walkthrough

This PR refines IntelliJ plugin documentation through wording standardization, content consolidation, and structural improvements. Changes include replacing duplicated JDK version blocks with consolidated text, relocating includes for better document organization, standardizing terminology (e.g., "Quick Fix" capitalization), and clarifying UI descriptions with minor phrasing adjustments across multiple documentation files.

Changes

Cohort / File(s) Summary
Master Document Structure
docs/intellij-idea-plugin-guide/master.adoc
Relocated document-attributes.adoc include from inside :mta: block to top-level position immediately after header, improving document organization.
Installation & Configuration Guidance
docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc, docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc
Consolidated repeated JDK version lists into single standardized line; added CLI version reference and installation completion indicator. Enhanced run configuration instructions with first-time setup guidance, workflow steps, and post-analysis actions.
UI Descriptions & Result Handling
docs/topics/mta-intellij-plugin/proc_edit-code-file.adoc, docs/topics/mta-intellij-plugin/proc_quick-fix.adoc
Standardized descriptions of Complete indicator and Quick Fix terminology; clarified "Complete indicator includes green check mark" phrasing and updated "Quickfix" to "Quick Fix" capitalization.
Introductory & Reference Content
docs/topics/mta-intellij-plugin/about-ide-addons-intellij.adoc, docs/topics/mta-intellij-plugin/what-is-the-toolkit.adoc, assemblies/intellij-plugin-guide/assembly_resolving-issues.adoc
Minor wording refinements: "using customizable" phrasing, removal of trailing punctuation in headings, updated migration use-case ("JBoss EAP" clarification), and "appears in" → "is displayed in" terminology updates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • CQA 2.1: VS Code Feb 2026 #315: Edits document-attributes.adoc that this PR relocates within the master document structure, creating a direct file-level dependency.

Suggested reviewers

  • Pkylas007
  • mpershina

Poem

🐰 Docs dance with clarity anew,
Duplication trimmed with careful view,
Phrasing polished, structure refined,
Consistency woven through, line by line—
The plugin guide now shines so bright!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'CQA 2.1 (Feb) - IntelliJ' is too generic and vague, using abbreviations and version numbers without clearly describing the actual changes made to the codebase. Consider a more descriptive title that indicates the primary changes, such as 'Fix IntelliJ plugin documentation for CQA 2.1 compliance' or 'Update IntelliJ plugin guide with Vale remediation and accessibility improvements'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc (1)

24-24: ⚠️ Potential issue | 🟡 Minor

New CLI prerequisite is missing a predicate — grammatically incomplete.

The other bullets in this list are complete sentences ("8 GB of RAM is required…", "the value of maxproc must be…"). Line 24 is a noun phrase with no verb describing what the user must do.

✏️ Proposed fix
-* The latest version of `{LC_PSN}-cli` from the link:{DevDownloadPageURL}[{ProductShortName} download page]
+* The latest version of `{LC_PSN}-cli` must be installed from the link:{DevDownloadPageURL}[{ProductShortName} download page].
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc` at line
24, Turn the noun phrase bullet "* The latest version of `{LC_PSN}-cli` from the
link:{DevDownloadPageURL}[{ProductShortName} download page]" into a complete
instruction sentence; update the text to something like "Install the latest
version of `{LC_PSN}-cli` from the {DevDownloadPageURL} ({ProductShortName}
download page)." so the bullet has a verb and matches the other
complete-sentence bullets referencing `{LC_PSN}-cli`, `{DevDownloadPageURL}`,
and `{ProductShortName}`.
docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc (2)

19-19: ⚠️ Potential issue | 🟡 Minor

Missing article "the" before "configuration".

"right-click configuration in the list" should read "right-click the configuration in the list".

✏️ Proposed fix
-. If this is not your first configuration, right-click configuration in the list and select *New configuration*.
+. If this is not your first configuration, right-click the configuration in the list and select *New configuration*.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc`
at line 19, Fix the missing article in the sentence: change "right-click
configuration in the list and select *New configuration*" to "right-click the
configuration in the list and select *New configuration*" so the phrase reads
correctly; update the line containing "right-click configuration in the list" in
the docs text.

38-40: ⚠️ Potential issue | 🟡 Minor

Inconsistent UI label: *Report* (singular) vs *Reports* (plural).

Line 38 instructs the user to click *Report*, but line 40 describes the same element as *Reports*. If the actual button label is "Reports", line 38 needs to be corrected to avoid confusion.

✏️ Proposed fix (assuming "Reports" is the correct UI label)
-When the analysis is completed, you can click either *Report* or *Results* below the name of the configuration file you ran.
+When the analysis is completed, you can click either *Reports* or *Results* below the name of the configuration file you ran.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc`
around lines 38 - 40, The UI label is inconsistent: the text references
`*Report*` (singular) but later uses `*Reports*` (plural); update the first
occurrence to `*Reports*` to match the actual button and the later description,
ensuring the phrase "click either *Reports* or *Results*" is consistent and that
the `*Reports*` link and surrounding sentence remain unchanged (check the
paragraph containing `*Report*` and the paragraph starting with `** *Reports*
opens the {ProductShortName} report` to make both use `*Reports*`).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/intellij-idea-plugin-guide/master.adoc`:
- Around line 15-17: The introductory paragraph referencing {ProductName}
appears before the include that defines it (document-attributes.adoc), so move
that introductory paragraph (the sentence starting "Use the {ProductName} plugin
for IntelliJ IDEA...") to immediately after the
include::topics/templates/document-attributes.adoc[] line; before committing,
verify whether ProductName is supplied via CLI build flags (e.g., -a
ProductName=...) and if it is, no change is needed, otherwise perform the move
to ensure the attribute is defined before first use.

---

Outside diff comments:
In `@docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc`:
- Line 24: Turn the noun phrase bullet "* The latest version of `{LC_PSN}-cli`
from the link:{DevDownloadPageURL}[{ProductShortName} download page]" into a
complete instruction sentence; update the text to something like "Install the
latest version of `{LC_PSN}-cli` from the {DevDownloadPageURL}
({ProductShortName} download page)." so the bullet has a verb and matches the
other complete-sentence bullets referencing `{LC_PSN}-cli`,
`{DevDownloadPageURL}`, and `{ProductShortName}`.

In `@docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc`:
- Line 19: Fix the missing article in the sentence: change "right-click
configuration in the list and select *New configuration*" to "right-click the
configuration in the list and select *New configuration*" so the phrase reads
correctly; update the line containing "right-click configuration in the list" in
the docs text.
- Around line 38-40: The UI label is inconsistent: the text references
`*Report*` (singular) but later uses `*Reports*` (plural); update the first
occurrence to `*Reports*` to match the actual button and the later description,
ensuring the phrase "click either *Reports* or *Results*" is consistent and that
the `*Reports*` link and surrounding sentence remain unchanged (check the
paragraph containing `*Report*` and the paragraph starting with `** *Reports*
opens the {ProductShortName} report` to make both use `*Reports*`).

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2ee46db and b4f8ccf.

📒 Files selected for processing (9)
  • assemblies/intellij-plugin-guide/assembly_resolving-issues.adoc
  • docs/intellij-idea-plugin-guide/master.adoc
  • docs/topics/making-open-source-more-inclusive.adoc
  • docs/topics/mta-intellij-plugin/about-ide-addons-intellij.adoc
  • docs/topics/mta-intellij-plugin/installing-intellij-idea-plugin.adoc
  • docs/topics/mta-intellij-plugin/intellij-idea-plugin-run-configuration.adoc
  • docs/topics/mta-intellij-plugin/proc_edit-code-file.adoc
  • docs/topics/mta-intellij-plugin/proc_quick-fix.adoc
  • docs/topics/mta-intellij-plugin/what-is-the-toolkit.adoc

Comment on lines +15 to +17
Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues.

include::topics/templates/document-attributes.adoc[]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

{ProductName} may render as a literal string — move the introductory paragraph after the document-attributes.adoc include.

The introductory paragraph at Line 15 references {ProductName}, but document-attributes.adoc (which defines that attribute) is not included until Line 17. In standard single-pass Asciidoctor processing, an undefined attribute at the point of reference renders as a literal {ProductName} string in the output.

The original placement had include::topics/templates/document-attributes.adoc[] immediately after :mta: (before any content), ensuring all attributes were defined before first use. Moving the intro paragraph after the include restores safe ordering.

Please confirm whether {ProductName} is also passed via CLI build flags (e.g., -a ProductName=...), which would make it available even before the include. If it is NOT passed via CLI, apply this fix:

🛠️ Proposed fix — move intro paragraph after include
 :mta:
 :_mod-docs-content-type: ASSEMBLY
 [id="intellij-idea-plugin-guide"]
 = IntelliJ IDEA Plugin Guide
 
-Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues.
-
 include::topics/templates/document-attributes.adoc[]
 
+Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues.
+
 //Inclusive language statement
 include::topics/making-open-source-more-inclusive.adoc[]
#!/bin/bash
# Verify whether {ProductName} is defined in document-attributes.adoc
fd -g 'document-attributes.adoc' --exec grep -n 'ProductName'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/intellij-idea-plugin-guide/master.adoc` around lines 15 - 17, The
introductory paragraph referencing {ProductName} appears before the include that
defines it (document-attributes.adoc), so move that introductory paragraph (the
sentence starting "Use the {ProductName} plugin for IntelliJ IDEA...") to
immediately after the include::topics/templates/document-attributes.adoc[] line;
before committing, verify whether ProductName is supplied via CLI build flags
(e.g., -a ProductName=...) and if it is, no change is needed, otherwise perform
the move to ensure the attribute is defined before first use.

[id="intellij-idea-plugin-guide"]
= IntelliJ IDEA Plugin Guide

Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for the abstract in master.adoc

Suggested change
Use the {ProductName} plugin for IntelliJ IDEA to analyze applications, find migration issues, and apply fixes from your IDE. This guide describes installation, run configuration, and resolving issues.


[role="_abstract"]
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see link:https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language[our CTO Chris Wright's message].
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with four terms: primary or source (instead of the former term), replica or responder (instead of the former term), blocklist (instead of the former term), and allowlist (instead of the former term). Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see link:https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language[our CTO Chris Wright's message].
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The initial text is universal for all docs across RH. We should leave it as it is. Moreover, if I'm not mistaken, this module will be completely removed in the future.

Copy link
Copy Markdown
Collaborator

@mpershina mpershina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of minor things to fix, otherwise, LGTM!

Comment thread docs/intellij-idea-plugin-guide/master.adoc Outdated
Comment thread docs/topics/making-open-source-more-inclusive.adoc Outdated
@anarnold97
Copy link
Copy Markdown
Collaborator Author

@mpershina - thanks.

will update my script not to add abstract in master.adoc

@anarnold97 anarnold97 merged commit 167e20b into migtools:main Feb 26, 2026
2 checks passed
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.

2 participants