org.hl7.fhir.validator-wrapper icon indicating copy to clipboard operation
org.hl7.fhir.validator-wrapper copied to clipboard

Line numbers on online validator

Open johnmorrell opened this issue 3 years ago • 1 comments

When using the online validator (https://validator.fhir.org) it would be useful if line numbers were visible alongside the code (similar to a GitHub diff), so reported errors can easily be identified.

johnmorrell avatar Jul 27 '22 15:07 johnmorrell

This is a feature we've wanted to include for some time.

Line numbers are currently available when you use the Upload Resources tab, as a current workaround.

To implement this feature, the UI for the Enter Resource needs to be redesigned to work with Ace editor. Since Validation is too slow for 'live' editing, we'll need two modes: one for editing, and one for viewing validation results.

I was envisioning something similar to GitHub's Write / Preview tabs but am leery of nesting too many tabs in the UI, as we already have Enter Resource / Upload Resources

dotasek avatar Aug 04 '22 15:08 dotasek