Hello All,
Which is the best IDE for Löve?
Greetings,
Gal Zsolt
(~ CalmoSoft ~)
Best IDE for Löve
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: Best IDE for Löve
Hahaha what a discussion, I recommend you check this forum post that has recently come back to life on code editors. There is no "IDE" but you can configure an editor so that it provides IDE features, like syntax highlighting for Lua, autocompletion of LÖVE syntax, linting and error detection before you even save and launching LÖVE without leaving the program, even getting LÖVE console output in a terminal in the same editor. I personally use Atom and have all this features
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: Best IDE for Löve
Hello,
Thank you very much for your help.
Greetings,
Gal Zsolt
(~ CalmoSoft ~)
Thank you very much for your help.
Greetings,
Gal Zsolt
(~ CalmoSoft ~)
Re: Best IDE for Löve
See also this other related thread: https://www.love2d.org/forums/viewtopic.php?f=3&t=82552
- Le_juiceBOX
- Citizen
- Posts: 71
- Joined: Sat Mar 26, 2016 3:07 pm
Re: Best IDE for Löve
I use sublime. Very nice IDE
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Best IDE for Löve
Sublime Text (1/2/3) ain't an IDE, it's just an editor.
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.
Re: Best IDE for Löve
I've personally been thoroughly enjoying ZeroBrane studio (which was suggested in one of the above linked threads). Running code is a breeze, organization is pretty good, there is a debugger (which, I can't honestly vouch for as I debug on my own), and it is a free program. Though it's an IDE for Lua, it's easy to change it to Löve.
It's also aimed more toward inexperienced Lua users, but it doesn't really detract much -- if even anything important -- if you are experienced with Lua.
It's also aimed more toward inexperienced Lua users, but it doesn't really detract much -- if even anything important -- if you are experienced with Lua.
-
- Citizen
- Posts: 55
- Joined: Sat Dec 03, 2022 7:52 pm
Re: Best IDE for Löve
For those interested in using a text editor to code Love2d on iOS (e.g. iPad), the iOS Textastic app can import Sublime 3 packages, one of which is a Love2D package. I found it works pretty well; After creating a Love2d script, I can then zip up the code into a .love file and export it into the Love app on my iPad to try it out. Here are the instructions if anyone else is interested (I will also post it on the Love2D getting started wiki page):
1) Purchase the iOS Textastic app on the App Store
2) Create a folder in Textastic (while inside the Textastic app "Local Files" section or in the iOS Files app under the Textastic folder) called "#Textastic"
3) go to https://github.com/szensk/subllualove in Safari on your iPad
4) tap the green "Code" button and select "Download ZIP"
5) Unzip the file in the Files app. This will create a folder called "subllualove-master"
6) Move or copy that folder into the folder "On my iPad/Textastic/#Textastic/". This is equivalent to this folder in Textastic: "Local Files/#Textastic/".
7) In Textastic, go to Settings (gear wheel on the bottom left portion of the app) -> Other and tap "Reload Customizations"
8) In File Properties (document looking icon on top right portion of the app) -> Syntax Definition, there is now a new item "LOVE (*.lua)" that you can select after opening a .lua file.
If you have any questions on this process, please contact the Textastic developer (very responsive by email support)
1) Purchase the iOS Textastic app on the App Store
2) Create a folder in Textastic (while inside the Textastic app "Local Files" section or in the iOS Files app under the Textastic folder) called "#Textastic"
3) go to https://github.com/szensk/subllualove in Safari on your iPad
4) tap the green "Code" button and select "Download ZIP"
5) Unzip the file in the Files app. This will create a folder called "subllualove-master"
6) Move or copy that folder into the folder "On my iPad/Textastic/#Textastic/". This is equivalent to this folder in Textastic: "Local Files/#Textastic/".
7) In Textastic, go to Settings (gear wheel on the bottom left portion of the app) -> Other and tap "Reload Customizations"
8) In File Properties (document looking icon on top right portion of the app) -> Syntax Definition, there is now a new item "LOVE (*.lua)" that you can select after opening a .lua file.
If you have any questions on this process, please contact the Textastic developer (very responsive by email support)
Re: Best IDE for Löve
Sublime Text can do a lot of things that are prerogative for "IDE" and even beyond that. Personally I use:
What other core features a "true IDE" has? I can think mostly of one thing: breakpoint debugging. Yes, it is not supported. For me it is not a problem, I don't use it much anyway (because I write a lot of multi-threaded things and things that are calculated on GPU). But for some people that is a key feature.
- Customizable syntax highlighting
- Ability to start a project by single hotkey press (for Löve: without building .love file, which is faster in development)
- Support of projects, not just files or folders like editors do. Each project can include several folders with arbitrary locations on disk. Ability to quickly switch between projects, keep set of opened files separately for each project.
- Each project can have personal way (or many ways) to be build. Memorize a preferred way that each project will be build by default and convenient way to customize it (for example run some shader preprocessing before if you work on shaders at given time, and skip that otherwise)
- View project console output inside editor
- Work with repositories internally: view file/line history, show diffs, etc (With some help of Sublime Merge. Maybe also without it, I just haven't tried it without it.)
- Customizable auto-completion (there are some ready for use Löve auto-completion for Sublime, but I don't like it)
- Navigation between files by variables/functions names
- Ability to run tests with single hotkey press
- Ability to run some project-dependent tasks with single hotkey press (like packing sprite atlases for example)
- For Löve: Ability to pack a game into .love or .exe with single hotkey press
- Ability to run tests (if you have some) with single hotkey
What other core features a "true IDE" has? I can think mostly of one thing: breakpoint debugging. Yes, it is not supported. For me it is not a problem, I don't use it much anyway (because I write a lot of multi-threaded things and things that are calculated on GPU). But for some people that is a key feature.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], darkfrei and 2 guests