User:Nexii Malthus/Visual Studio Code Setup
< User:Nexii Malthus
Jump to navigation
Jump to search
Revision as of 18:10, 27 August 2024 by Nexii Malthus (talk | contribs) (Created page with "{{LSL Header|ml=*}} __NOTOC__ {{Stub}} Outline * Get and install [Visual Studio Code](https://code.visualstudio.com/) * Install the extension [LSL Language Server](https://m...")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
This article has been classified as a stub, you can help the Second Life Wiki by expanding this article and adding more information.
Outline
- Get and install [Visual Studio Code](https://code.visualstudio.com/)
- Install the extension [LSL Language Server](https://marketplace.visualstudio.com/items?itemName=jyaoma.lsl-lsp)
- If you are not using the Firestorm viewer then set the debug setting "ExternalEditor" to the path of your Visual Studio Code application, e.g. something like
C:\Users\(you)\AppData\Local\Programs\Microsoft VS Code\Code.exe
- For Firestorm viewer you can find all the relevant settings in the [Preferences -> Firestorm -> Build 1 tab](secondlife:///app/openfloater/preferences?search=External%20Editor)
- In Firestorm you can also take advantage of the LSL preprocessor and set up an include path, which allows you to load LSL scripts from your harddrive, such as those loaded from a version control system like from GitHub repositories