How to create a simple custom language colorization to VS Code

前端 未结 3 2056
情书的邮戳
情书的邮戳 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:02

    We just released a language extension that brings colorization to the Output panel. Basically, it does the same thing as the approved answer on this thread, and adds the text/x-code-output mime type, which is used by the Output panel.

    Get it free here: https://marketplace.visualstudio.com/items?itemName=IBM.output-colorizer

    Source here: https://github.com/IBM-Bluemix/vscode-log-output-colorizer Please help contribute! Bugs, feature requests, contributions all welcome.

    Here are some screenshots of it working:

提交回复
热议问题