Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VS VisualNew to Visual Studio Code? Get it now.
VS Visual

VS Visual

gosulja

|
7 installs
| (0) | Free
Execute code on Visual from VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vsvisual

This extension allows you to run your Lua scripts from VSCode using WebSockets.

usage

Run this script to connect to the server.

local a=WebSocket.connect("ws://localhost:8080")local function b(c)local d,e=loadstring(c)if d then local f,g=pcall(d)if f then return true,g else return false,g end else return false,e end end;a.OnMessage:Connect(function(h)b(h)end)a:Send("ready")
  • Download client.lua and either place it in your auto execute folder, or directly execute it each time you want to use it.
  • Open a .lua file in VSCode, and on the status bar press "Execute", and your script should run.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft