Merge branch 'pr-2041'

[modelica] Initial implementation for PMD
This commit is contained in:
Andreas Dangel
2019-12-17 11:20:58 +01:00
85 changed files with 6405 additions and 7 deletions

View File

@@ -223,6 +223,18 @@ entries:
- title: Error Prone
output: web, pdf
url: /pmd_rules_pom_errorprone.html
- title: null
output: web, pdf
subfolders:
- title: Modelica Rules
output: web, pdf
subfolderitems:
- title: Index
output: web, pdf
url: /pmd_rules_modelica.html
- title: Best Practices
output: web, pdf
url: /pmd_rules_modelica_bestpractices.html
- title: null
output: web, pdf
subfolders:

View File

@@ -14,6 +14,18 @@ This is a {{ site.pmd.release_type }} release.
### New and noteworthy
#### Modelica support
Thanks to [Anatoly Trosinenko](https://github.com/atrosinenko) PMD supports now a new language:
[Modelica](https://modelica.org/modelicalanguage) is a language to model complex physical systems.
Both PMD and CPD are supported and there are already [3 rules available](pmd_rules_modelica.html).
The PMD Designer supports syntax highlighting for Modelica.
While the language implementation is quite complete, Modelica support is considered experimental
for now. This is to allow us to change the rule API (e.g. the AST classes) slightly and improve
the implementation based on your feedback.
### Fixed Issues
* java-codestyle
@@ -68,5 +80,7 @@ You can identify them with the `@InternalApi` annotation. You'll also get a depr
### External Contributions
* [#2041](https://github.com/pmd/pmd/pull/2041): \[modelica] Initial implementation for PMD - [Anatoly Trosinenko](https://github.com/atrosinenko)
{% endtocmaker %}