Title: Multi-root workspace support prevents extension from recognizing files outside workspace · Issue #5132 · microsoft/vscode-python · GitHub
Open Graph Title: Multi-root workspace support prevents extension from recognizing files outside workspace · Issue #5132 · microsoft/vscode-python
X Title: Multi-root workspace support prevents extension from recognizing files outside workspace · Issue #5132 · microsoft/vscode-python
Description: With the multi-root workspace support added in #4244, files which do not reside in a workspace (including library code that doesn't live in a virtualenv inside the opened folder) are not properly classified, and the extension/editor does...
Open Graph Description: With the multi-root workspace support added in #4244, files which do not reside in a workspace (including library code that doesn't live in a virtualenv inside the opened folder) are not properly c...
X Description: With the multi-root workspace support added in #4244, files which do not reside in a workspace (including library code that doesn't live in a virtualenv inside the opened folder) are not proper...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/5132
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multi-root workspace support prevents extension from recognizing files outside workspace","articleBody":"With the multi-root workspace support added in #4244, files which do not reside in a workspace (including library code that doesn't live in a virtualenv inside the opened folder) are not properly classified, and the extension/editor does not recognize them. This affects goto-def (see Microsoft/python-language-server#840), but also opening random files that aren't in the currently open folder.\r\n\r\nThis behavior likely comes from this line: https://github.com/Microsoft/vscode-python/pull/4244/files#diff-f60110caa225d7026d0cffec5d66270fR109\r\n\r\nWhich I interpret to mean \"only treat files within this root as Python\", as well as to help distinguish one workspace from another. This has the unfortunate side effect of preventing files that don't match those patterns from \"being\" Python and then handled by the extension.\r\n\r\nInterestingly, if you open a file (and have it not be recognized), then reload VS Code, then the file is recognized as normal, which may hint that there's a way to avoid the problem (or that it's just a bug).","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-04-05T20:34:26Z","url":"https://github.com/microsoft/vscode-python/issues/5132"}
| 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:8f0ea861-1747-cba8-4c52-ecd62fbf2854 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF4C:6CCC0:26CDBD:331B99:6AFE5A3F |
| html-safe-nonce | bc87a10b1dd474c374117c85d926f8551f09066bcebee1c07d164f77b84ccae9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjRDOjZDQ0MwOjI2Q0RCRDozMzFCOTk6NkFGRTVBM0YiLCJ2aXNpdG9yX2lkIjoiMjUxODczNjAxMDA2NjQxODIzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c005c2313c6bd94341399971bf1c148bc3ce3816f4772f8268c6099bc66870de |
| hovercard-subject-tag | issue:429924379 |
| 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/5132/issue_layout |
| twitter:image | https://opengraph.githubassets.com/23f6f08d7da119ee787816051326dfc164f065a19a8ea0b29af79891ddefd64d/microsoft/vscode-python/issues/5132 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23f6f08d7da119ee787816051326dfc164f065a19a8ea0b29af79891ddefd64d/microsoft/vscode-python/issues/5132 |
| og:image:alt | With the multi-root workspace support added in #4244, files which do not reside in a workspace (including library code that doesn't live in a virtualenv inside the opened folder) are not properly c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| 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