function-store / FunctionStore_tools

TouchDesigner workflow tools and UX improvements and more
MIT License
145 stars 1 forks source link

Suggestion: auto-externalize CustomParHelpers & NoNode for type hinting #47

Closed rosofo closed 1 month ago

rosofo commented 1 month ago

Whenever I create my first extension in a project I invariably externalize the helpers. VSCode can pick up the types that way. Maybe worth just doing it on extension creation?

function-store commented 1 month ago

It's supposed to deploy its stubs (type hints and definitions) to TD python environment. In your VSCode select TD's python.exe as your interpreter!

On Sun, Oct 27, 2024, 08:09 Robin Forbes @.***> wrote:

Whenever I create my first extension in a project I invariably externalize the helpers. VSCode can pick up the types that way. Maybe worth just doing it on extension creation?

— Reply to this email directly, view it on GitHub https://github.com/function-store/FunctionStore_tools/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNHYBK4GPLNE27RG4W3FRDZ5R7QTAVCNFSM6AAAAABQVRLQSWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMMZXHE3TSNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rosofo commented 1 month ago

oh that makes sense. I've been in the habit of pointing it at a venv created per project but as I started using td_pip recently, I suppose there's less of a need to do that.