{"id":17706882,"url":"https://github.com/Subtixx/vscode-mtalua","last_synced_at":"2025-03-13T11:31:28.687Z","repository":{"id":42223387,"uuid":"121019549","full_name":"Subtixx/vscode-mtalua","owner":"Subtixx","description":"Visual Studio Code MTA:SA Lua Syntax Highlighter and Companion","archived":false,"fork":false,"pushed_at":"2022-12-08T09:58:58.000Z","size":1171,"stargazers_count":22,"open_issues_count":6,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-26T06:54:03.435Z","etag":null,"topics":["mta-sa","mtasa","multitheftauto","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=subtixx.mtasa-lua","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Subtixx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-10T13:52:47.000Z","updated_at":"2024-07-07T09:35:41.000Z","dependencies_parsed_at":"2023-01-25T06:30:12.872Z","dependency_job_id":null,"html_url":"https://github.com/Subtixx/vscode-mtalua","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subtixx%2Fvscode-mtalua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subtixx%2Fvscode-mtalua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subtixx%2Fvscode-mtalua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subtixx%2Fvscode-mtalua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Subtixx","download_url":"https://codeload.github.com/Subtixx/vscode-mtalua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243396306,"owners_count":20284324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mta-sa","mtasa","multitheftauto","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-10-25T00:03:13.007Z","updated_at":"2025-03-13T11:31:28.231Z","avatar_url":"https://github.com/Subtixx.png","language":"TypeScript","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"vscode-mta-sa-lua-logo\" src=\"https://github.com/Subtixx/vscode-mtalua/raw/master/images/logo.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/maintenance/yes/2020.svg?style=flat-square\"\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  MTA:SA Lua\n\u003c/h3\u003e\n\n\u003ch2 align=\"center\" style=\"color:#FF0000;\"\u003e\n    ⚠️ Due to an issue with Microsoft / Visual Studio Marketplace I'm unable to upload new versions to it. See \u003ca href=\"https://github.com/Subtixx/vscode-mtalua/issues/19#issuecomment-724635624\"\u003ethis comment\u003c/a\u003e ⚠️\n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n    MTA: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.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Subtixx/vscode-mtalua/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/subtixx/vscode-mtalua\" /\u003e\u003c/a\u003e\n\u003cp/\u003e\n\n\n# Table of contents\n\n- [Table of contents](#table-of-contents)\n- [Preview Images](#preview-images)\n    - [Code Completion](#code-completion)\n    - [Syntax Highlighting](#syntax-highlighting)\n        - [Server only Function](#server-only-function)\n        - [Client only Function](#client-only-function)\n        - [Shared Function](#shared-function)\n    - [Generate Files and Manage resources](#generate-files-manage-resources)\n    - [Reference Link Provider](#reference-link-provider)\n    - [VSDark](#vsdark)\n        - [Server](#server)\n        - [Client](#client)\n    - [Monokai (Unsupported)](#monokai-unsupported)\n- [Configuration Options](#configuration-options)\n- [Changelog](#changelog)\n- [References](#references)\n\n# Preview Images\n\n## Code Completion\n\nCode Completion shows what functions are available\n\n![CodeCompletion](images/CodeCompletion.gif)\n\n## Syntax Highlighting\n\n### Server only Function\n\nServer only functions will be highlighted in orange\n\n![Server Function](images/Preview_ServerFunc.png)\n\n### Client only Function\n\nClient only functions will be highlighted in red\n\n![Server Function](images/Preview_ClientFunc.png)\n\n### Shared Function\n\nShared functions will be highlighted in blue\n\n![Shared Function](images/Preview_SharedFunc.png)\n\n## Generate files Manage resources\n\nEasy way to generate meta.xml and script files\n\n![Generate Files](images/Preview_GenerateFiles.png)\n\n![Generated Meta](images/Preview_GeneratedMeta.png)\n\n## Reference Link Provider\n\nEasy way to access documentation on the MTA Wiki\n\n![Document Link](images/Preview_DocumentLink.png)\n\n## VSDark\n\n### Server\n\n![Server Syntax Highlighting](images/PreviewServer_SyntaxHighlight.png)\n\n### Client\n\n![Client Syntax Highlighting](images/PreviewClient_SyntaxHighlight.png)\n\n## Monokai (Unsupported)\n\n![Monokai](images/Monokai.png)\n\n# Configuration Options\n\n## mtalua-http.enabled\n\nEnable the WebAdmin Http Functionality for restarting/starting/stopping resources\n\n## mtalua-http.enable_restart_on_save\n\nEnable automagically restarting resources when saving\n\n## mtalua-http.enable_search_hinting\n\nEnable search hinting when restarting resources (Requires http whitelisting this ip)\n\n## mtalua-http.uri\n\nURL to the MTA Http Server\n\n## mtalua-http.username\n\nAuthentication username for the MTA Http Server required for restarting/starting/stopping resources\n\n## mtalua-http.password\n\nAuthentication password for the MTA Http Server restarting/starting/stopping resources\n\n## mtalua-generate.author\n\nAllows you to set a custom author when generating new resources (meta.xml -\u003e info -\u003e author)\n\n## mtalua-generate.watermarking\n\nEnable or disable watermarking of meta files (will place a comment with a notice that the meta was generated by this extension)\n\n## mtalua-generate.meta_default_version\n\nDefault version when generating new resources (meta.xml -\u003e info -\u003e version)\n\n## mtalua-generate.meta_default_type\n\nDefault type of new resources (script, gamemode, map, misc)\n\n## mtalua-generate.shared_prefix\n\nCustom suffix/prefix for shared files (Default is g_ prefix)\nThis will treat files named g_test or test_g as shared files\n\n## mtalua-generate.shared_extension\n\nCustom extension for shared files (Default is lua)\nThis will treat files named test.glua as shared files\n\n## mtalua-generate.shared_prefix_type\n\nIf the shared is a prefix (true) or a suffix (false) (Prefix g_test Suffix test_g)\n\n## mtalua-generate.client_prefix\n\nCustom suffix/prefix for client files (Default is c_ prefix)\nThis will treat files named c_test or test_c as client files\n\n## mtalua-generate.client_extension\n\nCustom extension for client files (Default is lua)\nThis will treat files named test.clua as client files\n\n## mtalua-generate.client_prefix_type\n\nIf the client is a prefix (true) or a suffix (false) (Prefix c_test Suffix test_c)\n\n## mtalua-generate.server_prefix\n\nCustom suffix/prefix for server files (Default is s_ prefix)\nThis will treat files named s_test or test_s as server files\n\n## mtalua-generate.server_extension\nCustom extension for server files (Default is lua)\nThis will treat files named test.slua as server files\n\n## mtalua-generate.server_prefix_type\nIf the server is a prefix (true) or a suffix (false) (Prefix s_test Suffix test_s)\n\n## mtalua-generate.activate_client_file_generation\n\nWhen activated generates a client file when using generate new resource\n\n## mtalua-generate.default_client_content\n\nAllows you to set custom content that should be placed in the newly generated client file\n\n## mtalua-generate.activate_server_file_generation\n\nWhen activated generates a server file when using generate new resource\n\n## mtalua-generate.default_server_content\n\nAllows you to set custom content that should be placed in the newly generated server file\n\n## mtalua-generate.activate_shared_file_generation\n\nWhen activated generates a shared file when using generate new resource\n\n## mtalua-generate.default_shared_content\n\nAllows you to set custom content that should be placed in the newly generated shared file\n\n## mtalua-generate.modify_meta\n\nWhen adding new client/server-side files should the meta.xml automagically be modified?\n\n## mtalua-generate.filesrc_extensions\n\nExtensions which are declated as file\n\n## mtalua-sense.activate_signature_help_parentheses\n\nAllows you to disable the signature help when using (\n\n## mtalua-sense.activate_signature_help\n\nAllows you to disable the signature help completely\n\n## mtalua-sense.show_relevant_only\n\nOnly show relevant functions (A serverside script is open, only serverside \u0026 shared functions will show)\n\n## mtalua-sense.show_reference_links (v2.3.5 and up)\n\nMake functions clickable which redirect directly to the MTA Wiki\n\n# Changelog\n\n## (2.4.0 (10. Nov 2020)\n\n- Updated packages\n- Implemented new MTA Functions\n- Removed old MTA Functions\n\n## v2.3.6 (19. Jan 2019)\n\n- Bugfix for dependency 'request'\n\n## v2.3.5 (13. Jan 2019)\n\n- Added ability to make document full of links to the MTA Wiki\n- More internal seperation of different types of functions (peds, vehicles, engine)\n- Bugfixes for functions\n\n## v2.3.2 (13. Jan 2019)\n\n- Added ability to only show relevant functions (Serverside only functions will only display in server lua files)\n- Removed duplicated functions\n- Scriptside will now show in completion items\n\n## v2.3.1 (11. Jan 2019)\n\n- Added 1.5.6 functions and deprecations\n- Search hinting for new resource manager\n- Added verification if resource exists\n\n## v2.3.0 (9. Jan 2019)\n\n- Added resource manager to start/stop/restart resources\n- Fixed existing files in generate classes will break extension\n- Fixed some missing information in some functions\n\n## v2.2.5 (8. Jan 2019)\n\n- Added more settings\n- Added the ability to modify existing meta files\n- Added the ability to customize file extensions, file prefix/suffixes\n- Added the ability to turn off watermarking\n- Fixed generating client files\n- Fixed extension upload\n\n## v2.2.0 (7. Jan 2019)\n\n- Added the ability to create meta/client/server files on the fly\n\n# References\n- Thanks to 50p for the sublime text syntax highlighter. Which inspired me to create the VSCode extension.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSubtixx%2Fvscode-mtalua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSubtixx%2Fvscode-mtalua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSubtixx%2Fvscode-mtalua/lists"}