mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Add spacing to vscode docs
This commit is contained in:
parent
b77a2b62c9
commit
4347d12dfc
1 changed files with 14 additions and 0 deletions
|
|
@ -2,29 +2,43 @@
|
||||||
|
|
||||||
Setting up Visual Studio Code will allow you to have all of the modern benefits of IDEs like autocomplete.
|
Setting up Visual Studio Code will allow you to have all of the modern benefits of IDEs like autocomplete.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
1. Install the `Lua` extension by `sumneko` in VS Code:
|
1. Install the `Lua` extension by `sumneko` in VS Code:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
2. Goto settings (`ctrl+,`) and type `diagnostics disable` in the settings search bar:
|
2. Goto settings (`ctrl+,`) and type `diagnostics disable` in the settings search bar:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
3. Add a new item called `lowercase-global` and click `ok`
|
3. Add a new item called `lowercase-global` and click `ok`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
4. Type `workspace library` in the settings search bar:
|
4. Type `workspace library` in the settings search bar:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
5. Add a new item containing the location of `<your repro>/autogen/lua_definitions`
|
5. Add a new item containing the location of `<your repro>/autogen/lua_definitions`
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
6. Open a lua mod file be amazed at autocompletion and all of that good stuff
|
6. Open a lua mod file be amazed at autocompletion and all of that good stuff
|
||||||

|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
Note: For your custom functions you will need to provide type definitions to get autocomplete.
|
Note: For your custom functions you will need to provide type definitions to get autocomplete.
|
||||||
|
|
||||||
For instance, this will not autocomplete for the mario struct:
|
For instance, this will not autocomplete for the mario struct:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue