Page 1 of 1

Please help [lua, love, preferences in Visual Studio Code]. I use linux ubuntu os

Posted: Tue Dec 26, 2023 5:21 am
by Rio
When using Lua and Love2D in Visual Studio Code on Linux Ubuntu,
please help the necessary configuration settings for
settings.json, launch.json, tasks.json,
taking into account the locations /usr/bin/love and /usr/bin/lua.

Re: Please help [lua, love, preferences in Visual Studio Code]. I use linux ubuntu os

Posted: Thu Dec 28, 2023 9:36 pm
by milon
I'm sorry I can't help you - I use Geany myself on Linux Mint. If you post an error message I'll try to help, but I doubt I'll have anything useful for you.

If no one can help you here, maybe you can ask on the Ubuntu forums?

Re: Please help [lua, love, preferences in Visual Studio Code]. I use linux ubuntu os

Posted: Fri Dec 29, 2023 3:07 am
by zalander
Hey, I see this is your first post, Rio sooo Welcome to Love2d forms !
I cant help you with the ubuntu part but I might be able to help with the VS code part :)
I use Love2d snippets and Love2d launcher and love2d support
https://marketplace.visualstudio.com/it ... d-launcher
https://marketplace.visualstudio.com/it ... 2dsnippets
https://marketplace.visualstudio.com/it ... yte-love2d
Btw in the love2d launcher settings you will need to change the path to the love2d executable.
And use ctrl + B to launch love2d (In VS code).
Optional: You should check that you have the latest love2d version.
Do:

Code: Select all

love --version
It should return 11.5 Mysterious Mysteries
Welp that should be it feel free to ask for more help :)