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

LuaIDE 1.0 - You Might Actually Like Editing In Game

Started by GravityScore, 21 April 2013 - 03:53 AM
GravityScore #1
Posted 21 April 2013 - 05:53 AM
LuaIDE

Version 1.0



Try out a live demo using 1lann and my HTML5 emulator online!
Visit here!

Hey all!

I present a project I've been working on for a while - a concoction of procrastination and code. It's LuaIDE, an in game Integrated Development Environment. Fully featured with things like live errors, code highlighting, go to line function, automatic saving, error aid, running with and without arguments, and a functional clipboard. You might actually want to edit in game more often.

Note: LuaIDE is licensed under the MIT license - this means you can basically do whatever you want with the code without asking me. See here for the full license.

Features
- See errors in your code pop up live as you type
- Click on the ! on a line with an error to see what's wrong
- Syntax highlighting
- Set syntax function
- Brainf**k Interpreter
- Re-indent function (by Engineer and I)
- Go to line function
- Run your program from within LuaIDE with or without arguments
- Got an error in your program? Use the in app error aid to help diagnose the problem!
- Cut, copy, paste, delete and clear lines of code
- Keyboard shortcuts (such as control+n for a new file, or control+o to open a file)
- Customisable themes
- Disable live errors and syntax highlighting for normal text documents
- Use the command (mac) or control key to execute keyboard shortcuts

Feedback is greatly appreciated! Please leave a comment below suggesting anything you'd like to see added, changed, amended, modified, removed, etc…

Coming Soon
See all planned features in the GitHub Features List

Known Bugs
Tracked using the GitHub Bug Tracker

Usage
Either use LuaIDE just like the edit program, by including the file you want to edit as an argument, or just run the file, and open a file or create a new one from within the program.

Screenshots - Need Updating
Editor:


Main Menu:
Spoiler

Creating a File:
Spoiler

Settings:
Spoiler

Open Menu Bar when Editing:
Spoiler

Download
Download LuaIDE from Pastebin or Hastebin, with the Pastebin ID: vyAZc6tJ or the Hastebin ID: munewakine.lua
Or just type into your computer:

pastebin get vyAZc6tJ luaide

Credits
- Code by GravityScore
- 1lann, for his keyboard shortcut monitoring function (a solid 1.8% of the entire program)
- Engineer, for the re-indent function
- Cruor, for his simplified theme loading function (using regex)
Edited on 30 November 2014 - 03:49 AM
lieudusty #2
Posted 21 April 2013 - 05:58 AM
Been waiting for this, Grav :P/>
theoriginalbit #3
Posted 21 April 2013 - 06:01 AM
Very nice! I always like seeing what you have done, and you never disappoint. Always works well and looks fantastic! Great work!

P.S. Now that a decent editor is around I may start to code in-game again ;)/> :P/>
GravityScore #4
Posted 21 April 2013 - 06:03 AM
P.S. Now that a decent editor is around I may start to code in-game again ;)/> :P/>

That was the purpose! :P/>
SuicidalSTDz #5
Posted 21 April 2013 - 06:04 AM
Well done Grav! I think this beats the Taco Editor by far. I still don't like to edit in game though :P/>

EDIT: I take that back… Yours is much better than Sublime :)/>
M4sh3dP0t4t03 #6
Posted 21 April 2013 - 06:04 AM
definitely the best in-game editor I have seen so far
theoriginalbit #7
Posted 21 April 2013 - 06:09 AM
That was the purpose! :P/>
I know, I read the title :P/>

btw you need to wrap the text http://puu.sh/2DGA4.png
also idk how you have implemented it, but maybe the error help should give a little more detail, for example, for 'end' expected to close 'function' at line 1, you only state in the help about missing the end (http://puu.sh/2DGCU.png) maybe you should also mention that it was missed for the function and what the name of the function is.
I do like the 'Go To Line' button that you provide…
Lastly, however you do the error checking for the line as typing needs to be tweaked a little I think. I'm getting it showing an error mid type, it probably should have some kind of delay so as to not make the user think something is wrong when its not, its just that the error checker is checking before they have finished typing out the line.
EDIT: Oh and since you got the multi keyboard shortcut going, should add a shortcut for us awesome Apple people with laptops, ⌘ + → as the 'end' key, and ⌘ + ← as the 'home' key…
EDIT 2: http://puu.sh/2DGQF.png I'm assuming the error there is because you are making sure there are no nested block comments? also block comments don't highlight.
Edited on 21 April 2013 - 04:13 AM
GravityScore #8
Posted 21 April 2013 - 06:18 AM
1. For the delay on the error system, maybe something like it doesn't detect errors on the line you're typing? Or a timer delay? Or both?

2. I'll get onto wrapping those errors

3. The help is not very detailed at all. It's sorta in prototyping version at the moment (the help), I need a list of Lua errors that are possible to get…

4. I'm using a similar highlighting system found in the edit program, which also doesn't highlight block comments. I'll look into changing it so I can support it.

5. Those keyboard commands for us Apple people should be easy to do, on it right away :P/>

Thanks for the feedback!
GravityScore #9
Posted 21 April 2013 - 06:19 AM
Well done Grav! I think this beats the Taco Editor by far. I still don't like to edit in game though :P/>

EDIT: I take that back… Yours is much better than Sublime :)/>

You can't be serious!??!?!?! Sublime is the most sublimely epically astonishing fantastic amazing impressive intuitive awesome text editor know to man. This can't possibly be better!
SuicidalSTDz #10
Posted 21 April 2013 - 06:21 AM
You can't be serious!??!?!?! Sublime is the most sublimely epically astonishing fantastic amazing impressive intuitive awesome text editor know to man. This can't possibly be better!
I am dead serious. I love this text editor. The colours are soo nice, the highlighting is superb. I am just speechless ^_^/>

Nice big words Grav :P/>
theoriginalbit #11
Posted 21 April 2013 - 06:24 AM
1. I think a timer delay, but only after you have stopped typing, like maybe a couple of seconds after no keystrokes, or clicks, but not scrolling, scrolling should force a check…

3. Ahh ok fair enough, like I said, didn't know how you did it, just thought it might be a nice addition.

4. Yeh I figured that was why, I assume it wouldn't be too hard, boolean flag.

5. Yay! :)/> :P/>


Thanks for the feedback!
Your welcome! Thanks for the program! :)/>
And you know me, always willing to help :)/>
Zudo #12
Posted 21 April 2013 - 06:34 AM
OMG! Ive been waiting for something like this for ages! If its ok I might include this in my new OS :)/> :)/> :)/> :)/>
GravityScore #13
Posted 21 April 2013 - 06:35 AM
OMG! Ive been waiting for something like this for ages! If its ok I might include this in my new OS :)/> :)/> :)/> :)/>
Sure go ahead!

The command key on a mac can now be substituted for the control key, and added a go to start and go to end of line functions under the functions menu (with keyboard shortcuts) :D/>

To update, go to settings in the menu, then hit the update button in there.
NDFJay #14
Posted 21 April 2013 - 06:37 AM
Oh gravity, top work as always! loving it! think it might be time to redownload minecraft and actually start playing and programming in game again!
Symmetryc #15
Posted 21 April 2013 - 06:41 AM
Fantastic Job! I really like it. Maybe someday you could make it so that there are plugins, just like Sublime Text ;)/>.

Oh gravity, top work as always! loving it! think it might be time to redownload minecraft and actually start playing and programming in game again!
Not only is it helping people program in-game, but also playing minecraft itself! :P/>.
theoriginalbit #16
Posted 21 April 2013 - 06:41 AM
I do love how you have themes! You can't click anything in that menu though :(/> only keys, also a scroll bar to indicate there are more themes might be nice.
Lastly, it wont update, it says there is an update, but it just exists to the shell…. what happened to the yellow thank you message :(/>

EDIT: Oh a way to get back to the main menu from the editor would be nice :)/>
EDIT 2: In the original theme the line numbers are unreadable on the selected line http://puu.sh/2DHSw.png
EDIT 3: A visual bug… in the themes the 'exit' button is different colours to the rest, except in the fire theme, it is the same colour.
Edited on 21 April 2013 - 04:45 AM
diegodan1893 #17
Posted 21 April 2013 - 06:45 AM
I found a bug on error checking:

http://i.imgur.com/30T8a5d.png?1
GravityScore #18
Posted 21 April 2013 - 06:57 AM
I found a bug on error checking:

http://i.imgur.com/30T8a5d.png?1

I noticed that in testing too. No clue why Lua does that.

BIT… help? :P/>

EDIT: Anyway, got the error wrapping working, and the themes list is now clickable and scrollable. Can't believe I forgot about mouse interactions in my scrollingList function… :P/>
theoriginalbit #19
Posted 21 April 2013 - 07:04 AM
BIT… help? :P/>
You're using loadstring right?

