Difference between revisions of "User:Nexii Malthus/Visual Studio Code Setup"

From Second Life Wiki
Jump to navigation Jump to search
(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...")
 
m (Fix links)
 
Line 4: Line 4:


Outline
Outline
* Get and install [Visual Studio Code](https://code.visualstudio.com/)
* Get and install [https://code.visualstudio.com/ Visual Studio Code]
* Install the extension [LSL Language Server](https://marketplace.visualstudio.com/items?itemName=jyaoma.lsl-lsp)
* Install the extension [https://marketplace.visualstudio.com/items?itemName=jyaoma.lsl-lsp 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 <code>C:\Users\(you)\AppData\Local\Programs\Microsoft VS Code\Code.exe</code>
* 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 <code>C:\Users\(you)\AppData\Local\Programs\Microsoft VS Code\Code.exe</code>
* For Firestorm viewer you can find all the relevant settings in the [Preferences -> Firestorm -> Build 1 tab](secondlife:///app/openfloater/preferences?search=External%20Editor)
* For Firestorm viewer you can find all the relevant settings in the [secondlife:///app/openfloater/preferences?search=External%20Editor 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
* 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

Latest revision as of 18:11, 27 August 2024

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