Skip to content

Commit bf96e18

Browse files
committed
Merge branch 'develop' into update-from-template-github_com_xdev-software_intellij-plugin-template_master-merged
2 parents 4b2301d + cdc74a9 commit bf96e18

131 files changed

Lines changed: 9712 additions & 19 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: pmd
2+
open_collective: pmd

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ body:
1515
attributes:
1616
label: "Checklist"
1717
options:
18-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/intellij-plugin-pmd/releases/latest)"
1919
required: true
20-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/intellij-plugin-pmd/issues) or [closed](https://github.com/xdev-software/intellij-plugin-pmd/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
2121
required: true
2222
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
2323
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
attributes:
1414
label: "Checklist"
1515
options:
16-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/intellij-plugin-pmd/issues) or [closed](https://github.com/xdev-software/intellij-plugin-pmd/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1717
required: true
1818
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
1919
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/intellij-plugin-pmd/issues) or [closed](https://github.com/xdev-software/intellij-plugin-pmd/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
1818
required: true

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# 1.0.8
2+
* Correctly handle missing/removal of built-in configuration
3+
* Fix crash on non Java-IDEs #67
4+
5+
# 1.0.7
6+
* Update PMD to 7.23.0
7+
8+
# 1.0.6
9+
* Correctly handle control flow exceptions in "doAnnotate"
10+
11+
# 1.0.5
12+
* Update PMD to 7.22.0
13+
14+
# 1.0.4
15+
* Update PMD to 7.21.0
16+
17+
# 1.0.3
18+
* Update PMD to 7.20.0
19+
20+
# 1.0.2
21+
* Update PMD to 7.19.0
22+
23+
# 1.0.1
24+
* Workaround inaccurate analysis due to outdated classpath #6
25+
* Add some additional details why an analysis was not executed
26+
27+
# 1.0.0
28+
_Initial release_
29+
30+
* Bundled PMD version: 7.18.0
31+
* Support for Java and Kotlin

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ Start idea and import the `build.gradle` file with "File > Open". Then in the "I
4646
./gradlew cleanIdea idea
4747
```
4848

49-
IntelliJ should refresh and the project is now configured as a gradle project. You can find IntelliJ gradle tasks in "Gradle > Gradle projects > template-placeholder > Tasks > intellij". To run the plugin, use the `runIde` task:
49+
IntelliJ should refresh and the project is now configured as a gradle project. You can find IntelliJ gradle tasks in "Gradle > Gradle projects > intellij-plugin-pmd > Tasks > intellij". To run the plugin, use the `runIde` task:
5050

5151
```bash
5252
# Run the plugin (starts new idea)
5353
./gradlew runIde
5454
```
5555

56-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/template-placeholder/release.yml?branch=master)](https://github.com/xdev-software/template-placeholder/actions/workflows/release.yml)
56+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/intellij-plugin-pmd/release.yml?branch=master)](https://github.com/xdev-software/intellij-plugin-pmd/actions/workflows/release.yml)
5757

5858
Before releasing:
59-
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
59+
* Consider doing a [test-deployment](https://github.com/xdev-software/intellij-plugin-pmd/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
6060
* Check the [changelog](CHANGELOG.md)
6161

6262
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2024 XDEV Software
189+
Copyright 2025 XDEV Software
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
1-
[![Latest version](https://img.shields.io/jetbrains/plugin/v/pluginId?logo=jetbrains)](https://plugins.jetbrains.com/plugin/pluginId)
2-
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/template-placeholder/check-build.yml?branch=develop)](https://github.com/xdev-software/template-placeholder/actions/workflows/check-build.yml?query=branch%3Adevelop)
3-
[![Feel free to leave a rating](https://img.shields.io/jetbrains/plugin/r/rating/pluginId?style=social&logo=jetbrains&label=Feel%20free%20to%20leave%20a%20rating)](https://plugins.jetbrains.com/plugin/pluginId/reviews)
1+
[![Latest version](https://img.shields.io/jetbrains/plugin/v/28935?logo=jetbrains)](https://plugins.jetbrains.com/plugin/28935)
2+
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/intellij-plugin-pmd/check-build.yml?branch=develop)](https://github.com/xdev-software/intellij-plugin-pmd/actions/workflows/check-build.yml?query=branch%3Adevelop)
3+
[![Feel free to leave a rating](https://img.shields.io/jetbrains/plugin/r/rating/28935?style=social&logo=jetbrains&label=Feel%20free%20to%20leave%20a%20rating)](https://plugins.jetbrains.com/plugin/28935/reviews)
44

5-
# <img alt="Plugin icon" src="./src/main/resources/META-INF/pluginIcon.svg" width="30"> template-placeholder
5+
# <img alt="Plugin icon" src="./src/main/resources/META-INF/pluginIcon.svg" width="30"> PMD X
66

7+
A plugin for IntelliJ that provides code analysis and highlighting with <a href="https://pmd.github.io">PMD</a> - an extensible cross-language static code analyzer.
78

9+
## Features
10+
* Optimized for real-time analysis and zero configuration project setups that just require you to checkout the code
11+
* Real-time analysis and highlighting of currently edited file
12+
* Run bulk analysis of files by right clicking the project menu <br/> <img src="./assets/run-bulk-analysis.avif"> <br/> <img src="./assets/toolwindow-report.avif">
13+
* Currently Java and Kotlin are supported, Language versions are automatically detected
14+
15+
## Usage
16+
1. Install the plugin and open a project
17+
2. Configure PMD for the project (`Settings > Tools > PMD`) <br/><img height=500 src="./assets/project-configuration.avif">
18+
* If there is already a project configuration file (`.idea/pmd-x.xml`) present this will be done automatically
19+
3. Open a supported file
20+
4. You should see the problems being automatically highlighted in the file and find more details in the PMD tool window <br/> <img src="./assets/annotator.avif"> <br/> <img src="./assets/toolwindow-current-file.avif">
821

922
## Installation
10-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
23+
[Installation guide for the latest release](https://github.com/xdev-software/intellij-plugin-pmd/releases/latest#Installation)
1124

1225
> [!TIP]
13-
> [Development versions](https://plugins.jetbrains.com/plugin/pluginId/versions/snapshot) can be installed by [adding the ``snapshot`` release channel as a plugin repository](https://www.jetbrains.com/help/idea/managing-plugins.html#repos):<br/>
26+
> [Development versions](https://plugins.jetbrains.com/plugin/28935/versions/snapshot) can be installed by [adding the ``snapshot`` release channel as a plugin repository](https://www.jetbrains.com/help/idea/managing-plugins.html#repos):<br/>
1427
> ``https://plugins.jetbrains.com/plugins/snapshot/list``
1528
1629
## Contributing
1730
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
31+
32+
## Acknowledgment
33+
This plugin was inspired by existing plugin like [CheckStyle-IDEA](https://plugins.jetbrains.com/plugin/1065-checkstyle-idea), [Sonarlint](https://plugins.jetbrains.com/plugin/7973-sonarqube-for-ide) and "[PMD](https://plugins.jetbrains.com/plugin/1137-pmd)".
34+
Please have a look at [`THIRD-PARTY-CREDITS`](./THIRD-PARTY-CREDITS.md) for more details.
35+
36+
<sub>Disclaimer: This is not an official PMD project and not associated</sub>

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## Reporting a Vulnerability
44

5-
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/template-placeholder/security/advisories/new).
5+
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/intellij-plugin-pmd/security/advisories/new).

0 commit comments

Comments
 (0)