Can't believe I forgot about mouse interactions in my scrollingList function… :P/>
Lol!
remiX #20
Posted 21 April 2013 - 07:08 AM
Oh so this is one of the secret projects you've been working on.

Well, as always - no disappointment. This is amazing Grav!
I'm speechless xD

Keep up the work :P/>
GravityScore #21
Posted 21 April 2013 - 07:09 AM
BIT… help? :P/>
You're using loadstring right?

Yep, but surrounding the code in a function that never gets called just to test for………..


As I was typing that sentence, I realise why Lua's giving me that error….

Oh so this is one of the secret projects you've been working on.

Yes. ONE of them. There are 2 more to come! xD

EDIT: Fixed the … bug and the original theme. Thanks for all the bug reports guys! Keep 'em coming!
Engineer #22
Posted 21 April 2013 - 07:11 AM
Im.. Im speechless!

This so amazed that I cannot express myself.. :o/>

WoaW
theoriginalbit #23
Posted 21 April 2013 - 07:13 AM
Yep, but surrounding the code in a function that never gets called just to test for………..
Thought so…
EDIT: You should collect the error message from loadstring and give the ability to see what the error is on the line
Edited on 21 April 2013 - 05:20 AM
diegodan1893 #24
Posted 21 April 2013 - 07:26 AM
You should collect the error message from loadstring and give the ability to see what the error is on the line

That would be very useful
masterdisasterHD #25
Posted 21 April 2013 - 11:05 AM
I see no reason not to like it.
I love this
jesusthekiller #26
Posted 21 April 2013 - 11:13 AM
I love it! Can I include it to my OS? I'll give credit OFC ;)/>
FuuuAInfiniteLoop(F.A.I.L) #27
Posted 21 April 2013 - 11:16 AM
PM me if i can use Firewolf and this program in my Os, cause i will being programming and with a pm its faster to me to know if you has given permission
H4X0RZ #28
Posted 21 April 2013 - 11:56 AM
Well done Grav! I think this beats the Taco Editor by far. I still don't like to edit in game though :P/>/>

EDIT: I take that back… Yours is much better than Sublime :)/>/>
I agree with SuicidalSTDz =D

Your InGame editor is much better than sublime ^_^/>
anonimo182 #29
Posted 21 April 2013 - 01:02 PM
Just one week after I release my IDE, wow, this is awesome… with this, I only want to drop my project..

Any help on the program? Message me if you need
darkroom #30
Posted 21 April 2013 - 02:18 PM
Ok this is by far the best computer craft IDE ever made. This being said…. you could make it even better if you add code completion. That would be so sick! Also maybe a file browser to open files?
Edit 1: Every time i try to update it updates, i don't know if you are just putting up a lot of updates or if the update thing is bugged
Sammich Lord #31
Posted 21 April 2013 - 02:25 PM
Would be really cool if I was working on a server without easy access to moving my files from Sublime to the in-game computer. But I currently still find Sublime to be a lot faster to write code. I just have CCDesk open and have Sublime Text 2 open the folder for that CCDesk computer as a project.
Dlcruz129 #32
Posted 21 April 2013 - 03:14 PM
Amazing! Can you add expanding/collapsing functions, like in ST2?
elfin8er #33
Posted 21 April 2013 - 03:19 PM
Woah! This looks sweet!
MudkipTheEpic #34
Posted 21 April 2013 - 03:48 PM
Lol, since this is so much like Sublime Text 2, I have a name suggestion: SubMine Text (2)
Sammich Lord #35
Posted 21 April 2013 - 03:49 PM
Lol, since this is so much like Sublime Text 2, I have a name suggestion: SubMine Text (2)
Such a cool name :P/> If he adds more features that Sublime has(Command Pallet) then he should re-name it :P/>
GravityScore #36
Posted 21 April 2013 - 04:07 PM
I love it! Can I include it to my OS? I'll give credit OFC ;)/>
Sure!

Just one week after I release my IDE, wow, this is awesome… with this, I only want to drop my project..

Any help on the program? Message me if you need
I should be ok for help for now, thanks for offering.

Ok this is by far the best computer craft IDE ever made. This being said…. you could make it even better if you add code completion. That would be so sick! Also maybe a file browser to open files?
Edit 1: Every time i try to update it updates, i don't know if you are just putting up a lot of updates or if the update thing is bugged
Currently the updating system is like a force update, and doesn't actually check if an update is needed. I'm about to change this.


Also updated the coming soon list.
elfin8er #37
Posted 21 April 2013 - 04:50 PM
Coming Soon
- Code completion
- Code folding
- Tabs for multiple files
- Printing
- Re-Indenting
Can't wait!
Sammich Lord #38
Posted 21 April 2013 - 04:53 PM
Any chance of us getting a command pallet like Sublime? That is one of my favorite parts about Sublime. Also, can you add a feature for different syntax's? Would be cool if you had an API and you could make a custom syntax that adds those functions to auto-complete and color highlighting.
GravityScore #39
Posted 21 April 2013 - 05:04 PM
Any chance of us getting a command pallet like Sublime? That is one of my favorite parts about Sublime. Also, can you add a feature for different syntax's? Would be cool if you had an API and you could make a custom syntax that adds those functions to auto-complete and color highlighting.

What would go in the command palette? And custom syntax sounds hard :/

Anyway, added a delay timer for the error showing, updating now checks if it needs to update before updating, and click on the ! on an error line to see what's going wrong on that line.
1lann #40
Posted 21 April 2013 - 05:32 PM
Nice job on FINALLY COMPLETING IT :P/>… (now work on thunderhawk…)

(Kssk, wasn't the idea and concepts from me? :P/>)
Spongy141 #41
Posted 21 April 2013 - 05:35 PM
Wow, just wow, it looks amazing, +1
darkroom #42
Posted 21 April 2013 - 05:41 PM
btw you should add ^+^ to go to the top of a program and ^+v to go to the bottom :)/>
oeed #43
Posted 21 April 2013 - 07:09 PM
Very nice!
Would be nice to have a way of selecting text.
I also got an error after my coded.

