#Baselines syntax highlighting

14 messages · Page 1 of 1 (latest)

minor scaffold
#

Is there a vscode extension that achieves syntax highlighting of the baseline files?

jovial raptor
#

baseline files?

minor scaffold
#

The baselines of the tests in the typescript codebase.

jovial raptor
#

no clue what kinds of files you are referring to

brave flower
#

@minor scaffold you mean the .symbols/.types files?

#

Add this to settings.json

"files.associations": {
  "*.symbols": "typescript",
  "*.types": "typescript",
},
minor scaffold
#

Hmm, I cannot get the extension to overwrite the line comments. Even if I was then it would just be highlighted as a comment - meaning the whole line would be a single color, no?

minor scaffold
#

Also, according to the description of the ext, this will not add additional comment syntax, but rather overwrite it, which is not really desirable as it will remove normal comment syntax from normal .ts files.

brave flower
#

Ah rip, I didn't look that far I guess.

#

Then I guess we'll have to slap together an extension for it

deep raft
minor scaffold