LUA Syntax highlighting in Visual Studio 2012 and Visual Studio 2013 (Preview)

Lately I’ve been working a lot with LUA and C++ code. As usual I’ve been using Visual Studio and it hindered me that there was no syntax high-lighting and that on Google I couldn’t find any up to plug-in that worked in VS 2012/2013 (yeah I’m working on the cutting edge at the moment.

After a lot of searching I found this post, I then figured out that VSIX files are just plain zip files with XML and other data stored inside. After some tweaking I present you 2 Visual Studio plugins. One for 2012 and one for 2013 (preview) that adds proper syntax high-lighting.

Download the Visual Studio 2012 and 2013 Version (zipped)

(Update 2: Some users were still not able to download the files because the VSIX files were interpreted as XML, so I’ve uploaded a zip file instead that contains both files)

12 Responses to “LUA Syntax highlighting in Visual Studio 2012 and Visual Studio 2013 (Preview)”

  1. Jasper says:


    Thanks. Have you tried this with Visual Studio 2013 final version? I’ve installed it but I can’t seem to find Lua when I create a new file.

    Thank you,

  2. I’ve only tried it with the release candidate. Unfortunately I don’t have access to standard version 2013 atm :(.

  3. Jasper says:

    Microsoft has a program for students called DreamSpark. If you are a student you can get it here.

  4. sondlerd says:

    Awesome work. Thanks so much, it worked in both VS 2012 and 2013. Many thanks!

  5. Thanks a lot for these!

  6. Flop says:

    Um, there’s no installation instructions?…

  7. Just double click the file!

  8. Vinod says:

    Nice thanks man !

  9. Mike Shawaluk says:


    I found this package recently, and it works very nice in Visual Studio 2013 Community Edition. There is one small feature that is missing that would make it even better: the ability to handle commenting/uncommenting lines of code. I assume there is an ability to create this sort of integration in VS. Is there any chance you would consider adding this?


  10. Hey Mike,

    I think the easiest thing to accomplish this is to create a Visual Studio Macro that adds ‘–‘ before each selected line. You can do that using this plugin:

  11. Craig Ballew says:

    Thanks so much.

  12. Rodrigo Avancini says:

    Nice, thanks!

Leave a Reply