This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
fauxiss's profile picture

[Question] What do you use to write lua programs outside of minecraft?

Started by fauxiss, 08 January 2013 - 10:22 PM
fauxiss #1
Posted 08 January 2013 - 11:22 PM
I'm new to lua and i've taken one simple course in computer programming in school. I was wondering what programs i could use to type up my code outside of computer-craft in the game. I ask this because it takes a while to write the programs in game and even longer to edit them.

thanks in advance…
theoriginalbit #2
Posted 08 January 2013 - 11:33 PM
I have a Mac and I use TextMate, was recommended to me by the University, its not free though. A good alternative is TextWrangler.
People here with Windows usually use Notepad++.

There is a plugin for Eclipse if you would prefer a proper IDE.

All the above are just for coding though. None can debug and run the code due to CC API's. For running I use the CC Emulator which is a standalone jar.

EDIT: here is the link http://www.computercraft.info/forums2/index.php?/topic/2674-cc145computercraft-emulator-v05pr4-october-23rd/
Flyin_Spaghetti #3
Posted 08 January 2013 - 11:53 PM
try http://luaedit.sourceforge.net/ for windows. its free

there was also a java version made specifically for computer craft but I couldn't find it. also I think it was a little bit outdated
1lann #4
Posted 09 January 2013 - 12:20 AM
http://www.sublimetext.com/ is ABSOLUTELY my FAVORITE code editor! It has loads of syntax highlighting support and auto-code completion/suggestions. It's like Google Chrome but for code editing! Don't worry, its actually free (As free as "WinRAR")
ChunLing #5
Posted 09 January 2013 - 12:25 AM
I really prefer notepad++ to luaedit, just for editing CC programs.
fauxiss #6
Posted 09 January 2013 - 12:31 AM
try http://luaedit.sourceforge.net/ for windows. its free

I really prefer notepad++ to luaedit, just for editing CC programs.
Thanks but I have a mac…


http://www.sublimetext.com/ is ABSOLUTELY my FAVORITE code editor! It has loads of syntax highlighting support and auto-code completion/suggestions. It's like Google Chrome but for code editing! Don't worry, its actually free (As free as "WinRAR")
Is this for windows or mac?


I have a Mac and I use TextMate, was recommended to me by the University, its not free though. A good alternative is TextWrangler.
I'm trying out TextWrangler. I've looked on a couple of different website and they say it has something that automatically gives color to the important parts but that isnt working for me (the for's, if's and functions). Do you know how to activate it?
theoriginalbit #7
Posted 09 January 2013 - 12:33 AM
Firstly, should have said you had a Mac ;)/>

3rd section in the bottom-left hand corner there should be a menu that says (none) click it and click Lua
fauxiss #8
Posted 09 January 2013 - 12:47 AM
Firstly, should have said you had a Mac ;)/>

3rd section in the bottom-left hand corner there should be a menu that says (none) click it and click Lua
Thanks everything seems to be working now.
remiX #9
Posted 09 January 2013 - 01:07 AM
Notepad++ All the way.
InputUsername #10
Posted 09 January 2013 - 05:34 AM
Actually, you can run Notepad++ on a mac, using a program called 'Wine' (Wine is not an emulator) :)/> I haven't tested it yet, but according to Wikipedia it works.

I use Notepad++ myself too (when booting my PC to Windows) or Gedit (on Linux).
ChunLing #11
Posted 09 January 2013 - 06:56 AM
I wouldn't seriously consider running Notepad++ on a Mac using Wine. For me, a lot of the point of Notepad++ is that it is uncomplicated to install and use. In those areas, probably a native app would be more suitable.