Editing Lua
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
== Setting up in VS Code == | == Setting up in VS Code == | ||
Install Lua extension in marketplace. Place [https://github.com/rafradek/sigsegv-mvm/blob/master/ | Install Lua extension in marketplace. Place [https://github.com/rafradek/sigsegv-mvm/blob/master/src/lua/globals.lua globals.lua] and [https://github.com/rafradek/sigsegv-mvm/blob/master/src/lua/library.lua library.lua] in the directory where you want to create lua scripts, and load them in VS Code. This will enable autocompletion for your lua scripts | ||
== Profiling == | == Profiling == | ||
It is possible to measure script performance with sig_lua_prof_start and sig_lua_prof_end client commands | It is possible to measure script performance with sig_lua_prof_start and sig_lua_prof_end client commands |