-
Notifications
You must be signed in to change notification settings - Fork 5
Dev env
To create TodoChecklister I'm using VSCode with the following extensions:
How to set up EmmyLua on VS Code
The steps are for Windows 10 operating systems, but if you know what you're doing you can get it to work on other SOs as well.
EmmyLua is a language server(which uses lsp: language server protocol). It is a running server on your computer that analyzes your file and gives your IDE important information.
-
First, you have to install the JAVA SE SDK. While installing, make sure to write down your installation folder somewhere(in my case,
C:\Program Files\Java\jdk-13\
)
-
Now, you have to set up an environment variable with the name
JAVA_HOME
pointing to the path you have just installed java to.If you have a different operating system, this website might help you
Windows 10:
- Press the ⊞ Win button and start typing "env" and select the "Edit the system environment variables" item.
- It should open a window that look like this
- Click on
Environment Variables...
button, right in the bottom. A new window should appear. - This window have two
New...
buttons. We will have to click on both of them, one at a time. - Click on any of the
New...
buttons and add the path you've installed your SDK to.
- Now, click on the OTHER
New...
button and do the same thing.
-
It is also recommended adding the SDK's
/bin
(C:\Program Files\Java\jdk-13\ bin ) folder to your path.If you have a different operating system, this website might help you
- On that same window, look for a variable named
Path
(in the top and bottom sides):
- With the
Path
line selected, click onEdit...
button and addYOUR_SDK_FOLDER
\bin in a new line:
- Repeat the same process clicking on the other
Edit...
button for the otherPath
.
- On that same window, look for a variable named
-
Confirm by click
OK
in every window. -
Install EmmyLua extension
-
Restart VSCode
-
It should now be working!! 🎉 🎉 🎉