Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.68 KB

FNS_OpenExt.md

File metadata and controls

40 lines (33 loc) · 1.68 KB
package FNS_OpenExt
summary Press Ctrl+E on a COMP to open its promoted extension in your external editor.
features
name anchor
OpenExt
openext
feature_list
name anchor does
Open extension by hotkey
openext
Opens the current COMP's first promoted extension in the external editor TouchDesigner is set to use; nothing happens on a COMP without one.
name anchor does
Quick-launch command
openext
Also published as the quick-launch command Open extension of current, so it runs from the command palette without the hotkey.

OpenExt

Put the cursor on a COMP that has a promoted extension and press Ctrl+E (Cmd+E on macOS): the extension's Python opens in your external editor, straight from the network editor.

It saves the dive you would otherwise do a hundred times a day on the component you are actively writing: into the COMP, find the extension DAT, open it.

It acts on the current operator in the active pane, and only on a COMP. If the component has several extensions it opens the first one marked Promote; if it has none, nothing happens, so the key is safe to lean on while moving through a network.

Opening is done by pulsing that DAT's own Edit parameter, which means the file lands in whichever external editor TouchDesigner itself is set to use. This tool has no editor setting of its own to get out of step with it.

For the full round trip, editing outside and syncing the changes back, see VSCodeTools; the two tools sit alongside each other.

It is also published as a quick-launch command, Open extension of current, so you can fire it from CommandKit without the hotkey.