Skip to content

[ui] Improvements to designer syntax highlighting - #1011

Merged
jsotuyod merged 1 commit into
pmd:masterfrom
oowekyala:xpath-syntax-highlighting
Mar 29, 2018
Merged

jsotuyod merged 1 commit into
pmd:masterfrom
oowekyala:xpath-syntax-highlighting

Conversation

@oowekyala

Copy link
Copy Markdown
Member

In particular, the XPath syntax highlighter was bugged (eg didn't recognise comments, lacked many keywords) and what it did tokenize correctly was not styled very well

@jsotuyod
jsotuyod merged commit 4253e87 into pmd:master Mar 29, 2018
@jsotuyod

Copy link
Copy Markdown
Member

@oowekyala amazing! Merged, I fixed the checkstyle issues along the way.

@jsotuyod jsotuyod added this to the 6.3.0 milestone Mar 29, 2018
@oowekyala
oowekyala deleted the xpath-syntax-highlighting branch March 29, 2018 09:56
Eljees added a commit to Eljees/pmd that referenced this pull request Aug 6, 2026
Both were raised in review. The direct-return case duplicates the existing 'pmd#1011 CloseResource Rule ignores Constructors' test a few hundred lines up, and the nested-block one is not about pmd#2840 at all - neither belongs in a change scoped to pmd#6742. CloseResourceTest: 101 tests, 0 failures.

Signed-off-by: Eljees <[email protected]>
UncleOwen added a commit that referenced this pull request Aug 7, 2026
… assigned without an initializer (#6918)

* [java] Fix #6742: CloseResource false positive for a wrapped resource assigned without an initializer

getWrappedResourceType only looked at the variable initializer, so the split declaration/assignment form did not recognize the wrapping resource and was reported. Per JLS 14.4.2 both shapes are equivalent.

Signed-off-by: Eljees <[email protected]>

* [java] CloseResource: drop the two #2840 test cases from this PR

Both were raised in review. The direct-return case duplicates the existing '#1011 CloseResource Rule ignores Constructors' test a few hundred lines up, and the nested-block one is not about #2840 at all - neither belongs in a change scoped to #6742. CloseResourceTest: 101 tests, 0 failures.

Signed-off-by: Eljees <[email protected]>

* [docs] Update release notes

* Empty commit to re-trigger CI

---------

Signed-off-by: Eljees <[email protected]>
Co-authored-by: Sören Glimm <[email protected]>
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