VJ UNION

Cover image for TD Completes Me: It's a Touch Designer Thing
vdmo
vdmo

Posted on

TD Completes Me: It's a Touch Designer Thing

One of the most creative names for a real life reloading project between Touch Designer and VS Code .. Ladies and Gentleman... TD Completes Me!

https://github.com/picturesbyrobots/td-completes-me

TD Completes Me

via:
https://derivative.ca/community-post/asset/td-completes-me-simple-auto-completion-engine-touch-designer

Hello! I'm sharing an asset I've been working on for the past six months called TD-Completes-Me. It's a simple combo vscode extension and tox that attempts to bring auto-complete functionality to DAT editing via MS VSCode. Under the hood it runs a shim extension that implements the Language Server Protocal that talks via TCP to a TD extension comprised of a series of hacked together regular expressions and an ever growing number of list comprehesions.
It's named after my favourite plugin for VIM. YouCompleteMe

FEATURES

op('') provides a list of operator names relative to the curent text DAT being edited

TD Completes Me

  • get completions for CHOP channel names and DAT rows and cols!

  • parameter auto completion. get a list of availabe parameters by typing op('moviefilein1').par.

  • self.ownerComp is respected (as long as it's called ownerComp)

TD Completes Me

completions for custom extension and TD provided operator methods and members
completions for global operator shortcuts
support for me.parent() and op('../') methods

Check out the repo for more screenshots and installation instructions!

GitHub logo picturesbyrobots / td-completes-me

A Simple Auto Completion Engine for Touch Designer

TD Completes Me

Repo Logo

What is this?

This is a combo TOX/VSCode extension that leverages the Language Server protocol to send a list of context sensitive auto-completion items to Microsoft's Visual Studio Code.

What problem does this solve?

Creating extensive python scripts in Touch Designer can often be time consuming. We can use external editors like Sublime Text and VsCode but many of the features that make these tools beloved among traditional developers are not available to the Touch Designer programmer. This tool attempts to make editing the python scripts associated with Touch Designer projects a little more fluid and hopefully a little more joyful by implementing a (partial) autocompletion engine specific to the idioms of TD.

Features

  • op('') provides a list of operator names relative to the curent text DAT being edited

    OPS

  • get completions for CHOP channel names and DAT rows and cols!

DAT

  • parameter auto completion. get a list of

Discussion (0)