The code (can't see an error):


The crash:
theoriginalbit #44
Posted 21 April 2013 - 07:45 PM
The code (can't see an error):
-image snip-
Uhhh where is pairs?
And something like loadstring wont pickup on that.
theoriginalbit #45
Posted 21 April 2013 - 07:48 PM
Anyway, added a delay timer for the error showing, updating now checks if it needs to update before updating, and click on the ! on an error line to see what's going wrong on that line.
Yay! :)/> Either have the ! run on a timer, or have it as a popup, instead of having it replace the line and have to click it off…

EDIT: Also it might be worth your while to actually write or find a Lua compiler in Lua instead of using load string.
EDIT 2: Found a typo "Normal Comptuer Support Coming Soon!", and I'm assuming it will just use the 'Original' theme.
EDIT 3: Fix your damn centerPrint for the even or odd length strings.
EDIT 4: I think you need to invert the colours of the 'exit' button on the default theme, all other buttons get lighter when you highlight them, the 'exit' should do the same
Edited on 21 April 2013 - 06:46 PM
superaxander #46
Posted 21 April 2013 - 08:26 PM
Mind blown O.o
theoriginalbit #47
Posted 21 April 2013 - 08:28 PM
Mind blown O.o
Btw our editor is cancelled. This is 110% of what I had planned for it.
jesusthekiller #48
Posted 21 April 2013 - 10:27 PM
I'm still in shock with awesomeness of this editor! Grav, you are the best (and my favorite coder out here ;)/> )!

Now, back to making my own shell. It's killing me!

PS Sorry for my English. I'm kinda still sleeping ;)/>
oeed #49
Posted 21 April 2013 - 11:03 PM
The code (can't see an error):
-image snip-
Uhhh where is pairs?
And something like loadstring wont pickup on that.

*facepalm* I always manage to forget that…
Anyway, the program is still crashing so it needs to be checked out.
theoriginalbit #50
Posted 21 April 2013 - 11:08 PM
*facepalm* I always manage to forget that…
Anyway, the program is still crashing so it needs to be checked out.
Yeh its not picking up on the error there, and loadstring will never pick up on it, due to the lack of context. Hence me suggesting to Grav to have a compiler….
I guess the whole program could be loadstring'd… could also help the problem, lots of interpreting of the message would be required though.
oeed #51
Posted 22 April 2013 - 12:08 AM
*facepalm* I always manage to forget that…
Anyway, the program is still crashing so it needs to be checked out.
Yeh its not picking up on the error there, and loadstring will never pick up on it, due to the lack of context. Hence me suggesting to Grav to have a compiler….
I guess the whole program could be loadstring'd… could also help the problem, lots of interpreting of the message would be required though.

Yea, I was intending to do something like this for PearOS if I got around to it. You could just wrap every line with a pcall, but I haven't looked in to it.
theoriginalbit #52
Posted 22 April 2013 - 12:16 AM
Yea, I was intending to do something like this for PearOS if I got around to it. You could just wrap every line with a pcall, but I haven't looked in to it.
Then there is the problem of blocks which span over more than one line.
GravityScore #53
Posted 22 April 2013 - 12:27 AM
@oeed: That was my fault :P/> Silly mistake in the code.

@BIT: After fixing it, testing oeed's code triggered error detection fine, and didn't crash the IDE. What else might a Lua compiler be useful for?
theoriginalbit #54
Posted 22 April 2013 - 12:36 AM
@BIT: After fixing it, testing oeed's code triggered error detection fine, and didn't crash the IDE. What else might a Lua compiler be useful for?
Custom and/or better error messages.

EDIT: Also you need to update your pastebin
EDIT 2: You also need to disable cursor blink and movability when showing in-line error messages
Edited on 21 April 2013 - 10:37 PM
theoriginalbit #55
Posted 22 April 2013 - 12:44 AM
Ok so I'm sick of doing edits to post bugs…. So I'm using git issue tracker now. :)/>
Shnupbups #56
Posted 22 April 2013 - 07:55 PM
Can't believe I missed this! I f***ing love you Grav! (No homo)
Zudo #57
Posted 24 April 2013 - 07:06 AM
LuaIDE said:
Advanced Comptuer Required!
Normal Comptuer Support Coming Soon!


LOLOLO
theoriginalbit #58
Posted 24 April 2013 - 08:07 AM
LuaIDE said:
Advanced Comptuer Required!
Normal Comptuer Support Coming Soon!
LOLOLO
I already pointed it out… update LuaIDE, its fixed…
ThePH #59
Posted 24 April 2013 - 08:49 AM
WOW MY GOD !
This is just genius ! Thank you for this Gravity !
Popeye #60
Posted 24 April 2013 - 09:11 AM
It would be Awesome if you could Make this into a .EXE
theoriginalbit #61
Posted 24 April 2013 - 09:14 AM
It would be Awesome if you could Make this into a .EXE
Just use Sublime Text 2 and use the plugin that GravityScore made.
remiX #62
Posted 24 April 2013 - 09:25 AM
It would be Awesome if you could Make this into a .EXE
Just use Sublime Text 2 and use the plugin that GravityScore made.

Yeah it made me change to SL2. Notepad++ is so lame now :P/>
GravityScore #63
Posted 30 April 2013 - 10:58 PM
Added the brainf**k interpreter by me into LuaIDE.

You can use the set syntax function (replacing the toggle highlighting function) to change the syntax, and LuaIDE will remember it by adding "– Syntax: Brainf**k" at the top of the file (default is the Lua syntax, which has no syntax line).

Have fun!
darkrising #64
Posted 01 May 2013 - 10:20 AM
I really like this!

Would it be possible to add handles to minimize functions and loops? (not sure if I've explained that right)

Edit: If you have used Notepad++ you can click to minimize functions and loops similar to that?
GravityScore #65
Posted 01 May 2013 - 11:35 AM
I really like this!

Would it be possible to add handles to minimize functions and loops? (not sure if I've explained that right)

Edit: If you have used Notepad++ you can click to minimize functions and loops similar to that?

Thanks!

You mean code folding, and it's on my to do list! :P/>
darkrising #66
Posted 01 May 2013 - 12:18 PM
I really like this!

Would it be possible to add handles to minimize functions and loops? (not sure if I've explained that right)

Edit: If you have used Notepad++ you can click to minimize functions and loops similar to that?

Thanks!

You mean code folding, and it's on my to do list! :P/>

Yes! That's the one!

Sounds good, I'll be looking out for updates :)/>
Kingdaro #67
Posted 02 May 2013 - 12:07 AM
Love the new automatic code insertion (with the ends and brackets and such), though with brackets, you should probably make it so that if you press an end bracket while on an end bracket, it just moves the cursor without inserting a new bracket, like in sublime. I often end up typing functions calls like so:


someFunction())
Shnupbups #68
Posted 02 May 2013 - 12:28 AM
Love the new automatic code insertion (with the ends and brackets and such), though with brackets, you should probably make it so that if you press an end bracket while on an end bracket, it just moves the cursor without inserting a new bracket, like in sublime. I often end up typing functions calls like so:


someFunction())
And with quotes.
theoriginalbit #69
Posted 02 May 2013 - 12:34 AM
Love the new automatic code insertion (with the ends and brackets and such), though with brackets, you should probably make it so that if you press an end bracket while on an end bracket, it just moves the cursor without inserting a new bracket, like in sublime. I often end up typing functions calls like so:
Yeh I do that too, also made an Issue about it, because copy/pasting also adds in brackets when it shouldn't :P/>

https://github.com/GravityScore/LuaIDE/issues/18
Smiley43210 #70
Posted 02 May 2013 - 06:20 AM
Because you only check for colons when parsing errors, luaide can't handle errors that give no colon. Like typing a number and putting more than 4 periods in a row after it.

Because right now, you have
e:sub(1, e:find(":") - 1)
So what when e:find(":") returns nil? Not all error messages supply line numbers.

I suggest adding an if statement at line 590 with
if e:find(":") then
and then putting on line 595
else
  ret.display = e
end
TheOddByte #71
Posted 03 May 2013 - 06:12 PM
This is something that could be really useful on servers since then you always have to code in game if your not the admin or http is not enabled
I haven't tested it yet but I think it seems awesome and I can pretty much guarantee that it's awesome :)/>
Shnupbups #72
Posted 04 May 2013 - 06:15 PM
Gravity, re-open my feature request on GitHub, I added more detail because you didn't understand me.
Dlcruz129 #73
Posted 04 May 2013 - 07:24 PM
Whenever you're at the end of a line that defines a function and you press enter, it adds an 'end', regardless of whether or not one already exists. This is really annoying when adding a line of code at the top of a function.
Shnupbups #74
Posted 04 May 2013 - 09:38 PM
Whenever you're at the end of a line that defines a function and you press enter, it adds an 'end', regardless of whether or not one already exists. This is really annoying when adding a line of code at the top of a function.
Same with ifs, loops, etc.
theoriginalbit #75
Posted 04 May 2013 - 11:36 PM
Gravity, re-open my feature request on GitHub, I added more detail because you didn't understand me.
He would have got an email that you updated it… So its ok, he can see you made changes…
GravityScore #76
Posted 06 May 2013 - 05:26 AM
Hey all,

Fixed a tonne of bugs lately, and also just added a re-indent feature (by Engineer and I) :D/>

Enjoy!
Asdramelesh #77
Posted 08 May 2013 - 04:25 AM
Seems really nice I gonna test it
Dlcruz129 #78
Posted 08 May 2013 - 10:47 AM
I found a bug: when my program crashed with rednet:57:number expected, the IDE tried to take me to line 57 of my program.
superaxander #79
Posted 08 May 2013 - 11:00 AM
You should check if the filenames are the same in the error message
Jan #80
Posted 08 May 2013 - 11:07 AM
Looks very nice! Automatic end,) and " are cool. Plus I tested if screenshots would work here too:

Yes they do.
The only problem is that it crashes a lot. When I press PgUp/PgDown or when I open rom/programs/shell and scroll down.
superaxander #81
Posted 08 May 2013 - 11:57 AM
Not for me try updating in the menu
Smiley43210 #82
Posted 08 May 2013 - 02:57 PM
Then try re-downloading with pastebin
GravityScore #83
Posted 08 May 2013 - 07:09 PM
Looks very nice! Automatic end,) and " are cool. Plus I tested if screenshots would work here too:

Yes they do.
The only problem is that it crashes a lot. When I press PgUp/PgDown or when I open rom/programs/shell and scroll down.

Sorry, completely forgot to update Pastebin in a while :P/> I'll do it now. I've fixed those bugs a while back :P/>

In the meantime, (like superaxander said) just go into Settings from the main menu, and chose Check for Updates.
superaxander #84
Posted 09 May 2013 - 02:16 PM
Also when is an official update coming cause it is still 1.0 after many updates
Geforce Fan #85
Posted 12 May 2013 - 06:45 PM
With this I don't like editing in-game.
I love it.
Also, I'm suprised this is compatible with regular computers! Nice work there!
But how do you access the menu on regular computers?
nateracecar5 #86
Posted 12 May 2013 - 08:15 PM
I found a bug: If you do something like "print(hi)" then try to add "" to it, it puts 2 instead of 1. I know what the IDE is thinking but I DON'T know how to fix it. Please fix. It is not a problem but just annoying.
nateracecar5 #87
Posted 12 May 2013 - 08:58 PM
I found a bug: If you do something like "print(hi)" then try to add "" to it, it puts 2 instead of 1. I know what the IDE is thinking but I DON'T know how to fix it. Please fix. It is not a problem but just annoying.

