You can do this with snippets of the language-lua plugin, go to it's settings and check that they are enabled
Lua Script Editor Needed
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Lua Script Editor Needed
I recommended Atom before, check the Gist of plugins I use
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: Lua Script Editor Needed
Thanks! This really helps a lot. It took a little while to set it up properly, but now it works how I want it.Positive07 wrote: ↑Sun Feb 12, 2017 9:18 pm I recommended Atom before, check the Gist of plugins I use
You can do this with snippets of the language-lua plugin, go to it's settings and check that they are enabled
Re: Lua Script Editor Needed
Hang on, the love module is being reported as undefined by luacheck, how do I fix this?
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Lua Script Editor Needed
Edit: See the post below.
Last edited by zorg on Tue Feb 14, 2017 10:12 am, edited 1 time in total.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Lua Script Editor Needed
Reposting here since I deleted that:
Go to linter-luacheck settings and in the "Globals" setting put "love" without the quotes of course. I only have that over there, since "bit", "jit", "socket", "enet" all need to be required anyway
You can also change this using a .luacheckrc on a per-project basis, for more info on that check the luacheck documentation
Go to linter-luacheck settings and in the "Globals" setting put "love" without the quotes of course. I only have that over there, since "bit", "jit", "socket", "enet" all need to be required anyway
You can also change this using a .luacheckrc on a per-project basis, for more info on that check the luacheck documentation
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: Lua Script Editor Needed
> Can anyone suggest an IDE with working debugging? Tried IDEA but it's not working very good with LOVE as an interpreter and Visual Studio with a plugin, but there is no autocompletion for LOVE API that I could find.
ZeroBrane Studio Lua IDE should handle debugging and auto-complete; see http://notebook.kulchenko.com/zerobrane ... -debugging. Others have already suggested Atom and Sublime with various plugin bundles earlier in this thread.
ZeroBrane Studio Lua IDE should handle debugging and auto-complete; see http://notebook.kulchenko.com/zerobrane ... -debugging. Others have already suggested Atom and Sublime with various plugin bundles earlier in this thread.
Re: Lua Script Editor Needed
Zerobrane Studio does have working debugging indeed. The way it's set up prevents the use of lovedebug library, though. And if your gamee is large, you have to manually flip its on/off state to avoid freezes/slowdowns.
Re: Lua Script Editor Needed
You might try Game Kitchen (https://bitbucket.org/kevinclancy/game- ... /wiki/Home) if you are willing to use a windows-only IDE that requires you to use a comment-embedded type system. I made Game Kitchen.
- darkmetalic
- Prole
- Posts: 17
- Joined: Tue Feb 07, 2017 4:09 pm
- Contact:
Re: Lua Script Editor Needed
My work environment especially for LOVE2D is the script editor I met on the LOVE2D website once, it was them who recommended me... well, what I appreciate in editors for development: autocomplete, syntax checker, builds and speed (lightness). This entire package exists in SublimeText 3 > SublimeLinter, Lua Linter, Lua autocomplete, LOVE2D autocomplete, Monokai (standard color scheme) and as free a spell checker. Eternal love.
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest