Bug 64401 - XML Syntax highlighting should highlight template variabled with a different color
Summary: XML Syntax highlighting should highlight template variabled with a different ...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: JMETER_5.3.0
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-30 17:26 UTC by Ricardo Bánffy
Modified: 2020-04-30 21:11 UTC (History)
0 users



Attachments
Highlighted XML with a template variable shown as a literal (80.12 KB, image/png)
2020-04-30 17:26 UTC, Ricardo Bánffy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Bánffy 2020-04-30 17:26:45 UTC
Created attachment 37209 [details]
Highlighted XML with a template variable shown as a literal

When we have XML in a request body, it's displayed using syntax highlighting that doesn't differentiate between literal content and template variables (as the image shows). Ideally, the template variable should be highlighted in a different color to make it easier to see it.
Comment 1 Ricardo Bánffy 2020-04-30 20:38:44 UTC
Looks like a fix would need to happen in RSyntaxTextArea. I'll open a ticket on their issue tracker and this could become adding a version with the fix to the configuration for JMeter.
Comment 2 Ricardo Bánffy 2020-04-30 21:11:05 UTC
The issue at the RSyntaxTextArea tracker is https://github.com/bobbylight/RSyntaxTextArea/issues/344