Get pyscript configured in Visual Studio Code

Hi, I am fairly new to HASS. I configured pyscript in Jupyter notebook environment and it works great. I opened the same in VSC by selecting hass pyscript kernal and is working fine.

In Jupyter notebook if I press TAB after selecting domain. it gives all relevant drop down options pertaining to HASS , but not able to figure out why not in VSC.

Any clue, what must I do?

Thanks in advance!