Jump to content




LuaIDE 1.0 - You Might Actually Like Editing In Game


  • You cannot reply to this topic
244 replies to this topic

#61 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 24 April 2013 - 08:14 AM

View PostBill4788, on 24 April 2013 - 08:11 AM, said:

It would be Awesome if you could Make this into a .EXE
Just use Sublime Text 2 and use the plugin that GravityScore made.

#62 remiX

  • Members
  • 2,076 posts
  • LocationSouth Africa

Posted 24 April 2013 - 08:25 AM

View Posttheoriginalbit, on 24 April 2013 - 08:14 AM, said:

View PostBill4788, on 24 April 2013 - 08:11 AM, said:

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

#63 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 30 April 2013 - 09: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!

#64 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 01 May 2013 - 09: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?

#65 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 01 May 2013 - 10:35 AM

View Postdarkrising, on 01 May 2013 - 09:20 AM, said:

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

#66 darkrising

  • Members
  • 234 posts
  • LocationScotland

Posted 01 May 2013 - 11:18 AM

View PostGravityScore, on 01 May 2013 - 10:35 AM, said:

View Postdarkrising, on 01 May 2013 - 09:20 AM, said:

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 :)

#67 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 01 May 2013 - 11:07 PM

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())


#68 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 01 May 2013 - 11:28 PM

View PostKingdaro, on 01 May 2013 - 11:07 PM, said:

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.

#69 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 01 May 2013 - 11:34 PM

View PostKingdaro, on 01 May 2013 - 11:07 PM, said:

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/G...uaIDE/issues/18

#70 Smiley43210

  • Members
  • 204 posts

Posted 02 May 2013 - 05: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.
Posted Image
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


#71 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 03 May 2013 - 05: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 :)

#72 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 04 May 2013 - 05:15 PM

Gravity, re-open my feature request on GitHub, I added more detail because you didn't understand me.

#73 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 04 May 2013 - 06: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.

#74 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 04 May 2013 - 08:38 PM

View PostDlcruz129, on 04 May 2013 - 06:24 PM, said:

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.

#75 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 04 May 2013 - 10:36 PM

View PostShnupbups100, on 04 May 2013 - 05:15 PM, said:

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...

#76 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 06 May 2013 - 04:26 AM

Hey all,

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

Enjoy!

#77 Asdramelesh

  • Members
  • 9 posts

Posted 08 May 2013 - 03:25 AM

Seems really nice I gonna test it

#78 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 08 May 2013 - 09: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.

#79 superaxander

  • Members
  • 609 posts
  • LocationHolland

Posted 08 May 2013 - 10:00 AM

You should check if the filenames are the same in the error message

#80 Jan

  • Members
  • 141 posts
  • Locationthe Netherlands

Posted 08 May 2013 - 10:07 AM

Looks very nice! Automatic end,) and " are cool. Plus I tested if screenshots would work here too:
Posted Image
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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users