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

Synapse Code

vapincat

|
46 installs
| (0) | Free
This extension allows Visual Studio Code to execute scripts through Synapse X.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Synapse Code

This extension allows Visual Studio Code to execute scripts through Synapse X.

Features

Execute and Attach buttons are present on the Status Bar.

status_bar

Right clicking on a .lua or .txt file will give the option to execute the file.

right_clicking

Tip: Pressing Execute will automatically attach if not already.

Requirements

If you haven't already, you must turn on the websocket feature of Synapse X.

In order to enable websocket functionality, you must do the following:

  • Open your Synapse X directory.

    directory

  • Navigate inside your bin folder and scroll down until you find theme-wpf.json.

    theme_wpf

  • Right click on theme-wpf.json and press Open with...

    open_with

  • Press Notepad and click Just once.

    notepad

  • Press CTRL + F, enter WebSocket, and press Enter.

    find

  • Change Enabled from falseto true.

    enable

  • Press CTRL + S to save.

After this you are able to close everything and restart synapse. This extension should work after you follow those steps.

For more information

  • Synapse X
  • Synapse UI Websocket Documentation

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft