Hosts the local HTTP receiver for the SourceSync Roblox Studio plugin and writes
sourcemap.json into your workspace so luau-lsp
gets a complete DataModel sourcemap on non-Rojo (Studio Script Sync) projects.
The receiver listens on localhost:<sourcesync.port> (default 3669) and exposes:
GET /root: the workspace folder the plugin uses as its project root.POST /sourcemap: the plugin's sourcemap, written atomically to the workspace root.POST /clear: reset to an empty DataModel.GET /ping: health check.
Commands
- SourceSync: Start / Stop / Toggle Receiver
- SourceSync: Configure luau-lsp for SourceSync: sets
sourcemap.autogenerate=false,sourcemap.enabled=true,sourcemap.useVSCodeWatcher=true,sourcemap.includeNonScripts=true. - Click the SourceSync status-bar item for a quick menu.
Settings
| Setting | Default | Description |
|---|---|---|
sourcesync.port |
3669 |
Receiver port (match the plugin's port). |
sourcesync.sourcemapFile |
sourcemap.json |
Output file (relative to the workspace or absolute). |
sourcesync.autoStart |
true |
Start the receiver when a workspace opens. |
sourcesync.prettyPrint |
true |
Pretty-print the written JSON. |
Develop
npm install
npm run build # esbuild bundle -> dist/extension.js
npm run watch # rebuild on change
Press F5 to launch an Extension Development Host.