If you can't do it, I will use your recorder program and upload the file on here.
theoriginalbit #88
Posted 12 May 2013 - 10:03 PM
I found a bug: If you do something like "print(hi)" then try to add "" to it, it puts 2 instead of 1. I know what the IDE is thinking but I DON'T know how to fix it. Please fix. It is not a problem but just annoying.
This is intended… its designed to do code completion to help you program… since you cant do print(hi) it must be print("hi")… if you type after pressing " you will notice that you're actually typing in the middle of the two " characters… It also does the same with ' and braces/brackets.
nateracecar5 #89
Posted 13 May 2013 - 07:54 PM
Here is an error that I keep tending to get suddenly. I used lightshot to record it :D/>


pastebin get TidkEPsh
GravityScore #90
Posted 14 May 2013 - 03:39 AM
Here is an error that I keep tending to get suddenly. I used lightshot to record it :D/>


pastebin get TidkEPsh

Hopefully fixed! Thanks for reporting it :)/>
Anavrins #91
Posted 15 May 2013 - 05:15 AM
This is such an awesome IDE, I really like the run feature. :)/>
However I'm constantly getting this error
parallel:22: luaide:634: attempt to call nil
This occur whenever I intentionally cause a syntax error.
Here's the crash recorded with lightshot: pastebin get iNeFJ7CC
GravityScore #92
Posted 15 May 2013 - 06:34 AM
This is such an awesome IDE, I really like the run feature. :)/>
However I'm constantly getting this error
parallel:22: luaide:634: attempt to call nil
This occur whenever I intentionally cause a syntax error.
Here's the crash recorded with lightshot: pastebin get iNeFJ7CC

Crap that's a big derp from me :P/>

Thanks so much for alerting me to it! Fixed!
Anavrins #93
Posted 15 May 2013 - 10:30 AM
Glad I've helped :P/>
I also noticed something else, though I don't know if this is intentional.

Quitting/Closing a file will save it's content even if you don't manually save it yourself.
Would be a nice feature to prompt the users if they want to "Save", "Quit without saving" or "Cancel" if they try to close an unsaved file.

Keep up the good work! :)/>
diegodan1893 #94
Posted 15 May 2013 - 11:23 AM
Glad I've helped :P/>
I also noticed something else, though I don't know if this is intentional.

Quitting/Closing a file will save it's content even if you don't manually save it yourself.
Would be a nice feature to prompt the users if they want to "Save", "Quit without saving" or "Cancel" if they try to close an unsaved file.

Keep up the good work! :)/>
It is intentional, but I agree with you that there should be a way to quit without saving.
sploders101 #95
Posted 15 May 2013 - 10:27 PM
2 words… Truly AMAZING!!! :D/>
NullSchritt #96
Posted 16 May 2013 - 03:14 AM
I love this, I was just wishing for something like this, thanks!
theoriginalbit #97
Posted 16 May 2013 - 08:35 AM
Again forgetting to update the pastebin Grav :P/>

EDIT: Also YAY my themes are in! :)/>
EDIT: But the better debug info isn't :(/>
sploders101 #98
Posted 16 May 2013 - 08:49 AM
When I posted before I didn't even use it yet. Now that I have I'm speechless… ;)/>
GravityScore #99
Posted 16 May 2013 - 10:21 AM
EDIT: But the better debug info isn't :(/>

Been really busy/lazy lately :P/>

I'll get around to adding that, and the new syntax highlighting system (thanks to Grim Reaper).
theoriginalbit #100
Posted 16 May 2013 - 12:29 PM
Been really busy/lazy lately :P/>

I'll get around to adding that, and the new syntax highlighting system (thanks to Grim Reaper).
I think its been on v1.0 for quite a while now too, i think its time for a version increment ;)/>
M4sh3dP0t4t03 #101
Posted 17 May 2013 - 10:54 AM
Just found a little trick: open LuaIDE in LuaIDE and run it inside of it. LuaIDEception
GravityScore #102
Posted 17 May 2013 - 11:52 AM
Just found a little trick: open LuaIDE in LuaIDE and run it inside of it. LuaIDEception

That would make a very nice easter egg :P/>
masterdisasterHD #103
Posted 17 May 2013 - 12:41 PM
Hey grav, i love the program but could you make an arg option?

Like, luaIDE file for direct editing?
GravityScore #104
Posted 17 May 2013 - 09:04 PM
Hey grav, i love the program but could you make an arg option?

Like, luaIDE file for direct editing?

It does that already :P/> check the usage part of the OP.
masterdisasterHD #105
Posted 18 May 2013 - 05:03 AM
Missed that part :P/> nice.
Xfel #106
Posted 21 May 2013 - 04:41 AM
You should put the language definitions into seperate lua files, which will then be automatically loaded from a designated directory.

Additionally, I noticed that if I terminate a program I started with run, it will terminate the whole IDE.
bjornir90 #107
Posted 22 May 2013 - 05:15 AM
Looks so cool and useful ! Definitely the best !
Edit: Seems to don't want to open my file … it says :ide 622: attempt to make arithmetical operation __sub on nil and number …
robhol #108
Posted 24 May 2013 - 06:53 AM
Crashes when you type 0xFF, which doesn't seem awe-inspiring. Error message similar to the one bjornir posted.
Xenthera #109
Posted 24 May 2013 - 11:40 PM
Well done Grav! I think this beats the Taco Editor by far. I still don't like to edit in game though :P/>

EDIT: I take that back… Yours is much better than Sublime :)/>

You can't be serious!??!?!?! Sublime is the most sublimely epically astonishing fantastic amazing impressive intuitive awesome text editor know to man. This can't possibly be better!

Not to put down your in-game text editor, but you're right. If you could implement autofill for functions and stuff, this would be up to par with ST2. ;)/>
GravityScore #110
Posted 30 May 2013 - 05:28 AM
Looks so cool and useful ! Definitely the best !
Edit: Seems to don't want to open my file … it says :ide 622: attempt to make arithmetical operation __sub on nil and number …

Crashes when you type 0xFF, which doesn't seem awe-inspiring. Error message similar to the one bjornir posted.

Are you sure you're using the latest version of LuaIDE, as line 622 in my version is just creating an index in a table? I did forget to update Pastebin again (doh!), so you would have had to gone into settings and clicked update. It doesn't crash for me when I tried this.
bjornir90 #111
Posted 30 May 2013 - 12:09 PM
Ok thanks you, will try when i get to my computer :)/>
Cozzimoto #112
Posted 01 June 2013 - 12:17 PM
dam, very nice ide implemented for in game use, i give you props good nerd!!! =))
oWave #113
Posted 27 June 2013 - 03:26 PM
Wow, that's really cool. But sometimes it blocks my keyboard and I have to restart it. I can't type anything. Only use my mouse if this happens.
GreenPro1 #114
Posted 29 June 2013 - 06:02 AM
Just Epic , Just Freaking Epic!!! Awesome Work ! im going to code in-game now :P/>
Geforce Fan #115
Posted 19 July 2013 - 08:08 PM
Try running LuaIDE within luaIDE within luaIDE within luaIDE within luaIDE :3
edit: wow, I sure gravedug this topic lol.
zacpier #116
Posted 20 July 2013 - 05:00 AM
This is possibly the greatest piece of software ever written for CC! I love it!
I noticed that line paste's (EDIT: "Keyboard Shortcut", silly me) doesn't work because CC automatically pastes mt clipboard into CC, rather than the line I copied. Maybe the shortcut could be changed? I don't know, I still love this more than you could imagine!
jmarko #117
Posted 22 July 2013 - 05:48 AM
Thanks it's better than notepad++ (for me).
UMayBleed #118
Posted 22 July 2013 - 02:49 PM
oooooo nice! I like it!
Lego Stax #119
Posted 22 July 2013 - 08:14 PM
This is by FAR the BEST IDE that I have ever seen! Coding in CCEMU could never be easier!
Lego Stax #120
Posted 23 July 2013 - 11:06 AM
Could I use this as a text-editor in my OS that I'm working on?
GravityScore #121
Posted 23 July 2013 - 12:03 PM
Could I use this as a text-editor in my OS that I'm working on?

Sure :)/>
Lego Stax #122
Posted 23 July 2013 - 12:10 PM
Again! Thank you very much! :)/>
Xerxeth #123
Posted 24 July 2013 - 09:07 PM
This is pretty great! Helps me catch the most simple mistakes when I'm trying to speed code.
theoriginalbit #124
Posted 24 July 2013 - 10:42 PM
Grav, 2 words….. dungeon disk! xD
GravityScore #125
Posted 25 July 2013 - 04:28 AM
Grav, 2 words….. dungeon disk! xD

