René's URL Explorer Experiment


Title: ${workspaceFolder} in extraPaths resolved unexpectedly · Issue #1974 · microsoft/python-language-server · GitHub

Open Graph Title: ${workspaceFolder} in extraPaths resolved unexpectedly · Issue #1974 · microsoft/python-language-server

X Title: ${workspaceFolder} in extraPaths resolved unexpectedly · Issue #1974 · microsoft/python-language-server

Description: Environment data Language Server version: 0.5.45.0 OS and version: Windows 10 1809 Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7 64-bit Visual Studio Code version: 1.43.2 Expected behaviour The variable ${wor...

Open Graph Description: Environment data Language Server version: 0.5.45.0 OS and version: Windows 10 1809 Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7 64-bit Visual Studio Code version: 1.43...

X Description: Environment data Language Server version: 0.5.45.0 OS and version: Windows 10 1809 Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7 64-bit Visual Studio Code version: ...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1974

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"${workspaceFolder} in extraPaths resolved unexpectedly","articleBody":"\u003c!-- \r\nRead the guidelines for filing an issue first. \r\n\r\nhttps://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue\r\n-->\r\n\r\n## Environment data\r\n\u003c!--\r\nTo find your version: \r\n\r\nSelect \"View: Toggle Output\" from the command palette (Ctrl+Shift+P on Windows/Linux, Command+Shift+P on macOS), then select \"Python\" in the dropdown on the right (\"Python Language Server\" if running Insiders build of VS Code). Look for the line Microsoft Python Language Server version X in the console.\r\n-->\r\n\r\n- Language Server version: 0.5.45.0   \r\n- OS and version: Windows 10 1809\r\n- Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7 64-bit\r\n- Visual Studio Code version: 1.43.2\r\n\r\n## Expected behaviour\r\nThe variable `${workspaceFolder}` within the setting `\"python.autoComplete.extraPaths\"` is resolved to the correct workspace folder. For a project folder `C:/temp/myproject`, `${workspaceFolder}/sublibs` should be resolved to `C:/temp/myproject/sublibs` and `${workspaceFolder}/../sublibs` should be resolved to `C:/temp/sublibs`.\r\n\r\n## Actual behaviour\r\nThe settings\r\n```\r\n{ \"python.autoComplete.extraPaths\": [\"${workspaceFolder}/sublibs\"] }\r\n```\r\nlead to missing auto complete for `sublibs`, the user search path in the output is\r\n```\r\n[Info  - 14:39:21] User search paths:\r\n[Info  - 14:39:21]     C:\\temp\\myproject\\${workspaceFolder}\\sublibs\r\n```\r\n\r\nThe settings\r\n```\r\n{ \"python.autoComplete.extraPaths\": [\"${workspaceFolder}/../sublibs\"] }\r\n```\r\n\"fix\" the problem, the user search path in the output is\r\n```\r\n[Info  - 14:41:42] User search paths:\r\n[Info  - 14:41:42]     C:\\temp\\myproject\\sublibs\r\n```\r\nHowever, the expected path is `C:\\temp\\sublibs`.\r\n\r\n\r\n\u003c!-- \r\n## Logs\r\n\r\nEnable trace logging by adding \"python.analysis.logLevel\": \"Trace\" to your settings.json configuration file.\r\n\r\nAdding this will cause a large amount of info to be printed to the Python output panel. This should not be left long term, as the performance impact of the logging is significant.\r\n\r\n```\r\nXXX\r\n```-->\r\n\r\n## Additional lnformation\r\nApparently, to get the correct workspace folder, I need to write `${workspaceFolder}/../`. If `${workspaceFolder}` is not followed by `..`, it is not resolved at all.\r\n\r\nOf course, there is the workaround to use relative paths instead of this variable.\r\n\u003c!--\r\nNote: If you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n\r\n```python\r\nXXX\r\n```-->\r\n\r\n","author":{"url":"https://github.com/tpajenkamp-dspace","@type":"Person","name":"tpajenkamp-dspace"},"datePublished":"2020-03-27T14:12:30Z","url":"https://github.com/microsoft/python-language-server/issues/1974"}

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:7305ccc9-36d2-21d5-d7af-ae9d70812fdd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC58A:15B330:275473:337054:6AFE5C76
html-safe-nonce2c4bca0dcc656f46fc42065b1ee26c9ef90ca555371d830b87b1afe23627f630
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNThBOjE1QjMzMDoyNzU0NzM6MzM3MDU0OjZBRkU1Qzc2IiwidmlzaXRvcl9pZCI6Ijc0MDA0Nzc5MTk4MjAwMTI2NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbb08e2903aae22eb28e2ad9b82afaf4d22ab7e6f23a6102649e1651914a5d5af
hovercard-subject-tagissue:589161758
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/python-language-server/1974/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0fb67e0f9b7df3f3e39b49364cf0baa03f00490f10dfaf232e9bc9e34dbcbfde/microsoft/python-language-server/issues/1974
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0fb67e0f9b7df3f3e39b49364cf0baa03f00490f10dfaf232e9bc9e34dbcbfde/microsoft/python-language-server/issues/1974
og:image:altEnvironment data Language Server version: 0.5.45.0 OS and version: Windows 10 1809 Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.7 64-bit Visual Studio Code version: 1.43...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametpajenkamp-dspace
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
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/python-language-server/issues/1974#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1974
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%2Fpython-language-server%2Fissues%2F1974
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%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1974
Reloadhttps://github.com/microsoft/python-language-server/issues/1974
Reloadhttps://github.com/microsoft/python-language-server/issues/1974
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
${workspaceFolder} in extraPaths resolved unexpectedlyhttps://github.com/microsoft/python-language-server/issues/1974#top
https://github.com/tpajenkamp-dspace
Thomas Pajenkamp (tpajenkamp-dspace)https://github.com/tpajenkamp-dspace
on Mar 27, 2020https://github.com/microsoft/python-language-server/issues/1974#issue-589161758
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Mar 27, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-605088111
https://github.com/tpajenkamp-dspace
Thomas Pajenkamp (tpajenkamp-dspace)https://github.com/tpajenkamp-dspace
on Mar 27, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-605094258
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Mar 27, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-605098555
#1492https://github.com/microsoft/python-language-server/pull/1492
https://code.visualstudio.com/docs/python/settings-reference#_predefined-variableshttps://code.visualstudio.com/docs/python/settings-reference#_predefined-variables
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Mar 27, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-605099298
#1783https://github.com/microsoft/python-language-server/issues/1783
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on May 1, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-622255917
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 1, 2020https://github.com/microsoft/python-language-server/issues/1974#event-3292287093
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on May 1, 2020https://github.com/microsoft/python-language-server/issues/1974#issuecomment-622476608
#1783https://github.com/microsoft/python-language-server/issues/1783
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1974
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1974
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.