PyRight LSP
Foremost, I love this project. Really great work!
Is there any way to make pyright recognize the variables provided? I currently get a lot of annoying errors from my LSP. It would be really nice to not get errors and get completions.
For example:
Here's the cure for you: https://github.com/dmamelin/pyscript_autocomplete
Thank you, I am going to try this!
@ALERTua what is meant by this step? Copy the apps/pyscript_autocomplete folder to your PyScript directory.
Where is the apps folder?
apps = /config/pyscript/apps
@ALERTua I do not have this folder, I only have my scripts under config/pyscript/
My config looks like this:
pyscript:
allow_all_imports: true
hass_is_global: true
apps:
pyscript_autocomplete:
then create it.
But what should be copied:
Copy the apps/pyscript_autocomplete folder to your PyScript directory.
I also do not have the service pyscript.autocomplete_generator service.
Omg I am stupid, the files are in the repo