Heh, you're the second person to suggest doing this :P/>

Done :)/>
jesusthekiller #126
Posted 25 July 2013 - 05:18 AM
Grav, 2 words….. dungeon disk! xD

Heh, you're the second person to suggest doing this :P/>

Done :)/>

So who was first? I or Bit?
theoriginalbit #127
Posted 25 July 2013 - 06:35 AM
So who was first? I or Bit?
"Me or BIT" or "BIT or me" not "I or BIT" xD
GravityScore #128
Posted 25 July 2013 - 06:38 AM
So who was first? I or Bit?

You were :P/>
jesusthekiller #129
Posted 25 July 2013 - 08:02 AM
Yay! :P/>
Pinkishu #130
Posted 26 July 2013 - 07:25 AM
Random point: I think the only time i'd start liking ingame editing is when CC displays get bigger and the lag would be gone :D/>
Alice #131
Posted 30 July 2013 - 11:37 PM
I <3 this. Creepers shall not blow this up under MY command. The only problem, however, I despise how the buttons are not symmetrical. It's an OCD problem. If you feel like fixing it, you have my support on fixing it :P/>
GravityScore #132
Posted 31 July 2013 - 03:51 AM
I <3 this. Creepers shall not blow this up under MY command. The only problem, however, I despise how the buttons are not symmetrical. It's an OCD problem. If you feel like fixing it, you have my support on fixing it :P/>

The buttons were designed to be aligned to the center (either side of it, so the column on the left is right-aligned, and the column on the right was left aligned), and I sorta like it that way :P/>
campicus #133
Posted 01 August 2013 - 12:38 AM
This has changed the way I use CC O_o
NOTUSEDPLEASEDELETE #134
Posted 02 August 2013 - 07:38 PM
Awesome! I have a idea:

Breakpoints:

There's a blank space next to the line. Clicking on it comments out the line and turns it red. Clicking it again makes it disappear and gets rid of the comment.
ratchetgame98 #135
Posted 04 August 2013 - 01:58 PM
this program is awesome. I'm using it on my server, which hasn't finished yet, and I really like it.
Also, if you would like to, you may apply to join my server at computercraftschool.enjin.com.
teachers are needed, and there is a programming lesson available
figgycity50 #136
Posted 24 August 2013 - 11:40 AM
Grav, first of all turning MC GUI scale down and CC monitor scale up looks cool. http://prntscr.com/1n50y8 Also I was wondering if you could package your GUI functions and publish them to us in an API, because all your programs look ABSOULOUTELY AWESOME
GravityScore #137
Posted 24 August 2013 - 12:30 PM
Grav, first of all turning MC GUI scale down and CC monitor scale up looks cool. http://prntscr.com/1n50y8 Also I was wondering if you could package your GUI functions and publish them to us in an API, because all your programs look ABSOULOUTELY AWESOME

Thanks :)/>

Actually, all my GUI functions are sorta made up on the spot - they're not very well organised into an API for easy use and placement, I just basically draw buttons manually everywhere, and put some trigger things in places. Turning this into a GUI API would be so useful for any new programs I make, but I can't be bothered at the moment :P/>
figgycity50 #138
Posted 24 August 2013 - 03:06 PM
Random point: I think the only time i'd start liking ingame editing is when CC displays get bigger and the lag would be gone :D/>
go into (the folder where the mods folder is)/config/ComputerCraft.cfg to change the display size.
figgycity50 #139
Posted 25 August 2013 - 04:27 AM
GravityScore, I absoloutley LURVE your programs. Also, how did you do the error check/syntax highlighting/autocomplete thingy? I really need one to use in my next project. (secret project, but i give 3 words about it: PROGRAMMING FOR NOOBS)
Shaun #140
Posted 25 August 2013 - 07:28 AM
Been using this program for all of 10 minutes and I'm in love. couple issues though!

- Can't get Ctrl-V to work (Ctrl-C and Ctrl-X do work)
- Hitting the right arrow at the end of a line should bring you to the next line.
- Hitting enter from anywhere on a function line will create an end line below it, making it impossible to move a function line down from the top of the screen. (Make it only add an end if one is missing?)
- No obvious way to terminate a program running from the IDE, have to terminate the IDE and re-open it
- Would be nice if pageup and pagedown scrolled maybe 10 lines at a time
turtle5204 #141
Posted 25 August 2013 - 08:44 AM
YES! Finally a working text editor. Muhahahaha….. Time to make a epic program!
theoriginalbit #142
Posted 25 August 2013 - 11:17 AM
Would be nice if pageup and pagedown scrolled maybe 10 lines at a time
If you add this Grav, make it configurable as to how many lines it scrolls by
GravityScore #143
Posted 25 August 2013 - 11:27 AM
Grav, first of all turning MC GUI scale down and CC monitor scale up looks cool. http://prntscr.com/1n50y8 Also I was wondering if you could package your GUI functions and publish them to us in an API, because all your programs look ABSOULOUTELY AWESOME

Actually, I'm reconsidering this. I'm going to make a GUI API, but it's not going to be for public use (I'm not going to release it, and I'll make sure people aren't allowed to just take the functions from my programs), partially because I really cannot be bothered writing documentation, but mainly because I don't really want anyone using the same sort of style of GUI as I do (partially the reason why I didn't write a GUI API in the first place). It'll make everything much shorter (perhaps :P/>) and easier to write.

GravityScore, I absoloutley LURVE your programs. Also, how did you do the error check/syntax highlighting/autocomplete thingy? I really need one to use in my next project. (secret project, but i give 3 words about it: PROGRAMMING FOR NOOBS)

Error checking, syntax highlighting, and autocompleting are the bulk of this IDE (probably 1000 lines in the program), and I'm really not willing to type out exactly how they work because it'll take forever. It's all in the code. The majority of important variables in there are named relevant names, so it shouldn't be too hard to figure out how it works.

Been using this program for all of 10 minutes and I'm in love. couple issues though!

- Can't get Ctrl-V to work (Ctrl-C and Ctrl-X do work)
- Hitting the right arrow at the end of a line should bring you to the next line.
- Hitting enter from anywhere on a function line will create an end line below it, making it impossible to move a function line down from the top of the screen. (Make it only add an end if one is missing?)
- No obvious way to terminate a program running from the IDE, have to terminate the IDE and re-open it
- Would be nice if pageup and pagedown scrolled maybe 10 lines at a time

Thanks, glad you like it :)/> I'll reply in dot points :P/>
1. I think Ctrl-V doesn't work because it's a system keyboard short cut, and probably not properly detected by CC. It works in certain circumstances for me, but not entirely as expected. I think I'll just change the keyboard short cut. Any suggestions for the key? I'm thinking Ctrl-B because it's next to V on the keyboard :P/>
2. I've never liked this behaviour of the edit program because it annoyed me when trying to move quickly to the end of a line. Granted I could just go to the next line and hit back, but meh :P/>
3. I should probably catch Ctrl-T here and make it return to LuaIDE :P/> I'll add this now.
4. Good idea, I'll change it now.

If you add this Grav, make it configurable as to how many lines it scrolls by

I was thinking just scroll it by the page length (so height of terminal - 1)
theoriginalbit #144
Posted 25 August 2013 - 12:30 PM
I was thinking just scroll it by the page length (so height of terminal - 1)
Default is page, but configurable? xD :P/>
GravityScore #145
Posted 25 August 2013 - 12:38 PM
I was thinking just scroll it by the page length (so height of terminal - 1)
Default is page, but configurable? xD :P/>

Awwww but config means more effort and files to create and manage and destroy and more testing and time and blahhhhhhhhh :P/>
theoriginalbit #146
Posted 25 August 2013 - 12:54 PM
Awwww but config means more effort and files to create and manage and destroy and more testing and time and blahhhhhhhhh :P/>
You already have a config though, for all the selected themes and such…
luaCoder #147
Posted 26 August 2013 - 07:02 PM
Is awesome exept when using var-var it doesn't give me any help on how to fix because var+var workes
masterdisasterHD #148
Posted 18 September 2013 - 02:51 PM
May i
SpoilerInclude this in my upcoming OS?
if Yes: can you draw a nice 5x5 icon for it?
GravityScore #149
Posted 19 September 2013 - 09:06 AM
May i
SpoilerInclude this in my upcoming OS?
if Yes: can you draw a nice 5x5 icon for it?

