Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e77bae8
Updates for CheckStyle 13.4
AB-xdev Mar 30, 2026
993d0ab
Merge pull request #69 from xdev-software/master
AB-xdev Apr 1, 2026
ab39d28
Merge pull request #9 from xdev-software/checkstyle-13.4
AB-xdev Apr 1, 2026
ab9ffcf
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 1, 2026
f69bc27
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 1, 2026
fec1a4b
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 1, 2026
410118a
Link Check: Only check md files
AB-xdev Apr 14, 2026
89d8065
Link Check: Run when it's quiet
AB-xdev Apr 14, 2026
b2abb7f
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 14, 2026
30baf92
Merge branch 'master' into update-from-template-github_com_xdev-softw…
xdev-gh-bot Apr 14, 2026
cdc74a9
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 14, 2026
ea1c241
Bump IntelliJ version to 2026.1; drop support for <251
AB-xdev Apr 23, 2026
6b6770d
Update renovate.json5
AB-xdev Apr 23, 2026
fbea570
Update plugin org.jetbrains.intellij.platform to v2.14.0
xdev-renovate Apr 23, 2026
4b2301d
Merge pull request #238 from xdev-software/renovate/org.jetbrains.int…
AB-xdev Apr 23, 2026
bf96e18
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 23, 2026
bb9f397
Update IDEA to latest version
AB-xdev Apr 24, 2026
ddb73da
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 24, 2026
0d9bcd8
Update plugin org.jetbrains.intellij.platform to v2.15.0
xdev-renovate Apr 25, 2026
009af0a
Update pmdVersion to v7.24.0
xdev-renovate Apr 25, 2026
c5508f4
Update checkstyleVersion to v13.4.1
xdev-renovate Apr 28, 2026
0ffc579
Merge pull request #242 from xdev-software/renovate/checkstyleversion
AB-xdev Apr 28, 2026
760c76a
Merge pull request #241 from xdev-software/renovate/pmdversion
AB-xdev Apr 28, 2026
7d1a6f5
Merge pull request #240 from xdev-software/renovate/org.jetbrains.int…
AB-xdev Apr 28, 2026
3810967
Merge branch 'develop' into update-from-template-github_com_xdev-soft…
xdev-gh-bot Apr 28, 2026
1887cfe
Update CHANGELOG.md
AB-xdev Apr 28, 2026
8d5e652
Update CHANGELOG.md
AB-xdev Apr 28, 2026
ec4590a
Drop support for < 261 to fix deprecations
AB-xdev Apr 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<property name="tokens" value=" CLASS_DEF"/>
</module>
<module name="IllegalImport"/>
<module name="IllegalSymbol"/>
<module name="InterfaceIsType"/>
<module name="JavadocStyle">
<property name="checkFirstSentence" value="false"/>
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Broken links
on:
workflow_dispatch:
schedule:
- cron: "23 23 * * 0"
- cron: "23 5 * * 0"

permissions:
issues: write
Expand All @@ -21,6 +21,7 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2
with:
args: "--verbose --no-progress './**/*.md'"
fail: false # Don't fail on broken links, create an issue instead

- name: Find already existing issue
Expand Down
2 changes: 1 addition & 1 deletion .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.0
* Update PMD to 7.24.0
* Dropped support for IntelliJ IDEA < 261 to fix deprecations

# 1.0.8
* Correctly handle missing/removal of built-in configuration
* Fix crash on non Java-IDEs #67
Expand Down
13 changes: 4 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ plugins {
id 'idea'
id 'checkstyle'
id 'pmd'
id 'org.jetbrains.intellij.platform' version '2.13.1'
id 'org.jetbrains.intellij.platform' version '2.15.0'
}

ext {
checkstyleVersion = '13.4.0'
checkstyleVersion = '13.4.1'

pmdVersion = '7.23.0'
pmdVersion = '7.24.0'
}

def properties(String key) {
Expand Down Expand Up @@ -104,14 +104,9 @@ intellijPlatform {
}
pluginVerification {
ides {
select {
it.types = [IntelliJPlatformType.IntellijIdeaCommunity]
it.sinceBuild = properties("platformSinceBuild")
it.untilBuild = '252.*'
}
select {
it.types = [IntelliJPlatformType.IntellijIdea]
it.sinceBuild = '253'
it.sinceBuild = properties("platformSinceBuild")
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
pluginGroup=software.xdev.pmd
pluginName=PMD X
# SemVer format -> https://semver.org
pluginVersion=1.0.9-SNAPSHOT
pluginVersion=1.1.0-SNAPSHOT
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType=IU
platformVersion=2025.3.1.1
platformSinceBuild=243
platformVersion=2026.1.1
platformSinceBuild=261
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformBundledPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
platformBundledPlugins=com.intellij.java,org.jetbrains.kotlin
Expand Down
8 changes: 8 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
],
"matchCurrentVersion": "0",
"enabled": false
},
{
"description": "org.jetbrains.intellij.platform - Changelog",
"packagePattern": "^org.jetbrains.intellij.platform",
"matchDatasources": [
"maven"
],
"changelogUrl": "https://github.com/JetBrains/intellij-platform-gradle-plugin/releases"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,13 @@ private void analyzeAsync(
project.getService(PluginConfigurationManager.class).getCurrent();
final ProjectFileIndex projectFileIndex = ProjectRootManager.getInstance(project).getFileIndex();

final Map<Optional<com.intellij.openapi.module.Module>, Set<PsiFile>> psiFiles = ReadAction.compute(() ->
this.collectFiles(projectFileIndex, psiManager, pluginConfiguration, progressIndicator, selectedFiles));
final Map<Optional<com.intellij.openapi.module.Module>, Set<PsiFile>> psiFiles =
ReadAction.computeBlocking(() -> this.collectFiles(
projectFileIndex,
psiManager,
pluginConfiguration,
progressIndicator,
selectedFiles));

if(psiFiles.isEmpty())
{
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/software/xdev/pmd/analysis/PMDAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private List<PsiFile> determineApplicableFiles(
final int totalFiles = filesToScan.size();
final AtomicInteger counter = new AtomicInteger(0);

final List<PsiFile> files = ReadAction.compute(() -> filesToScan.stream()
final List<PsiFile> files = ReadAction.computeBlocking(() -> filesToScan.stream()
.filter(file -> {
progressIndicator.setFraction((double)counter.incrementAndGet() / totalFiles);
progressIndicator.setText2(file != null ? file.getName() : null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ public void apply(
+ "<p>"
+ ruleDescriptionDocMarkdownToHtmlService.mdToHtml(rule.getDescription())
+ "</p>")
.range(range)
.needsUpdateOnTyping(true);
.range(range);

if(psiElement != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void reportAnalysisResultInternal(
return;
}

final Optional<PsiFile> optPSIFile = ReadAction.compute(() -> Optional.of(editor)
final Optional<PsiFile> optPSIFile = ReadAction.computeBlocking(() -> Optional.of(editor)
.map(Editor::getDocument)
.map(FileDocumentManager.getInstance()::getFile)
.flatMap(this::findPSIFile));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public FileOverviewNode(final PsiFile psiFile)
{
this.psiFile = psiFile;
// Icon requires read access so let's get it here
this.icon = ReadAction.compute(() -> psiFile.getIcon(0));
this.icon = ReadAction.computeBlocking(() -> psiFile.getIcon(0));

this.filePositionSupplier = Suppliers.memoize(() -> new FilePosition(psiFile));
}
Expand Down