TDX IDE for VS Code — Live Autocomplete, Click-to-Run, and Interactive REPL

Hi everyone,

Like many of you, I spend a lot of time writing Python scripts, extensions, and GLSL shaders for TouchDesigner projects. While TouchDesigner’s node workflow is fantastic, writing complex code inside small Text DATs or switching back and forth between an external editor just to test a line can interrupt your creative flow.

To solve this, I built TDX IDE — a Visual Studio Code extension that connects directly to your live TouchDesigner session through a lightweight WebSocket bridge.

Here is what it does and why it makes coding in TouchDesigner much faster:

1. Live Node and Parameter Autocompletion

  • When you type op(', VS Code inspects your running project and auto-completes your actual operator paths with family labels (TOP, CHOP, DAT, SOP, COMP, MAT).
  • When you type .par. after any operator, it suggests that node’s real parameters, including custom parameters you created and their current values.
  • Hovering over any op('/...') in your code shows live cooking status, CPU/GPU cook time, parameter count, and error/warning flags.

2. Run Code with One Click or Keystroke

  • You can highlight any code block or place your cursor on a line and press Cmd + Enter (Mac) or Ctrl + Enter (Windows) to run it immediately in TouchDesigner.
  • If you prefer clicking, there is a Play button in the top-right corner of your code tab and a Run in TD button on the bottom status bar.
  • Outputs, execution times, and errors appear instantly without switching windows.

3. Integrated Textport and Interactive Python Console

  • All print() statements and Python error tracebacks stream directly into a dedicated TouchDesigner Textport output tab inside VS Code.
  • A built-in interactive REPL terminal (td >>> prompt) lets you experiment with live TouchDesigner commands with full command history navigation (Up/Down arrow keys).

4. Operator Tree Sidebar and Two-Way Sync

  • A sidebar panel in VS Code displays your project’s operator hierarchy.
  • Click any Text DAT in the tree to open and edit it in VS Code. Every time you save the file (Cmd + S / Ctrl + S), the new code is automatically synced back into the TouchDesigner DAT.
  • Pressing F12 (or Cmd + Click) on any operator path jumps directly to that script or extension method.

5. Built-in Code Templates (Snippets)

Instead of looking up callback signatures in the wiki, typing short prefixes expands complete, correctly structured templates:

  • td-exec (Execute DAT callbacks)
  • td-chopexec (CHOP Execute DAT callbacks)
  • td-parexec (Parameter Execute DAT callbacks)
  • td-ext (Complete TouchDesigner Extension Class structure)
  • td-cook-dat, td-cook-chop, td-cook-sop (Script OP generators)
  • td-glsl-top (GLSL pixel shader template with TDOutputSwizzle)

6. Zero-Path, 30-Second Setup

You don’t have to configure any file paths or environment variables:

  1. Install the extension in VS Code.
  2. In VS Code, click TD: Disconnected in the bottom status bar and select Copy Bridge Installer to Clipboard.
  3. In TouchDesigner, open the Textport (Alt + T on Windows, Cmd + T on Mac), paste (Ctrl + V), and press Enter. TouchDesigner creates the bridge component and activates the local port.
  4. VS Code connects automatically, turning green with your project name.

Where to download

The project is available for download at GitHub - yoda7191/Touchdesigner_IDE: A VS Code extension that allows for TouchDesigner project visibility inside the code edit · GitHub

Soon, the extension will be available for download on the VS Code Marketplace too.

Open Source & Community Feedback

The project is licensed under the Apache 2.0 License.

I would love to hear feedback from the community:

  • What features would help your day-to-day scripting workflow most?
  • Are there specific callback types, GLSL auto-reload features, or visual inspectors you would like to see added?

Looking forward to your thoughts and ideas!

Looking forward to checking this out. There weren’t any releases published yet in the repo.

Thanks for pointing that out. There is now a .vsix available for download in the releases tab.

Hi this looks awesome!
It may be worth renaming to something like TDX_IDE
See this post with request from Greg to clearly differentiate official tools from community ones. TDX for TouchDesigner user-created tools

Thanks! I was annoyed by all the red squiggles when coding.

Good point; I already renamed it!