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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Rio
Prole
Posts: 1
Joined: Mon Dec 11, 2023 1:02 pm

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

Post 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.
User avatar
milon
Party member
Posts: 472
Joined: Thu Jan 18, 2018 9:14 pm

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

Post 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?
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
User avatar
zalander
Citizen
Posts: 72
Joined: Mon Jan 09, 2023 5:58 am
Location: India

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

Post 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 :)
Using LOVE to make everything except games :crazy:

Code: Select all

astring = "pog"
print(astring)
--pog
Post Reply

Who is online

Users browsing this forum: No registered users and 61 guests