Sure, not a computer at the moment so I'll do an icon a bit later
masterdisasterHD #150
Posted 19 September 2013 - 11:06 AM
k, thanks
ZEKROM67 #151
Posted 21 September 2013 - 08:45 AM
This is epic. It is really like some coding programs people use. 5 stars!
hron84 #152
Posted 06 November 2013 - 10:27 PM
Cool thing - and can be found in dungeons :-)
neptune12100 #153
Posted 08 November 2013 - 10:18 PM
I always liked IDE's written in the language they are… y'know… for. Like IDLE. Cool.
EDIT: Downloaded and used in CCDesk, cuz the MC launcher hates me. Like it a lot!
Edited on 09 November 2013 - 12:29 PM
FlashingLight #154
Posted 09 November 2013 - 01:47 PM
This program is the best i've ever seen! Beautiful design, user-friendly, … I LOVE IT!
TechMasterGeneral #155
Posted 11 November 2013 - 09:18 PM
Absolutely love this program! Thanks GravityScore!
bentallea #156
Posted 18 December 2013 - 10:53 PM
I think i found a bug with string highlighting:


on line 25, i would expect it to be line = line:find("% ") and line:sub(line:find("% ")+1) or nil

Also. tonumber and tostring are not highlighted correctly
Edited on 18 December 2013 - 10:15 PM
theoriginalbit #157
Posted 18 December 2013 - 11:11 PM
-snip-
there's lots of highlighting bugs when strings are involved
Lewisk3 #158
Posted 20 December 2013 - 01:45 AM
can i just simple say THIS IS AMAZING!

P.S i normaly make my own software for my programs but
this software is incredible and i just have to use it in my OS

Can i use this in my program plzzz?
leftshiftadri #159
Posted 20 December 2013 - 12:48 PM
Looks really nice, i'll have to try that later…
Letherin #160
Posted 23 December 2013 - 02:41 PM
Is there any easy way to make this program available to my computer like "edit" is… I guess I'm talking about adding it to the command path (if there is such a thing) ?

If I were on a unix account I could just make a ~/bin directory and add that to my personal PATH variable for my shell in my .profile or whatever.

Any way to do similar here ?

Awesome program btw, this is a game changer for me.
oeed #161
Posted 23 December 2013 - 03:09 PM
Is there any easy way to make this program available to my computer like "edit" is… I guess I'm talking about adding it to the command path (if there is such a thing) ?

If I were on a unix account I could just make a ~/bin directory and add that to my personal PATH variable for my shell in my .profile or whatever.

Any way to do similar here ?

Awesome program btw, this is a game changer for me.

If I understand you correctly, simply download the program as said in the first post as 'luaide', then you can use it just like edit. For example,
luaide startup
gollark8 #162
Posted 23 December 2013 - 03:42 PM
Is there any easy way to make this program available to my computer like "edit" is… I guess I'm talking about adding it to the command path (if there is such a thing) ?

If I were on a unix account I could just make a ~/bin directory and add that to my personal PATH variable for my shell in my .profile or whatever.

Any way to do similar here ?

Awesome program btw, this is a game changer for me.
If you mean add to ROM,then add a plaintext file of the code to assets/computercraft/lua/rom/programs in your resource pack.
If that doesn't work remove the /lua.
awsmazinggenius #163
Posted 23 December 2013 - 04:46 PM
One little question (now that this is bumped):

Does the ^ in the keyboard shortcuts means the control key (like it does on the Mac)? If so, then the "run" shortcut is overtaken by CraftOS's "reboot" shortcut. I hope that I am wrong in ^ being the control key. (Found this out by pressing the shortcut to run - but thankfully I was just testing the IDE and only lost four lines of a very simple program.)
Edited on 23 December 2013 - 03:46 PM
oeed #164
Posted 23 December 2013 - 06:20 PM
One little question (now that this is bumped):

Does the ^ in the keyboard shortcuts means the control key (like it does on the Mac)? If so, then the "run" shortcut is overtaken by CraftOS's "reboot" shortcut. I hope that I am wrong in ^ being the control key. (Found this out by pressing the shortcut to run - but thankfully I was just testing the IDE and only lost four lines of a very simple program.)

I'm 90% that ^ means control. Have you got sticky keys on or something? You have to hold Control + R for a second to reboot it. I'm currently adding shortcuts to my OS and am using ^ for control, if that's not very clear what would you recommend?
awsmazinggenius #165
Posted 23 December 2013 - 06:26 PM
It is perfectly clear to me, as I use both Mac and Windows. (But, in all honesty, I prefer Windows). But for someone who isn't Mac savvy might have a hard time with all of the shortcut keys that have symbols instead of names. (My friend used Windows all their life and just switched to a Mac 3 months ago, they are still unfamiliar with anything that is different from Windows (and they aren't actually that bad with technology - they can code a little bit). However, similarly, one that has always been a Mac user might have a hard time using Windows (but less of a hard time - it's not hard to figure out that Ctrl means control (and some most keyboards are labeled that way nowadays anyways.)))

EDIT: No, I hate sticky keys. I am currently on my Mac, though. And ^R is not a great shortcut anyways if it is also the reboot key.
Edited on 23 December 2013 - 05:29 PM
jandcando #166
Posted 09 January 2014 - 07:20 PM
I found a floppy disk in a dungeon labeled "Lua IDE by GravityScore." I wondered what it was. I crafted a computer and disk drive, put the disk in, ran the program, and was blown away by sheer amazingness!

I've never actually heard of you before, GravityScore. But I knew I had to create an account on this site for the sole purpose of congratulating you. (btw, I checked out your other programs, and the names and descriptions of them alone is enough to get me excited. I will use them all!!!!!!!) you are awsome
awsmazinggenius #167
Posted 11 January 2014 - 02:36 AM
I found a floppy disk in a dungeon labeled "Lua IDE by GravityScore." I wondered what it was. I crafted a computer and disk drive, put the disk in, ran the program, and was blown away by sheer amazingness!

I've never actually heard of you before, GravityScore. But I knew I had to create an account on this site for the sole purpose of congratulating you. (btw, I checked out your other programs, and the names and descriptions of them alone is enough to get me excited. I will use them all!!!!!!!) you are awsome
Are you new to ComputerCraft (probably in a modpack and it got ignored or something)? You may want to open your config file and enable the HTTP API (enabled by default in some FTB packs, not sure about Tekkit), then download the self-updating version of LuaIDE. Anyways, if you learn a tiny but if Lua, I'm sure you'll use that account for more then just congratulating Gravity. (P.S. It is a really good program, except for that ^R thing.) Anyways, let me be the first (hopefully - do that say any "welcome" or anything in the verification email or agreement? It's been so long) to welcome you to the ComputerCraft community.
Drexic #168
Posted 14 January 2014 - 07:53 AM
LuaIDE has been updated to 2.0 just in case people haven't hit the check for updates recently.

Also it is very important that you don't try to update after that there is a bug in the post 2.0 update (probably just syntax but I cant find it)

There has been no official announcement I just couldn't find anything on Google so I wanted to ping somewhere.

-Drexic
GravityScore #169
Posted 14 January 2014 - 02:11 PM
LuaIDE has been updated to 2.0 just in case people haven't hit the check for updates recently.

Also it is very important that you don't try to update after that there is a bug in the post 2.0 update (probably just syntax but I cant find it)

There has been no official announcement I just couldn't find anything on Google so I wanted to ping somewhere.

-Drexic

Whoops, must have changed the version number by accident. I am working on a new version, but its mainly internal changes. Might take longer than expected due to more pressing projects.
Drexic #170
Posted 27 January 2014 - 03:24 AM
No worries I am happy I contributed in some way, I have been needing to get into programming again and if you need any help with this project I would be happy to try to help

Although I realize that jumping in once something is this far can be laborious to the individual(s) spear heading the project itself

Please let me know, we can communicate through other means if it would be easier for you.

-Drexic
GravityScore #171
Posted 27 January 2014 - 12:03 PM
No worries I am happy I contributed in some way, I have been needing to get into programming again and if you need any help with this project I would be happy to try to help

Although I realize that jumping in once something is this far can be laborious to the individual(s) spear heading the project itself

Please let me know, we can communicate through other means if it would be easier for you.

-Drexic

Thanks for the offer, but I should be OK with programming this on my own for now. Thanks :)/>
Cutecurtain #172
Posted 28 January 2014 - 11:57 AM
This is truly amazing!
Will start using this at once!
As we say in Sweden: "Fina fisken" ;)/>
figgycity50 #173
Posted 16 February 2014 - 04:49 AM
Bug: On run /w args, pressing Cancel runs the program instead of cancelling.
alexbuzzbee #174
Posted 08 March 2014 - 01:35 AM
Crash Report!
Transcript:
LuaIDE - Crash! D:

LuaIDE Has Crashed! D:

LuaIDE:924: Expected string

Please report this error to
GravityScore!

Click to Exit…

