René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8f0ea861-1747-cba8-4c52-ecd62fbf2854
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCF4C:6CCC0:26CDBD:331B99:6AFE5A3F
html-safe-noncebc87a10b1dd474c374117c85d926f8551f09066bcebee1c07d164f77b84ccae9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjRDOjZDQ0MwOjI2Q0RCRDozMzFCOTk6NkFGRTVBM0YiLCJ2aXNpdG9yX2lkIjoiMjUxODczNjAxMDA2NjQxODIzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc005c2313c6bd94341399971bf1c148bc3ce3816f4772f8268c6099bc66870de
hovercard-subject-tagissue:429924379
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/5132/issue_layout
twitter:imagehttps://opengraph.githubassets.com/23f6f08d7da119ee787816051326dfc164f065a19a8ea0b29af79891ddefd64d/microsoft/vscode-python/issues/5132
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/23f6f08d7da119ee787816051326dfc164f065a19a8ea0b29af79891ddefd64d/microsoft/vscode-python/issues/5132
og:image:altWith 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/5132#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F5132
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F5132
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/5132
Reloadhttps://github.com/microsoft/vscode-python/issues/5132
Reloadhttps://github.com/microsoft/vscode-python/issues/5132
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues344 (344)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5132
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5132
Multi-root workspace support prevents extension from recognizing files outside workspacehttps://github.com/microsoft/vscode-python/issues/5132#top
https://github.com/karthiknadig
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
investigatingWe are looking into the cause of the issuehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22investigating%22
verifiedVerification succeededhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22verified%22
October 2021https://github.com/microsoft/vscode-python/milestone/75
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#issue-429924379
#4244https://github.com/microsoft/vscode-python/pull/4244
microsoft/python-language-server#840https://github.com/microsoft/python-language-server/issues/840
https://github.com/Microsoft/vscode-python/pull/4244/files#diff-f60110caa225d7026d0cffec5d66270fR109https://github.com/Microsoft/vscode-python/pull/4244/files#diff-f60110caa225d7026d0cffec5d66270fR109
Nexthttps://github.com/microsoft/vscode-python/issues/5132?timeline_page=1
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256867146
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
P0https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22P0%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256970847
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256970904
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971140
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971205
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971282
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971334
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
2019, week 13 - March Sprint 7https://github.com/microsoft/vscode-python/milestone/29
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971388
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
on Apr 5, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2256971436
Don Jayamanne (DonJayamanne)https://github.com/DonJayamanne
unplannedhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22unplanned%22
on Apr 7, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2258163085
Eric Snow (ericsnowcurrently)https://github.com/ericsnowcurrently
2019, week 13 - March Sprint 7https://github.com/microsoft/vscode-python/milestone/29
2019, week 15 - April Sprint 8https://github.com/microsoft/vscode-python/milestone/30
on Apr 10, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2267604383
Luciana Abud (luabud)https://github.com/luabud
importantIssue identified as high-priorityhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22important%22
on Dec 30, 2019https://github.com/microsoft/vscode-python/issues/5132#event-2913856413
https://github.com/ErwanDL
Erwan de Lépinau (ErwanDL)https://github.com/ErwanDL
on Mar 25, 2020https://github.com/microsoft/vscode-python/issues/5132#issuecomment-603571156
microsoft/python-language-server#1962https://github.com/microsoft/python-language-server/issues/1962
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Apr 21, 2020https://github.com/microsoft/vscode-python/issues/5132#issuecomment-617469317
#8815https://github.com/microsoft/vscode-python/pull/8815
https://github.com/kcajf
kcajfhttps://github.com/kcajf
on Jun 8, 2020https://github.com/microsoft/vscode-python/issues/5132#issuecomment-640901859
https://github.com/lihuanshuai
Li Huanshuai (lihuanshuai)https://github.com/lihuanshuai
on Jul 17, 2020https://github.com/microsoft/vscode-python/issues/5132#issuecomment-659812466
Pylancehttps://devblogs.microsoft.com/python/announcing-pylance-fast-feature-rich-language-support-for-python-in-visual-studio-code/
https://github.com/ErwanDL
Erwan de Lépinau (ErwanDL)https://github.com/ErwanDL
on Jul 17, 2020https://github.com/microsoft/vscode-python/issues/5132#issuecomment-660267974
Karthik Nadig (karthiknadig)https://github.com/karthiknadig
investigatingWe are looking into the cause of the issuehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22investigating%22
triagehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage%22
on Sep 15, 2020https://github.com/microsoft/vscode-python/issues/5132#event-3769448956
Kartik Raj (karrtikr)https://github.com/karrtikr
Karthik Nadig (karthiknadig)https://github.com/karthiknadig
on Oct 22, 2021https://github.com/microsoft/vscode-python/issues/5132#event-5507445934
https://github.com/karrtikr
Kartik Raj (karrtikr)https://github.com/karrtikr
on Oct 22, 2021https://github.com/microsoft/vscode-python/issues/5132#issuecomment-950003733
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 22, 2021https://github.com/microsoft/vscode-python/issues/5132#issuecomment-950013890
Kartik Raj (karrtikr)https://github.com/karrtikr
completedhttps://github.com/microsoft/vscode-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 22, 2021https://github.com/microsoft/vscode-python/issues/5132#event-5507519800
Kartik Raj (karrtikr)https://github.com/karrtikr
October 2021https://github.com/microsoft/vscode-python/milestone/75
on Oct 22, 2021https://github.com/microsoft/vscode-python/issues/5132#event-5507520221
Kartik Raj (karrtikr)https://github.com/karrtikr
verifiedVerification succeededhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22verified%22
on Oct 25, 2021https://github.com/microsoft/vscode-python/issues/5132#event-5515936081
github-actionshttps://github.com/apps/github-actions
on Nov 26, 2021https://github.com/microsoft/vscode-python/issues/5132#event-5675051040
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/5132
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/5132
Karthik Nadig (karthiknadig)https://github.com/karthiknadig
area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.https://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22area-intellisense%22
bugIssue identified by VS Code Team member as probable bughttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22bug%22
investigatingWe are looking into the cause of the issuehttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22investigating%22
verifiedVerification succeededhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22verified%22
October 2021https://github.com/microsoft/vscode-python/milestone/75
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.