none
Lua IDE using isolated shell RRS feed

  • Question

  • I am using VS 2012 Professional and I was wondering how if at all possible, would I be able to create a ide for Lua using the isolated shell including syntax highlighting as well as using the Luac compiler.

    I have been testing out the isolated shells features, I just need to know how to add syntax highlighting as well as a compiler.

     
    Friday, October 19, 2012 1:12 AM

Answers

  • I'm currently going through the process of integrating a language I wrote into Visual Studio. I'm not trying to use an Isolated Shell, rather I'm just integrating my language into VS itself. 

    Speaking for what I'm doing, adding language support entails creating a Language Service VSPackage. I believe the same approach could be used with the isolated shell, loading only the LUA language service rather than running the LUA alongside C#, VB.Net, etc. 

    This is the documentation for Language Services and how to create Language Service Packages:

    http://msdn.microsoft.com/en-us/library/bb165099.aspx

    Additionally, a great resource I used (and still reference when I have questions) is the IronPython project which does exactly what you're asking, but for Python rather than LUA. 

    http://msdn.microsoft.com/en-US/library/bb165436(v=VS.80).aspx

    Hope some of that helps.


    Sunday, October 21, 2012 6:47 AM

All replies

  • You would need to write editor extensions (for classification, which gets syntax highlighting, and intellisense support) and a project system, at the very least.

    Ryan

    Friday, October 19, 2012 4:45 AM
    Moderator
  • I'm currently going through the process of integrating a language I wrote into Visual Studio. I'm not trying to use an Isolated Shell, rather I'm just integrating my language into VS itself. 

    Speaking for what I'm doing, adding language support entails creating a Language Service VSPackage. I believe the same approach could be used with the isolated shell, loading only the LUA language service rather than running the LUA alongside C#, VB.Net, etc. 

    This is the documentation for Language Services and how to create Language Service Packages:

    http://msdn.microsoft.com/en-us/library/bb165099.aspx

    Additionally, a great resource I used (and still reference when I have questions) is the IronPython project which does exactly what you're asking, but for Python rather than LUA. 

    http://msdn.microsoft.com/en-US/library/bb165436(v=VS.80).aspx

    Hope some of that helps.


    Sunday, October 21, 2012 6:47 AM