Search code examples
javascriptpython-3.xtypescriptvisual-studio-codecustom-code

How do I make an extension that runs code in VS code?


I have made an interpreted language using python. It works fine inside of the terminal but I'm struggling to find any resources/documentation on how to create an extension that can run it inside of the VS code IDE. I also would like to implement syntax highlighting for my language. The extension that I want to make would be similar to the "Python" VS code extension. (I AM NOT ASKING FOR RECOMMENDATIONS!)


Solution

  • Here is the Microsoft documentation on how to build, debug and publish a Visual Studio Code Extension. I know you said Visual Studio Code, but you also said IDE, so I included this link to the Visual Studio IDE Extension in case you actually meant that instead of code.

    Here is a step by step VS Code youtube tutorial from good teacher, Traversy.

    Congrats on your project, and Good luck.