User:Nexii Malthus/Visual Studio Code Setup

From Second Life Wiki
< User:Nexii Malthus
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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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