|
1 | | -# lua-mtavscode (prototype) |
| 1 | +# Lua MTA VScode (preview) |
2 | 2 |
|
3 | 3 | [](https://github.com/afestupinanp/lua-mtavscode-prototype/actions/workflows/build.yml) |
4 | 4 |
|
5 | | -lua-mtavscode is an extension for Visual Studio Code editor to add IntelliSense support, snippets, commands and more for the [Multi Theft Auto San Andreas](https://mtasa.com) modification. |
| 5 | +Lua MTA VScode is an extension for Visual Studio Code editor to add code completion support, snippets, commands and more for the [Multi Theft Auto San Andreas](https://mtasa.com) modification. |
6 | 6 |
|
7 | 7 | ## Features |
8 | 8 |
|
9 | 9 | ### Code completion support |
10 | 10 |
|
11 | | -lua-mtavscode comes with autocomplete, hover and signature providers for various symbols that belong to MTA San Andreas. The extension can be customized to differentitate between client, server and sharedside symbols, allowing you to see the only the ones that are available for the scriptside you are dealing with. This setting can be customized, allowing special keywords to be used to differentiate both scriptsides, by default, it uses the c_ and s_ syntaxes, as well as looking for "server" and "client" words in the file. |
| 11 | +Lua MTA VScode comes with autocomplete, hover and signature providers for various symbols that belong to MTA San Andreas. The extension can be customized to differentitate between client, server and sharedside symbols, allowing you to see the only the ones that are available for the scriptside you are dealing with. This setting can be customized, allowing special keywords to be used to differentiate both scriptsides, by default, it uses the c_ and s_ syntaxes, as well as looking for "server" and "client" words in the file. |
12 | 12 |
|
13 | 13 | Please note, this is not a full LSP, which means, it doesn't have detection for variables, custom functions, and other general features of a LSP. |
14 | 14 |
|
15 | 15 | Every autocomplete and hover item describes what does the method do, its parameters, as well as a link to the [MTA Wiki](https://wiki.multitheftauto.com) for full reference! |
16 | 16 |
|
17 | | -For the meta.xml file, lua-mtavscode also provides snippets for autocompletion, with a little description. |
| 17 | +For the meta.xml file, Lua MTA VScode also provides snippets for autocompletion, with a little description. |
18 | 18 |
|
19 | 19 | ### Useful snippets |
20 | 20 |
|
21 | 21 | This extension provides useful snippets for coding your resource, for example, create a command handler, add a custom event and more! |
22 | 22 |
|
23 | 23 | ### Project scaffolding (TO-DO) |
24 | 24 |
|
25 | | -This extension adds the ability to scaffold a resource from the get go, simply with the press of a click! |
| 25 | +This extension adds the ability to scaffold a resource from the get go, simply call the respective command (`Lua MTAVScode: Scaffold a new resource`) and you will be able to generate a simple project from the get go. If you also have git configured, you can also create a new |
26 | 26 |
|
27 | 27 | ## Settings |
28 | 28 |
|
|
0 commit comments