User:Nexii Malthus/Visual Studio Code Setup

From Second Life Wiki
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
  • Install the extension LSL Language Server
  • 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
  • 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