Posted 17 January 2015 - 01:11 PM
Hey guys,
some of you might have experience in the microsoft world and are familiar with Visual Studio.
I've been working long with seperate editor + emulator for my own projects in computercraft and wished I'd had
something like IntelliSense(Trace) with me.
Now on April 2014 a studio started a project "BabeLua" which is an extension to Visual Studio.
Recently, to the new year, they've gotton the project far enough to be able to use all your favourite
features of Visual Studio to develop Lua code.
Currently it's only available on Visual Studio 2012 and 2013, but also their "express"/community versions.
Download and more info
Install instructions:
in this case cc-api.lua is a file which runs the main.lua file providing a basic computercraft environment
Of course you can only work with "standard"/non computercraft functions in debugging mode.
To finally test your application for graphical bugs you can't do much more than before.
You would have to registrate all computercraft functions and tables(colour for example) and build up a similar environment to work with this in a way,
that is useful for creating computercraft applications, rather than lua applications.
But this is a huge step in my opinion and I definitely see people providing the environment needed for such(graphical) computercraft development as well.
To use the inbuild git functionality of VS you would need to create a project file which also is implemented for lua-only by BabeLua.
More awesome screenshots at the project page HERE
Let me here what you think about BabeLua
some of you might have experience in the microsoft world and are familiar with Visual Studio.
I've been working long with seperate editor + emulator for my own projects in computercraft and wished I'd had
something like IntelliSense(Trace) with me.
Now on April 2014 a studio started a project "BabeLua" which is an extension to Visual Studio.
Recently, to the new year, they've gotton the project far enough to be able to use all your favourite
features of Visual Studio to develop Lua code.
- All IntelliSense functionality
- Debugging with Breakpoints
Currently it's only available on Visual Studio 2012 and 2013, but also their "express"/community versions.
Download and more info
Install instructions:
- Install Visual Studio 2012/13 (VS2013 Community)
- Install Lua(Compile yourself or direct binaries)
- Install BabeLua(download)
- Run Visual Studio
- Set scripts folder wherever you want
- Set Lua exe path to the lua.exe in your Lua installation
- Set your working path to one of your emulated computers
- Set the command line to contain the execution parameters(for example "main.lua 1 2" would run main.lua with arguments 1 and 2)
- Set name to whatever you want
- Save the configuration
- Create awesome apis and programs
in this case cc-api.lua is a file which runs the main.lua file providing a basic computercraft environment
Of course you can only work with "standard"/non computercraft functions in debugging mode.
To finally test your application for graphical bugs you can't do much more than before.
You would have to registrate all computercraft functions and tables(colour for example) and build up a similar environment to work with this in a way,
that is useful for creating computercraft applications, rather than lua applications.
But this is a huge step in my opinion and I definitely see people providing the environment needed for such(graphical) computercraft development as well.
To use the inbuild git functionality of VS you would need to create a project file which also is implemented for lua-only by BabeLua.
More awesome screenshots at the project page HERE
Let me here what you think about BabeLua