Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Modding/Using Visual Studio Code
(section)
From Desynced Wiki
Read
Edit
Edit source
View history
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Lua Language Server Setup ==== Alongside the [https://modding.desyncedgame.com/syntax.html Lua API documentation] the developers of Desynced offer a Lua Language Server definition file for download at the following link: https://modding.desyncedgame.com/desynced-lls-library.lua With the [https://marketplace.visualstudio.com/items?itemName=sumneko.lua Lua] extension installed, the easiest way to make use of it is by downloading the above file (desynced-lls-library.lua) into the root of the Desynced mods directory (which is the workspace folder that is opened in VS Code). The API names and documentations will then show up while writing code or when hovering the mouse over function names.
Summary:
Please note that all contributions to Desynced Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Desynced Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)