Stream: shorthand
Topic: SUSHI 2.0.0 : Indenting with tab ?
Janaka Peiris (Aug 11 2021 at 09:21):
While converting the existing files into new indentation support, I found that the SUSHI tool does not identify the TAB character, but expects 2 spaces instead. It would be great if this can be supported @Julian Carter . I feel naturally anyone would be using the tab key instead of typing spaces.
http://build.fhir.org/ig/HL7/fhir-shorthand/branches/master/reference.html#indented-rules
error Unable to determine path context for rule indented 1 space(s). Rules must be indented in multiples of 2 space(s).
Janaka Peiris (Aug 11 2021 at 09:47):
Also checked FSH Online (https://fshschool.org/FSHOnline/#/), which also gives the same error when using the tab key for indenting.
Nick Freiter (Aug 11 2021 at 12:44):
Yeah this is something we can look into adding, I've logged this as an issue here: https://github.com/FHIR/sushi/issues/902.
Chris Moesel (Aug 17 2021 at 17:21):
@Janaka Peiris - Technically this is a comment about the FSH spec (which indicates 2 spaces
). If you are signed up for the FSH ballot (Sep 2021) then I would recommend officially submitting a comment stating that tabs should be supported.
Last updated: Apr 12 2022 at 19:14 UTC