The context should be display as a pure string between the EOF mark and it is done well in the first exemple but not in the second.
Depending on what is comming after cat<<EOF either a pipe or a redirect it should adapt the syntax color for command or string, it is well done in the second example but not in the first
On previous version of vscode the EOF mark had special syntax differencing them from the rest of the text and I think it was a good things
There is some good things on both behavior but neither is perfect from my point of vue and it still make syntax coloring inconsistent.
Does this issue occur when all extensions are disabled?: Yes
Following #177977 I still got some syntax error with
cat<<EOF
syntax in bash filesSteps to Reproduce:
The behavior change depending if you write:
Or (simply remove the space between cat and <<EOF and this is a valid syntax):
The expected behavior for me is:
cat<<EOF
either a pipe or a redirect it should adapt the syntax color for command or string, it is well done in the second example but not in the firstThere is some good things on both behavior but neither is perfect from my point of vue and it still make syntax coloring inconsistent.
Originally posted by @Arcahub in https://github.com/microsoft/vscode/issues/185119