How to install Lua for visual studio code
Ғылым және технология
in this video I show you how to install Lua for visual studio code and run Lua in visual studio code
Lua:luabinaries.sourceforge.net/do...
VsCode:code.visualstudio.com/
Support Discord: / discord
Пікірлер: 107
if it doesnt work use this site replit.com you can code lua there and any other programming language to great site and its free no ads !
@joemkdd
4 ай бұрын
...what's the point of giving a tutorial for VSCode if you're just going to tell us to use something else?
@PythonlawsWelton
Ай бұрын
@@joemkdd if you read what he said "IF" this tutorial doesnt work so he has provided a alternative
Dude, thank you so much! I tried everything and your video was the only one that helped me.
dang thanks man! was having troubles but someone had the same problem as me with the terminal in vscode and the helpful commenter said to put the folder into a C: drive and once i did that and re did the pathing step that fixed my issues thank you for doing this video! helped me a lot(: edit: ahh i see what i did wrong i didnt follow along around 3:30 mmm makes sense now.
Yo man, thanks for the guide. You were a great help
That was some really precious help haha thank you
I've been trying to set up Lua for like a day and a half, maybe even two days, there's so little info about it online. Thank you!😭
@arsiarskila
Жыл бұрын
nice name xd
theres a problem with the terminal and the explorer, my lua file supposed to be main.lua but it's main.lua.txt I tried changing the text document(txt) to lua but it doesn't work. edit: i fixed it and changed it to lua. But the terminal says " The term 'lua' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. "
Ty for your info. Works!
@aqua-tutorials
Жыл бұрын
No problem
thank you very much bro! u r the best
@aqua-tutorials
2 жыл бұрын
Np
thank you my man really thank you
@aqua-tutorials
Жыл бұрын
No problem
3:23 'Open folder, if you don't have one ...' What is this? Following from start I downloaded Visual Studio Code, the Lua zip with executables then suddenly we're picking a LUA folder? Is that just a project you had going already or additional downloads we should be getting? Thank you!
thanks it worked bro finally
Thank you so much! it worked!!! Does this work with any other languages?
You're cool indeed :D Thanks!
hey man! thanks for the video. but the Lua explorer in VsCode keeps showing me the dll, and the 3 exe's. Any help?
cool background
how did you create a folder?
whenever I try to print “I am cool” it doesn’t print in the terminal.
hello , thank you for the tutorial but i thinki have a problem with running the treminal i mean when i try to run , lua main.lua its doesnt showing "I m Cool"
@2gee033
8 ай бұрын
same
In instalation of VS in aditional task what extra options i need to check, i have this options: Add acction with code on arichive and directory, or i dont need any? For the correct funcionality of Lua.
@aqua-tutorials
2 жыл бұрын
You shouldn’t need it to run Lua though I do recommend install the Lua extension to obtain it just click on the search option on the left hand side and search Lua then click install on the most popular option
@aqua-tutorials
2 жыл бұрын
Anything else feel free to reach out
@j3ric163
2 жыл бұрын
@@aqua-tutorials Thx
C:\Users\joshr\OneDrive\Desktop\lua\lua.exe: cannot open main.lua: No such file or directory
@Notg00dmid
6 ай бұрын
I have the same problem, @Aqua may you help us?
@eridadues
5 ай бұрын
@@Notg00dmidmaybe this not work, in Progamming language like C++ its cannot recognize \ because C++ detect its as a command like , its should using / or \\ for compiler can read, i don't know if its work on lua though
Bro @aqua-tutorials I have a problem here. C:\Users\Besitzer\OneDrive\Рабочий стол\lua\lua.exe: cannot open Lua: No such file or directory
@Notg00dmid
6 ай бұрын
may you please help me?
my drunk ass replaying the video 3 times XD
I can´t find the environment variables.
clear instructions very helpful dude
it works even without doing the tasks.jason thingy in the last
@aqua-tutorials
Жыл бұрын
Thanks for the info
where did that lua folder from the final part come from
@floppedshlok
5 ай бұрын
YEA
4:38 i put a print statement and did the exact terminal lines yet it doesn't execute the print, any help?
@aqua-tutorials
Жыл бұрын
was your main.lua in a folder and did you cd into it if you didnt put main.lua u dont need to cd into it
@a_5051
Жыл бұрын
yeah, it was in two folders the same format as yours
@brytonbro9353
Жыл бұрын
Did you find a solution
@a_5051
Жыл бұрын
@@brytonbro9353 not yet unfortunately
@vevorisingboy829
Жыл бұрын
@@a_5051 did u find any solution ?
lua : The term 'lua' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + lua + ~~~ + CategoryInfo : ObjectNotFound: (lua:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException Yes i renamed it and did everything you said in the video and comments, does not work, all in c drive
@NickTeuser-ey9xg
9 ай бұрын
same here
@hallownest_feats
Ай бұрын
I just solved the problem! You just need to use lua+"version number" like "lua54" in my case to use it it works now for me
Doesn't work. I dont understand where did you get this "lua-code folder".
@aqua-tutorials
2 жыл бұрын
I just made a folder to store my code there you can make one and name it anything that is just what I chose
lua is in C: i renamed it to lua it shows this when i try to do my lua file (i have it named as lua.lua) lua : The term 'lua' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + lua lua.lua + ~~~ + CategoryInfo : ObjectNotFound: (lua:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException please help
@cookstergaming7814
Жыл бұрын
Same!
@lotuspusher
2 ай бұрын
did you solve it
@sliverslv
2 ай бұрын
@@lotuspusher i dont use lua anymore but try looking into the enviornment variables
@lotuspusher
2 ай бұрын
@@sliverslv i already had them set, i just had to restart my PC which is very dumb also, what do you use and what made you switch
@sliverslv
2 ай бұрын
@@lotuspusher switched to python cause it makes more sense, has easier library support, and a much bigger community for help im also trying rust currently
bro how can i get tghe file main.lua at 3:30 i cant get it
@pieczarekpl
5 ай бұрын
i just dont have this file
I don't have 4 files just two
lua : The term 'lua' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + lua teste1.lua + ~~~ + CategoryInfo : ObjectNotFound: (lua:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@aqua-tutorials
Жыл бұрын
Did you re name Lua54.exe to Lua.exe
@RicHardAndHeavy
Жыл бұрын
@@aqua-tutorials OMG THANK YOU
@RicHardAndHeavy
Жыл бұрын
@@aqua-tutorials Ok i've turned off and on my pc and the command lua53 main.lua do nothing ? I've write the exact same thing as you : print("I am cool!") What is wrong please D: D:
@aqua-tutorials
Жыл бұрын
@@RicHardAndHeavy its 54 if you didnt rename the EXE if you did it just Lua main.lua you need to run in the command line
@RicHardAndHeavy
Жыл бұрын
@@aqua-tutorials i have the version 5.3 ... I have found another video than explain how to do a "task".json, lets be clear i've don't understand a single thing but this little .json file seems to work well, thanks for your time 🙏
Did not work lua : The term 'lua' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + lua main.lua + ~~~ + CategoryInfo : ObjectNotFound: (lua:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@aqua-tutorials
Жыл бұрын
Did you re name Lua54 to Lua ?
@nowak93
Жыл бұрын
@@aqua-tutorials yes, what worked for me was to place the folder in C:\
Yo this sucks, i tried to do this on windows 11 and its forced to system 32. Im so beyond frustrated rn. If there is anyone who can help me on this, it would greatly be appreciated. Im really trying to learn lua, but it would seem windows 11 has taken out almost all content from windows 10 to improve performance which is great n all but one of those has been the lua language files that windows 10 comes with. So you have to install lua manually along with all the other languages with visual studio code. There has to be some workaround this...but given that windows11 is still in beta, im sure there isnt...
@aqua-tutorials
Жыл бұрын
go to this site replit.com you can use it to run Lua code in any browser or any coding language, you are limited though to 1 ram and 1 CPU core for the free version but it is not that bad I use it when on the road
@findrandomshithere
Жыл бұрын
@@aqua-tutorials Bro be careful you might get hit by a truck
@aqua-tutorials
Жыл бұрын
@@findrandomshithere what?
@findrandomshithere
Жыл бұрын
@@aqua-tutorials you use it on the road
@tricksen
8 ай бұрын
LOL@@findrandomshithere
Guide not working, bruh
May you do a tutorial on Mac or just give me a link to one? Thanks!
@aqua-tutorials
2 жыл бұрын
I can’t find anything on yt I would try googling for it
@N1tm0
Жыл бұрын
@@aqua-tutorials HELLO CAN u help me so the issue is with me when i put in cd ep1 it says error and all of that crap how do i fix this pls help and if u help me ill sub
On msys2, install lua with `pacman -S mingw-w64-i686-lua`
It still doesn't work
@aqua-tutorials
2 жыл бұрын
what doesnt?
@tigerv2532
2 жыл бұрын
@@aqua-tutorials lua idk why though i did everything you said in the video
no wonder it doesnt work for 50% of people. you already have yours setup to your liking so we cant follow you correctly. maybe if you're showing us how to download from scratch you do it yourself too.
i need help
@aqua-tutorials
Жыл бұрын
What part ?
@1rex_aep
Жыл бұрын
@@aqua-tutorials do we have to write cd lua main.lua ? everytime to execute
@1rex_aep
Жыл бұрын
@@aqua-tutorials and my print dosent show on terminal
@1rex_aep
Жыл бұрын
no need
@aqua-tutorials
Жыл бұрын
@@1rex_aep ok
BROOO TF I DONT GET IT
@n0vizq
Ай бұрын
i mean pardon, but youre braindead ig
4:50
that was really confusing
@aqua-tutorials
2 жыл бұрын
What do you need help with ?
Don't use 5.4.2 it sucks!
all this to practise a bit of code, i give up
@aqua-tutorials
Жыл бұрын
not that hard if you give up you can use; replit.com