How to create a new language for use in Visual Studio

前端 未结 7 1860
礼貌的吻别
礼貌的吻别 2020-11-28 17:42

I want to write a new templating language, and I want Visual Studio to \"support\" it. What I need to know is:

  1. How do I parse my new language?
7条回答
  •  春和景丽
    2020-11-28 18:29

    I was using VS with own language and desperately needed a syntax highlight. I built mine based on this tutorial: https://mattduffield.wordpress.com/2012/07/31/writing-a-brightscript-syntax-highlight-extension-for-visual-studio-2010/

    I know the tutorial is in VS2010. I made mine in VS2012 with no or very small hiccups. (also worked in VS2013) Recently I changed to VS2015 and the solution can be edited, built with no problem.

提交回复
热议问题