You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Restart Pylance without reload prompt once it is detected #18509
This shows the experience when creating a sample python dev container: https://cln.sh/KBwsUa (wait to the end of the recording...)
That I need to reload the window is not what I'd expect from a sample dev container (or in general). Since the Python extension activates on the existence of requirements.txt (see here) the language server change listener (see here is active.
It's unclear to why we need to reload the window if there is no open file at all. Also, we should make an effort to not require a reload. For example, the TS extension can recover from language server crashes/restarts without any reload.
Reacted by Corentin Hembise, Alberto Fabbri and ggydush-fn
There is an additional issue here: If the container build process runs a bit longer after the extensions load and the user has pushed the progress notification into the background, the container configuration process from the user's point of view seems to hang forever
...until the user clicks on the status bar item and sees the modal notification:
With the current way the dependency injection is set up, it's not very trivial but adding the ability to deactivate Jedi (default language server) should solve this.
Throwing my hat in the ring. I have adevcontainer post create command that install my reqs (poetry install) and it takes some time. By the time it is done, the pylance reload window disappeared and nothing gets done. It's a non-starter, since I won't be able to reload the window, and if I do, same happens, cycle repeats itself.
What is the purpose of this window reload upon installing pylance?
Activity
kieferrm commentedon Feb 11, 2022
There is an additional issue here: If the container build process runs a bit longer after the extensions load and the user has pushed the progress notification into the background, the container configuration process from the user's point of view seems to hang forever
...until the user clicks on the status bar item and sees the modal notification:
karthiknadig commentedon Feb 14, 2022
/cc Jude Kavalam (@judej)
[-]Reloading window when pylance is detected[/-][+]Restart Pylance without reload prompt once it is detected[/+]karrtikr commentedon Feb 22, 2022
With the current way the dependency injection is set up, it's not very trivial but adding the ability to deactivate Jedi (default language server) should solve this.
The additional issue does not seem to be related to the extension cc/ Karthik Nadig (@karthiknadig)
alexanderluiscampino commentedon Mar 1, 2022
Throwing my hat in the ring. I have adevcontainer post create command that install my reqs (poetry install) and it takes some time. By the time it is done, the pylance reload window disappeared and nothing gets done. It's a non-starter, since I won't be able to reload the window, and if I do, same happens, cycle repeats itself.
What is the purpose of this window reload upon installing pylance?
rzhao271 commentedon May 2, 2022
Looks like one of the endgame queries forgot to exclude on-testplan items for bugs. I'll label this issue as verified just to kick it off the query.