VSC2RBX is an extension that executes scripts from VSCode in Roblox Studio.
How does it work?
Under the hood the extension creates a webserver to allow communication from studio to vscode via plugin. This plugin will make requests to the webserver in an attempt to see if there are any new queued scripts to execute. Then if the webserver sends back a script the plugin use vLuau to execute the code in studio
Installation
Install the extension from the VSCode Marketplace.
To install the latest version of the roblox plugin use the VSC2RBX Plugin Install command
If you don't have plugin auto reloading you may need to close studio in order for the plugin to work
Usage
If it's your first time using the extension you're gonna need to activate the extension you can activate the extension by pressing Ctrl + Shift + P and typing VSC2RBX Activate.
Once you've activated the extension you should see a new button on the bottom left of your screen titled Execute Script.
Press the Execute Script button while a script is open to execute