TypeScript first line matching added.#10498
TypeScript first line matching added.#10498pouyakary wants to merge 2 commits intomicrosoft:masterfrom pouyakary:pouya/typescript-first-line-matching
Conversation
|
Hi @pmkary, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
|
@pmkary, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
|
https://github.com/Microsoft/TypeScript-TmLanguage is the correct place for change requests to the tmLanguage files. However, VSCode does not read the firstLine matches from tmLanguage files. This has to be configured in |
As when you write node CLI software you have to include the UNIX header
!# /bin/..now TypeScript had no such support for that. Made a pull request for that in the TypeScript.tmLanguage repository but it seems that it's somehow out of maintenance and no one noticed it (also I see that my additions have syntax issues...) so I made a same change here with correct syntax and stuff.As always hope it have helped.
Have so much fun!
Pouya