Replies: 2 comments 1 reply
-
I just started working on a script that generates a builtins.pyi file for pylance to accomplish exactly this. I am a total beginner to both python and visual studio code so I don't know if this is best way but it's working pretty well. Right now the script runs on my dev client and i manually run it when my home assistant setup changes but it should be possible to run it in the Pyscript server environment so that it automatically keeps up to date. I will probably be able to share in a while. |
Beta Was this translation helpful? Give feedback.
-
Can we broaden the scope and also get the basics working? I now am not able to get autocompletion on the |
Beta Was this translation helpful? Give feedback.
-
Hi,
Was wandering if anyone knows of a way for getting autocompletions for pyscript's entities in vscode in .py files
for example, when you write input_boolean - get all the possible options
I know this is possible using jupyter, and I thought I could use vscode's jupyter extension instead of the Jupyter Notebook UI...
I can start the jupyter server and connect to it using vscode, I can even run things, by I don't have autocompletion here either
any ideas?
Beta Was this translation helpful? Give feedback.
All reactions