You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
Not really an issue, but maybe you should point this out to new Idea users.
To be able to run love applications from the IDE you can select "Edit Configurations..." from the "Run"-menu. Click the '+' sign and select "Lua Script"
Edit script name to "main.lua", and uncheck "Use Module SDK". In the text field next to the checkbox enter the path to your love executable (/usr/bin/love on linux, don't know where it's located on lesser OS;es). In the "Interpreter Options" field just enter a single '.'
Now you can run Löve scripts from inside the IDE, and it just makes life so much easier :)
The text was updated successfully, but these errors were encountered:
For anyone wondering how to do it with Intellij in 2022 (on Windows), it's a bit different but it works too.
Make sure you have EmmyLua installed.
After clicking the "+" button, choose Lua Application.
For "Program" you choose your love.exe (you can find it usually in "C:/Program Files/LOVE").
Working directory is your src folder.
For "Entry File" you write "main.lua" (without the quotation marks).
And for "Parameters", as @rickmeister said, you need to put a single dot "." (without the quotation marks).
You should now be able to run love2d programs from your Intellij 2022.
Not really an issue, but maybe you should point this out to new Idea users.
To be able to run love applications from the IDE you can select "Edit Configurations..." from the "Run"-menu. Click the '+' sign and select "Lua Script"
Edit script name to "main.lua", and uncheck "Use Module SDK". In the text field next to the checkbox enter the path to your love executable (/usr/bin/love on linux, don't know where it's located on lesser OS;es). In the "Interpreter Options" field just enter a single '.'
Now you can run Löve scripts from inside the IDE, and it just makes life so much easier :)
The text was updated successfully, but these errors were encountered: