MTA:SA LuaMTA:SA Lua is a VS Code extension to add syntax highlighting, code completion and other useful functions for MTA San Andreas LUA to VS Code.
Table of contentsPreview ImagesCode CompletionCode Completion shows what functions are available Syntax HighlightingServer only FunctionServer only functions will be highlighted in orange Client only FunctionClient only functions will be highlighted in red Shared FunctionShared functions will be highlighted in blue Generate files Manage resourcesEasy way to generate meta.xml and script files Reference Link ProviderEasy way to access documentation on the MTA Wiki VSDarkServerClientMonokai (Unsupported)Configuration Optionsmtalua-http.enabledEnable the WebAdmin Http Functionality for restarting/starting/stopping resources mtalua-http.enable_restart_on_saveEnable automagically restarting resources when saving mtalua-http.enable_search_hintingEnable search hinting when restarting resources (Requires http whitelisting this ip) mtalua-http.uriURL to the MTA Http Server mtalua-http.usernameAuthentication username for the MTA Http Server required for restarting/starting/stopping resources mtalua-http.passwordAuthentication password for the MTA Http Server restarting/starting/stopping resources mtalua-generate.authorAllows you to set a custom author when generating new resources (meta.xml -> info -> author) mtalua-generate.watermarkingEnable or disable watermarking of meta files (will place a comment with a notice that the meta was generated by this extension) mtalua-generate.meta_default_versionDefault version when generating new resources (meta.xml -> info -> version) mtalua-generate.meta_default_typeDefault type of new resources (script, gamemode, map, misc) mtalua-generate.shared_prefixCustom suffix/prefix for shared files (Default is g_ prefix) This will treat files named g_test or test_g as shared files mtalua-generate.shared_extensionCustom extension for shared files (Default is lua) This will treat files named test.glua as shared files mtalua-generate.shared_prefix_typeIf the shared is a prefix (true) or a suffix (false) (Prefix g_test Suffix test_g) mtalua-generate.client_prefixCustom suffix/prefix for client files (Default is c_ prefix) This will treat files named c_test or test_c as client files mtalua-generate.client_extensionCustom extension for client files (Default is lua) This will treat files named test.clua as client files mtalua-generate.client_prefix_typeIf the client is a prefix (true) or a suffix (false) (Prefix c_test Suffix test_c) mtalua-generate.server_prefixCustom suffix/prefix for server files (Default is s_ prefix) This will treat files named s_test or test_s as server files mtalua-generate.server_extensionCustom extension for server files (Default is lua) This will treat files named test.slua as server files mtalua-generate.server_prefix_typeIf the server is a prefix (true) or a suffix (false) (Prefix s_test Suffix test_s) mtalua-generate.activate_client_file_generationWhen activated generates a client file when using generate new resource mtalua-generate.default_client_contentAllows you to set custom content that should be placed in the newly generated client file mtalua-generate.activate_server_file_generationWhen activated generates a server file when using generate new resource mtalua-generate.default_server_contentAllows you to set custom content that should be placed in the newly generated server file mtalua-generate.activate_shared_file_generationWhen activated generates a shared file when using generate new resource mtalua-generate.default_shared_contentAllows you to set custom content that should be placed in the newly generated shared file mtalua-generate.modify_metaWhen adding new client/server-side files should the meta.xml automagically be modified? mtalua-generate.filesrc_extensionsExtensions which are declated as file mtalua-sense.activate_signature_help_parenthesesAllows you to disable the signature help when using ( mtalua-sense.activate_signature_helpAllows you to disable the signature help completely mtalua-sense.show_relevant_onlyOnly show relevant functions (A serverside script is open, only serverside & shared functions will show) mtalua-sense.show_reference_links (v2.3.5 and up)Make functions clickable which redirect directly to the MTA Wiki Changelogv2.3.6 (19. Jan 2019)
v2.3.5 (13. Jan 2019)
v2.3.2 (13. Jan 2019)
v2.3.1 (11. Jan 2019)
v2.3.0 (9. Jan 2019)
v2.2.5 (8. Jan 2019)
v2.2.0 (7. Jan 2019)
References
|