Plugin Usage
First Time Setup
- Start the RbxSync server:
rbxsync serve - Open Roblox Studio
- Click the RbxSync button in the toolbar
- Enter your project path (e.g.,
/Users/you/MyGame) - Click Connect
Extracting Your Game
Extract converts your entire game to files:
- Open your game in Studio
- Connect to RbxSync
- Click Extract
- Wait for extraction to complete
- Your files appear in the
src/folder
Syncing Changes
When you edit files in VS Code, changes sync automatically.
To manually sync:
- Click Sync in the plugin
- Or run
rbxsync syncin terminal
Auto-Extract
When connected, changes you make in Studio automatically extract to files:
- Creating a new script
- Editing script source
- Deleting instances
- Modifying properties
Changes are debounced (300ms) to batch rapid edits.
Tracked Services
Auto-extract monitors these services:
- Workspace
- ReplicatedStorage
- ReplicatedFirst
- ServerScriptService
- ServerStorage
- StarterGui
- StarterPack
- StarterPlayer
- Lighting
- SoundService
Console Capture
When connected, all print(), warn(), and error() output streams to VS Code.
This enables:
- Real-time debugging
- AI agents seeing test output
- Remote error monitoring
Button States
Sync Button:
- Idle: Gray background
- Syncing: Cyan with pulse
- Success: Brief green flash
Extract Button:
- Active: Cyan when connected
- Disabled: Dimmed when disconnected
