New Git default branch - "main"
We are joining the Git community and updating "master" to "main". Using the term "master" for the main
development branch can be offensive to some people. Existing versions of Git have been always capable of
working with any branch name and since 2.28.0 (July 2020) the default initial branch is configurable
(init.defaultBranch
). Since October 2020, the default branch for new repositories on GitHub
is "main". Finally, PMD will also use this new name for the main branch in all our own repositories.
Fixed issues:
Merged pull requests:
See https://github.com/pmd/pmd-designer/milestone/16
Merged pull requests:
See https://github.com/pmd/pmd-designer/milestone/15
- Bump required pmd-core version to 7.0.0.
Changed maven GAV The maven coordinates (GAV) have been changed. The artifactId has been renamed to pmd-designer.
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-designer</artifactId>
<version>7.0.0</version>
</dependency>
At the same time, the release artefact name changed to pmd-designer-7.0.0.jar.
Changed default OpenJFX version to be 17
The designer is built now against openjfx 17. When using the designer with OpenJDK, at least Java 11 is required with openjfx 17 or later.
The designer can still be started with Oracle's Java 8, which includes JavaFX. But this is not explicitly tested.
Fixed issues:
Merged pull requests:
- #77 Enable PMD checks with PMD 7 by @adangel
- #78 Fix deprecations from PMD 7 (getTerseName -> getId) by @adangel
- #79 Update to latest PMD 7.0.0-SNAPSHOT by @adangel
- #83 Avoid deprecated and internal API usage by @adangel
See https://github.com/pmd/pmd-designer/milestone/11
- Bump required pmd-core version to 7.0.0-rc4.
Fixed issues:
- #61 Remove dependency to jcommander
- #62 Exceptions and errors are not always logged
- #63 Update to PMD 7.0.0-rc3
- #72 NPE when launching Designer
- #73 Remove commons-io dependency
Merged pull requests:
- #68 Expose all properties with default values by @jsotuyod
- #69 Perform the persistence asynchronously to not block the main (UI) thread #69 by @adangel
- #70 Fix drag and drop for tests case violations by @adangel
- #74 Remove commons-io by @adangel
- #75 Update to PMD 7.0.0-SNAPSHOT (upcoming 7.0.0-rc4) by @adangel
- #76 Correctly determine JavaFX version when embedded by @adangel
See https://github.com/pmd/pmd-designer/milestone/11
- Bump required pmd-core version to 7.0.0-rc1.
Fixed issues:
- #43 Update PMD 7 Logo in the Designer
Merged pull requests:
- #51 Compat with pmd/pmd#3893 by @oowekyala
- #57 Update to latest pmd 7 changes by @oowekyala
See https://github.com/pmd/pmd-designer/milestone/11
Fixed issues:
- #10 [ui] Designer font display
Merged pull requests:
- #52 Better expose entry points for pmd-cli integration by @jsotuyod
- #53 Resolve text rendering issues across different platforms by @jsotuyod
See https://github.com/pmd/pmd-designer/milestone/14
-
Bump required pmd-core version to 6.27.0. The previous minimal pmd-core version was 6.23.0.
See https://github.com/pmd/pmd-designer/milestone/13
- This version of pmd-designer requires at least PMD 6.27.0 due to changes in tab size.
- Adjust tab width char handling (refs #45)
See https://github.com/pmd/pmd-designer/milestone/12
- Bump required pmd-core version to 6.23.0. The previous minimal pmd-core version was 6.21.0.
- Display the "main attribute" of nodes in the tree. This is usually the
@Name
of a node or the@Image
. (refs #42) - XPath attributes panel is revamped to a table, "extra info" is listed at the bottom (this includes the resolved type for Java) (refs #42)
- Deprecated XPath attributes are displayed crossed out. There is even a tooltip showing, which attribute to use instead. (refs #42)
See https://github.com/pmd/pmd-designer/milestone/10
- Bump required pmd-core version to 6.21.0. The previous minimal pmd-core version was 6.12.0.
- Add Modelica syntax highlighter, thanks to Anatoly Trosinenko
- Add GUI to export trees to XML or text format. This integrates the new experimental TreeRenderer API. (refs #37)
- Add scrollbars to code area (fixes #22)
- Fix popover focus issues (fixes #38)
- Internal improvements (refs #33)
- Plain text language is not loaded through the language registry anymore (see revision da47f3758)
See https://github.com/pmd/pmd-designer/milestone/9
- Add scala syntax highlighter
- When no language modules are on the classpath, the app will still run normally, opening files with a "plain text" language and displaying a warning.
- Fix #27: Rule export escapes special characters in rules unnecessarily
- Fix some internal issues
- Version stamping not working
See https://github.com/pmd/pmd-designer/milestone/7
- Added test case edition features. Usage is documented on the wiki. Preview:
- Added the possibility to search the treeview. Press CTRL+F when it's focused, or click on the
Search
🔎 button and enter a search query. You can cycle through results withCTRL+TAB
orCTRL+F3
, and cycle back withCTRL+SHIFT+TAB
orCTRL+SHIFT+F3
.
- Fix some bugs with XPath autocompletion
- Added the possibility to select a node directly from the code area. To use this, hold the CTRL key pressed for a second. The code area should change colors. In that state, hovering above some text should select the node to which it corresponds:
-
Added a crumb bar that displays the ancestors of the currently selected node.
-
When you have selected a node and start editing the code again, your selection should be preserved in most cases (on a best-effort basis) instead of reset.
-
Improved the XPath export wizard
-
Allow multiple independent xpath editors