Error occurred after running the following program:
filename: test
print("BLEEP")
Chickenbreadlp #175
Posted 09 March 2014 - 02:27 PM
This is awsome! Could i use it in my OS. It's called ApfelOS and i would also give you credit.
Also I've downloaded luaIDE to test it, and after I've updated it, luaIDE won't start anymore! Why?
I haven't modded your program. In the code it says after the update under version = 2.0
Edited on 11 March 2014 - 05:23 PM
Shnupbups #176
Posted 12 March 2014 - 11:20 PM
I'm trying to run it in the CCLite Emulator (CC 1.6 Beta Test Version) and it errors with:

:1039: invalid escape sequence near '"function%s+[a-zA-Z_0-9]'
:(/>
Symmetryc #177
Posted 13 March 2014 - 12:45 AM
I'm trying to run it in the CCLite Emulator (CC 1.6 Beta Test Version) and it errors with:

:1039: invalid escape sequence near '"function%s+[a-zA-Z_0-9]'
:(/>
From gamax's Emulator thread:
LuaJ will take invalid escape sequences and ignore them, Lua will complain. You shouldn't be having invalid escape sequences anyway though.
TheKickstart #178
Posted 22 March 2014 - 09:13 PM
Please Can I Use This In LiveOS
GravityScore #179
Posted 23 March 2014 - 04:08 AM
Please Can I Use This In LiveOS

Sure
CometWolf #180
Posted 23 March 2014 - 01:03 PM
Please Can I Use This In LiveOS

Sure
Lol, that's the dude who stole it and claimed it as his own…
http://www.computercraft.info/forums2/index.php?/topic/17479-shazar/page__p__167993#entry167993
GravityScore #181
Posted 23 March 2014 - 01:18 PM
Lol, that's the dude who stole it and claimed it as his own…
http://www.computerc...993#entry167993

Heh, I saw that thread, glad it's locked :P/> Didn't notice it was the same person.
theoriginalbit #182
Posted 23 March 2014 - 01:31 PM
Heh, I saw that thread, glad it's locked :P/> Didn't notice it was the same person.
His OS doesn't even contain LuaIDE, it contains his Shazar (which is funny 'cause it has a bug!)
GravityScore #183
Posted 23 March 2014 - 01:48 PM
His OS doesn't even contain LuaIDE, it contains his Shazar (which is funny 'cause it has a bug!)

I just PMed him about that :P/> He didn't change the update URL too, so updating it will actually download LuaIDE :P/>
Edited on 23 March 2014 - 12:54 PM
GravityScore #184
Posted 24 March 2014 - 11:13 AM
Added a link at the top.

Try out LuaIDE on Mimic, 1lann and my HTML5 online emulator! Just 1 simple click :P/>

Visit: http://gravlann.gith...stebin=vyAZc6tJ
Edited on 24 March 2014 - 10:13 AM
theoriginalbit #185
Posted 24 March 2014 - 11:42 AM
Try out LuaIDE on Mimic, 1lann and my HTML5 online emulator! Just 1 simple click :P/>
Visit: http://gravlann.gith...stebin=vyAZc6tJ
That is awesome Grav!!!
oeed #186
Posted 24 March 2014 - 08:42 PM
Added a link at the top.

Try out LuaIDE on Mimic, 1lann and my HTML5 online emulator! Just 1 simple click :P/>

Visit: http://gravlann.gith...stebin=vyAZc6tJ
Maaaate!

That Pastebin argument… that's a game changer.
lebuildman #187
Posted 10 April 2014 - 08:43 PM
Can I have a help?

I think that Something is Wrong D:
TheOddByte #188
Posted 10 April 2014 - 11:07 PM
Can I have a help?

I think that Something is Wrong D:
Well that's because you're using an emulator, LuaJ that ComputerCraft uses ignores invalid escapes, but the emulator doesn't.
But this still shouldn't have invalid escapes :P/>
apemanzilla #189
Posted 10 April 2014 - 11:27 PM
Can I have a help?

I think that Something is Wrong D:
Well that's because you're using an emulator, LuaJ that ComputerCraft uses ignores invalid escapes, but the emulator doesn't.
But this still shouldn't have invalid escapes :P/>/>
Possibly a 1.6 thing.
Engineer #190
Posted 12 April 2014 - 09:18 AM
Possibly a 1.6 thing.
I love how it says craftOS 1.5 xD
apemanzilla #191
Posted 13 April 2014 - 01:11 AM
Possibly a 1.6 thing.
I love how it says craftOS 1.5 xD
>facepalm< I'm an idiot sometimes
CastleMan2000 #192
Posted 19 April 2014 - 10:59 PM
I was just checking this program out on the online emulator thing, but unfortunately, after clicking on an '!' while writing a line, it said the error and then wouldn't let me do anything until it crashed!

TheOddByte #193
Posted 23 April 2014 - 08:11 PM
I was just checking this program out on the online emulator thing, but unfortunately, after clicking on an '!' while writing a line, it said the error and then wouldn't let me do anything until it crashed!

Uhmm your screenshot is messed up! It doesn't work :P/>
CastleMan2000 #194
Posted 23 April 2014 - 10:18 PM
I now see that. I'll try to correct it.

Oh, just open it in a new tab. That should work.
Edited on 23 April 2014 - 08:18 PM
Inglonias #195
Posted 26 April 2014 - 01:18 AM
I'm having some trouble with this program. I can't actually open any of the menus while editing. I have tried with the treasure chest version and the downloaded version. It may be that I'm using an older version of ComputerCraft (using the recommended version of Tekkit). Any idea what's wrong?

The online version works fine for me, though.
Geforce Fan #196
Posted 08 June 2014 - 04:37 AM
Question: Did you make this program in edit? :P/>
What did you make this program in? Do you update luaide with luaide?
theoriginalbit #197
Posted 08 June 2014 - 07:04 AM
Question: Did you make this program in edit? :P/>
What did you make this program in? Do you update luaide with luaide?
GravityScore, like many people on the forums, uses an external text editor, such as Notepad++ (Windows) or Sublime Text (Mac, GravityScore would use this one with his Sublime Text plugin) to create their programs, and more often than not test the scripts in an emulator.
flaghacker #198
Posted 08 June 2014 - 08:12 PM
Running luaIDE in OnsOS, errors:
https://www.dropbox.com/s/3248929vgyorgxu/LuaIDE.PNG

Otherwise, nice program!
vargaszm #199
Posted 10 June 2014 - 08:22 PM
This editor is amazing grav! What's the license for it? Do you think i could use a version with the "brainf–k" option removed
for a children's programming class using ComputerCraft? What about distributing it to parents/kids so that kids can continue
programming at home? I hate that these magic "curse" words have this power, but it's the reality of my sitch.
Geforce Fan #200
Posted 10 June 2014 - 08:36 PM
This editor is amazing grav! What's the license for it? Do you think i could use a version with the "brainf–k" option removed
for a children's programming class using ComputerCraft? What about distributing it to parents/kids so that kids can continue
programming at home? I hate that these magic "curse" words have this power, but it's the reality of my sitch.
technically it's a name, not a curse word. There's no space in-between.
If grav says no you might be able to wrap the program in a coroutine and reset some variables to ensure it doesn't print that. That would not actually be modifing Luaide, or you might even be able to put the program as string, search for the string "brainf–k" and set it to something else. You could even modify the print function to check what's it's printing and make sure it's not brainf**k. It depends on the way it was made.
Edited on 10 June 2014 - 06:41 PM
vargaszm #201
Posted 11 June 2014 - 02:57 AM
I havent programmed since TI BASIC in high school and relearned to develop this class. i'm by no means a skilled programmer but I'm but i know enough for the age ranges i'm teaching.
Geforce Fan #202
Posted 11 June 2014 - 03:57 AM
Here. I whipped up a program for you. Rename Luaide to LuadeInt.
Here's the pasteID of the program:
ssyduPcV
I've avoided saying f**k with some string magix and also made it simply print "No." when you try to print brainf**k. Tested and totally works, although running in twice without rebooting will be a problem. You have complete permission to edit the part I made, you might just stick an os.reboot() at the end to fix the problem with running it twice.
If you want I can also make it filter out all curse words.
Edited on 11 June 2014 - 01:59 AM
vargaszm #203
Posted 11 June 2014 - 03:19 PM
thank you! I'd still like to hear back from grav anyway. I'd be happy to show you the modifications i made as well as the world save it's used in.
Geforce Fan #204
Posted 11 June 2014 - 08:50 PM
by the way, are you going to like host a LAN world with a room with computers at desks and teach from there? That'd be kinda funny, cause you know, you're in a room with computers using them to be in a room with computers…
vargaszm #205
Posted 12 June 2014 - 12:38 AM
Yeah, and their turtle is red networked with the comp so they have bigger editing screens. also don't forget the java virtual machine running the virtual world with the virtual computers.

