Title: Restart Pylance without reload prompt once it is detected · Issue #18509 · microsoft/vscode-python · GitHub
Open Graph Title: Restart Pylance without reload prompt once it is detected · Issue #18509 · microsoft/vscode-python
X Title: Restart Pylance without reload prompt once it is detected · Issue #18509 · microsoft/vscode-python
Description: 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...
Open Graph Description: 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 sam...
X Description: 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...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/18509
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restart Pylance without reload prompt once it is detected","articleBody":"This shows the experience when creating a sample python dev container: https://cln.sh/KBwsUa (wait to the end of the recording...)\r\n\r\nThat 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](https://github.dev/microsoft/vscode-python/blob/14c0a7f53a5e803cc64a4e6cabc7e17d299dd590/package.json#L98-L100)) the language server change listener (see [here](https://github.dev/microsoft/vscode-python/blob/14c0a7f53a5e803cc64a4e6cabc7e17d299dd590/src/client/activation/common/languageServerChangeHandler.ts#L106) is active. \r\n\r\nIt'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.\r\n\r\n\r\n","author":{"url":"https://github.com/kieferrm","@type":"Person","name":"kieferrm"},"datePublished":"2022-02-11T16:38:03Z","url":"https://github.com/microsoft/vscode-python/issues/18509"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c130c76e-4b40-f82a-ca24-fe1d7584eaf5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF3E:A2006:943146:C9F3E2:6AFE7684 |
| html-safe-nonce | 77153acc7688e040e7a766c610d95aedf548174d26e03b0268581f3d29a25d22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjNFOkEyMDA2Ojk0MzE0NjpDOUYzRTI6NkFGRTc2ODQiLCJ2aXNpdG9yX2lkIjoiNjY2OTIwOTIyODg2MDYxODM3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e504e02567d94510ff7377d1d4af13407c571e5cf71f5d12e48147b02e2b7be4 |
| hovercard-subject-tag | issue:1132835985 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/18509/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72e24f1cc08533b0783edcba6b830a549fce26c1fd69742a37a05fc660dccbf6/microsoft/vscode-python/issues/18509 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72e24f1cc08533b0783edcba6b830a549fce26c1fd69742a37a05fc660dccbf6/microsoft/vscode-python/issues/18509 |
| og:image:alt | 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 sam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kieferrm |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width