#Baselines syntax highlighting
14 messages · Page 1 of 1 (latest)
baseline files?
The baselines of the tests in the typescript codebase.
no clue what kinds of files you are referring to
@minor scaffold you mean the .symbols/.types files?
I'd say grab this, set both file extensions to typescript, and add "typescript.comments.lineComment": "> ",. https://marketplace.visualstudio.com/items?itemName=ArturoDent.custom-language-syntax
Extension for Visual Studio Code - Create your custom language properties
Add this to settings.json
"files.associations": {
"*.symbols": "typescript",
"*.types": "typescript",
},
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?
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.
Ah rip, I didn't look that far I guess.
Then I guess we'll have to slap together an extension for it
Extension for Visual Studio Code - An extension only for working in the TypeScript compiler codebase
Wonderful! It's so hard finding anything related to "developing typescript", most results are always for "developing in typescript". Thanks! 🙏