but no not yet, a lot of the classes are mobile by nature so setting that up would require talking to some networking person, aka the company parting with dollars. They are "excited" they tell me about this class tho, so i'll probably be able to get that ball rolling once this one is.
Geforce Fan #206
Posted 12 June 2014 - 03:31 AM
So will you be in a classroom with them? Or are you going to use the chat?
Don't pay a company to host, it's easy to do it yourself.
vargaszm #207
Posted 12 June 2014 - 03:51 AM
In a classroom. host the server or the classes?
Geforce Fan #208
Posted 12 June 2014 - 06:17 AM
host the server
vargaszm #209
Posted 12 June 2014 - 06:38 AM
owner man would rather get it setup and ride it rather than ongoing fees i would guess. owner man asked me about minecraft edu, I'm confident ill be able to push them toward that. and I'm VERY excited about CCedu.
Geforce Fan #210
Posted 15 June 2014 - 06:05 AM
Awesome, tell me how it goes.
BytePointer #211
Posted 20 June 2014 - 03:42 AM
Literally my favorite! ^_^/>
Edited on 20 June 2014 - 01:43 AM
Win7yes #212
Posted 20 June 2014 - 06:20 PM
I think I might have found a bug.
If you go to Settings and then Check for Updates it says there IS an update and updates. Then version becomes 1.1.
If you do this again, it will also return an update but it will change version to 2.0, But when you try to reRun LuaIDE it runs a Test program that crashes
SpencerBeige #213
Posted 24 June 2014 - 01:47 AM
i like it, but i wish themes would work!
theoriginalbit #214
Posted 24 June 2014 - 01:49 AM
i like it, but i wish themes would work!
they work for me. what's the problem you're getting?
ebernerd #215
Posted 06 July 2014 - 06:40 AM
I pressed something, and the whole function bar (bar at the top) said
LUA, BRAINFUCK, NONE.

What does that mean??? :D/>
theoriginalbit #216
Posted 06 July 2014 - 06:47 AM
It switches the syntax highlighter and 'compiler' between the 3 options.
0099 #217
Posted 08 July 2014 - 05:07 PM
Nice IDE, maybe now I won't so much times exit to Notepad++.

Suggestion: you have now commands like "copy line", "paste line", "delete line". Can you please add also "comment line" and "uncomment line"?
Platoro #218
Posted 11 August 2014 - 11:41 PM
Nice IDE, maybe now I won't so much times exit to Notepad++.

Suggestion: you have now commands like "copy line", "paste line", "delete line". Can you please add also "comment line" and "uncomment line"?

Well, even if i'm not the creator of the program, I tweaked it and added that feature… (you found it in the "Edit" dropdown menu)
I hope the developer doesn't mind if I've touched his masterpiece
And I also hope I haven't created bugs all over the place

VgN8QaPm

All Credits to the original Developer: GravityScore
Rectar2 #219
Posted 13 August 2014 - 09:29 PM
I'd like to point out that the web emulation is slightly broken. It prints an error at startup, where I'd assume it's supposed to start LuaIDE. You can run it just fine by typing it into the commandline yourself, though.
willwac #220
Posted 21 August 2014 - 03:23 PM
I don't know if it's me, but when I try to update LuaIDE I get the error:
edit:1996: Domain not permitted
and when I try to change to the fire theme, I get this error:
bios:500: Domain not permitted


Nevermind. I fixed it.

To fix: change 'S:http_whitelist=*pastebin.com;*computercraft.info' in your ComputerCraft.cfg to 'S:http_whitelist=*'. This is fixed as of 1.64pr2

And, could we get a tutorial on how to make our own themes?
Edited on 21 August 2014 - 01:31 PM
theoriginalbit #221
Posted 21 August 2014 - 03:31 PM
You're using the latest version of ComputerCraft, iirc the themes are stored on GitHub, meaning that you need to add GitHub to the domain whitelist in the ComputerCraft config.

As for themes they're not overly complex, here are the ones I made for LuaIDE.
willwac #222
Posted 21 August 2014 - 05:35 PM
You're using the latest version of ComputerCraft, iirc the themes are stored on GitHub, meaning that you need to add GitHub to the domain whitelist in the ComputerCraft config.

As for themes they're not overly complex, here are the ones I made for LuaIDE.
Thanks!!
In fact, I'm making a program to create LuaIDE Themes right now!
I got it finished! http://www.computercraft.info/forums2/index.php?/topic/20115-luaide-theme-editor/
Edited on 21 August 2014 - 11:41 PM
willwac #223
Posted 25 October 2014 - 06:45 PM
LuaIDE 2.0 seems to be broken!
HDeffo #224
Posted 25 November 2014 - 06:18 PM
Since I am unable to private message I will just post it here. I was curious if you would mind me using a modified snippet of this code in something I'm working on as long as I credit you for that section of code of course.
GravityScore #225
Posted 29 November 2014 - 12:55 PM
All these PMs and messages about using LuaIDE's code are getting annoying, so I just attached an MIT license to the code. So basically do whatever you want with whatever part of the code and I don't care.
oeed #226
Posted 29 November 2014 - 11:20 PM
All these PMs and messages about using LuaIDE's code are getting annoying, so I just attached an MIT license to the code. So basically do whatever you want with whatever part of the code and I don't care.

You'll probably want to make it more obvious. I'd put something in the first post. You'll still get PMs but at least with a notice in the first post more people will see it.
GravityScore #227
Posted 30 November 2014 - 04:50 AM
All these PMs and messages about using LuaIDE's code are getting annoying, so I just attached an MIT license to the code. So basically do whatever you want with whatever part of the code and I don't care.

You'll probably want to make it more obvious. I'd put something in the first post. You'll still get PMs but at least with a notice in the first post more people will see it.

Thanks, just added that to the OP.
KnightOwl #228
Posted 30 December 2014 - 08:57 PM
I can't get the File/Edit'/Functions menus to come up. Tried ctrl and alt. Since nobody else is asking it must be obvious but yeah no luck..
SpencerBeige #229
Posted 12 February 2015 - 12:10 AM
not laggy, not bad, i LOVE IT!!!!
SpencerBeige #230
Posted 16 February 2015 - 03:34 AM
IM ENJOYING EDITING IN GAME; YOUR MODO WORKED
Zareks #231
Posted 22 February 2015 - 05:47 PM
LOVE THIS! thx grav!
ExplosiveFerrets #232
Posted 07 June 2015 - 08:10 PM
AWESOME!

Could I use this in my upcoming OS? (might take awhile before I release it)
oeed #233
Posted 08 June 2015 - 02:07 AM
AWESOME!

Could I use this in my upcoming OS? (might take awhile before I release it)

Note: LuaIDE is licensed under the MIT license - this means you can basically do whatever you want with the code without asking me. See here for the full license.
RootUser #234
Posted 19 September 2015 - 11:19 AM
CRASH: luaide:275: attemp to index ? (a lin value)
PixelFox #235
Posted 20 September 2015 - 01:55 AM
Hey gravity, I know how to fix the flashing screen, right before it draws the screen, write: "term.current().setVisible(false)", then, after it has drawn the screen, write "term.current().setVisible(true)"
MineRobber___T #236
Posted 25 November 2015 - 05:46 PM
When I was trying the live demo, it crashed when I tried to use a theme. The error message was:

[string "luaide"]:256: attempt to index local f (a nil value)
Edited on 25 November 2015 - 04:48 PM
xcrafter_40 #237
Posted 20 August 2016 - 07:07 PM
Ideas:
Autocomplete? It's a real pain in the butt without it :lol:/>

Thanks if you add it in :)/>
MarcoPolo0306 #238
Posted 10 September 2016 - 01:02 AM
Very, Very nice! (=
Cute Froggy :) #239
Posted 15 September 2016 - 11:34 AM
Coming Soon!
Doesn't update in 3 Years
TheRockettek #240
Posted 15 September 2016 - 04:16 PM
Coming Soon!
Doesn't update in 3 Years

Whats "comming soon"?

I believe you mistook the text, the comming soon thing is a title for where the link for planned features (thar are comming soon)
Cute Froggy :) #241
Posted 17 September 2016 - 10:58 PM
But it hasn't been updated for 3 years.
Edited on 17 September 2016 - 08:59 PM
SlimeBOOS #242
Posted 06 July 2017 - 02:31 PM
Hey, Grav
Could i use your luaIDE in my BuddyOS operating system as optinal editor?
Anavrins #243
Posted 06 July 2017 - 04:19 PM
Note: LuaIDE is licensed under the MIT license - this means you can basically do whatever you want with the code without asking me. See here for the full license.
TheZipCreator #244
Posted 26 July 2017 - 02:04 AM
So I was just editing something and I got this crash.
helo #245
Posted 07 May 2018 - 03:52 AM
I tried downloading the "fire" theme and got the following error, using the latest 1.12.2 CC release: