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

Programming in Eclipse?

Started by Dlcruz129, 13 November 2012 - 08:24 AM
Dlcruz129 #1
Posted 13 November 2012 - 09:24 AM
Hey.

Does anyone know if it's possible to program ComputerCraft programs in the Eclipse IDE? I could install LUA, but I also want access to some minecraft specific API's, such as rednet or turtle. Is this possible?
billysback #2
Posted 13 November 2012 - 09:26 AM
I don't know what you mean by installing lua, but if this installation of lua supports libraries then you could probably import the APIs as external libraries in to your project;

using eclipse really doesn't sound like a good idea, I suggest using Notepad++, if you are annoyed at the lack of syntax highlighting then there are plenty around (I use one from the Love2D forums, it has some Love2D functions in it, but thats OK :P/>/>)
D3matt #3
Posted 13 November 2012 - 09:48 AM
I thought notepad++ had syntax highlighting?
PixelToast #4
Posted 13 November 2012 - 09:51 AM
yup,
at the top where it says "Language" it has a drop down menu
also different styles are in settings>style configurator
my fav is obsidian :3

i dont really suggest using eclipse, its harder to use than np++
Leo Verto #5
Posted 13 November 2012 - 09:55 AM
Didn't know Np++ had styles.
Eclipse can theoretically be used to program CC stuff, but it can't be run from inside Eclipse.
On the other hand, Eclipse might be useful to handle larger file systems e.g. for OSes.
Dlcruz129 #6
Posted 13 November 2012 - 10:22 AM
Well, the reason I want to use eclipse is errors. If I type print("hello), I want it to tell me I forgot a second quotation mark.
billysback #7
Posted 13 November 2012 - 10:50 AM
Don't you love google?
http://luaedit.sourceforge.net/
Kingdaro #8
Posted 13 November 2012 - 10:52 AM
There's a package for Sublime Text that does just that.
Dlcruz129 #9
Posted 13 November 2012 - 10:57 AM
There's a package for Sublime Text that does just that.

Sorry, windows beats Mac for me any day.
Dlcruz129 #10
Posted 13 November 2012 - 10:59 AM
Don't you love google?
http://luaedit.sourceforge.net/

Thanks, but I'm kinda back to square one: computercraft support?
Kingdaro #11
Posted 13 November 2012 - 11:05 AM
Sorry, windows beats Mac for me any day.
It's for windows.
matejdro #12
Posted 13 November 2012 - 11:05 AM
There's a package for Sublime Text that does just that.

Sorry, windows beats Mac for me any day.

So what does mac vs windows have to do with anything?
Dlcruz129 #13
Posted 13 November 2012 - 12:26 PM
Sorry, windows beats Mac for me any day.
It's for windows.

Really? All I saw was a big "Download for OSX" button.
Kingdaro #14
Posted 13 November 2012 - 02:47 PM
Sorry, windows beats Mac for me any day.
It's for windows.

Really? All I saw was a big "Download for OSX" button.
All I'm seeing is a big "Download for Windows" button.

The hell is going on.
stilldabomb #15
Posted 16 November 2012 - 09:19 PM
There's a package for Sublime Text that does just that.
O_o everywhere I've looked, sub was for mac… O___o

Edit:
Sublime Text said:
Sublime Text is available for OS X, Windows and Linux.