How to create a simple custom language colorization to VS Code

前端 未结 3 2059
情书的邮戳
情书的邮戳 2020-12-31 11:26

I\'m trying to create a simple colorization for log files, now that it\'s possible include custom languages in Code (I\'m on 0.9.2). I have created a simple .tmLanguage file

3条回答
  •  不知归路
    2020-12-31 12:09

    As @Woshi said, you need regular expressions.

    As for the scopes that generally work with most color themes, I'll link you to this answer. Keep in mind that for scope to be picked up, it needs to be in dictionary with key "name".

提交回复
热议问题