Title: python.autoComplete.extraPaths setting does not allow for environment variable substitution · Issue #1783 · microsoft/python-language-server · GitHub
Open Graph Title: python.autoComplete.extraPaths setting does not allow for environment variable substitution · Issue #1783 · microsoft/python-language-server
X Title: python.autoComplete.extraPaths setting does not allow for environment variable substitution · Issue #1783 · microsoft/python-language-server
Description: Environment data VS Code version: 1.39.0 Extension version (available under the Extensions sidebar): 2019.10.41019 OS and version: Linux x64 5.0.0-31-generic snap Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.1...
Open Graph Description: Environment data VS Code version: 1.39.0 Extension version (available under the Extensions sidebar): 2019.10.41019 OS and version: Linux x64 5.0.0-31-generic snap Python version (& distribution if ...
X Description: Environment data VS Code version: 1.39.0 Extension version (available under the Extensions sidebar): 2019.10.41019 OS and version: Linux x64 5.0.0-31-generic snap Python version (& distribution...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1783
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python.autoComplete.extraPaths setting does not allow for environment variable substitution","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.39.0\r\n- Extension version (available under the Extensions sidebar): 2019.10.41019\r\n- OS and version: Linux x64 5.0.0-31-generic snap\r\n- Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.1\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv\r\n- Jedi or Language Server? (i.e. what is `\"python.jediEnabled\"` set to; more info microsoft/vscode-python#3977): False, Microsoft Python Language Server version 0.4.58.0\r\n\r\n## Expected behaviour\r\n\r\n```\r\n\"python.autoComplete.extraPaths\": [\r\n \"${env:HOME}/extra_packages\"\r\n],\r\n```\r\n\r\nshould resolve to a path e.g.: `/home/user/extra_packages`\r\n\r\n## Actual behaviour\r\n\r\nIn my Output panel and `Python Language Server` target, it is resolved to\r\n\r\n```\r\n...\r\nInterpreter search paths:\r\n /home/user/.pyenv/versions/3.7.1/lib/python3.7\r\n /home/user/.pyenv/versions/3.7.1/lib/python3.7/lib-dynload\r\n /home/user/.pyenv/versions/vscode/lib/python3.7/site-packages\r\nUser search paths:\r\n /home/user/${env:HOME}/extra_packages\r\n...\r\n```\r\n\r\nIf I hardcode my homedirectory in the setting `python.autoComplete.extraPaths` it works fine.\r\n\r\n## Steps to reproduce:\r\n\r\nJust try to replace `/home/user/extra_packages` with `${env:HOME}/extra_packages` in the `python.autoComplete.extraPaths` setting.\r\n","author":{"url":"https://github.com/hetsch","@type":"Person","name":"hetsch"},"datePublished":"2019-10-11T08:30:09Z","url":"https://github.com/microsoft/python-language-server/issues/1783"}
| 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:d1d72e7b-61ca-7743-d5ff-5c419360d804 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDF6:119A4:2C4013:39BE1B:6AFE5C61 |
| html-safe-nonce | 08a4654747e05dcbc465461608ed588f1057266a8f8afe37f2a716fedee265f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREY2OjExOUE0OjJDNDAxMzozOUJFMUI6NkFGRTVDNjEiLCJ2aXNpdG9yX2lkIjoiMTY4MjI0ODM1OTg4NjA4NTIxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 34be57ded7950a15d99d9108bd22aa69e83e658fca1f28b8b4a12df3b50b54a9 |
| hovercard-subject-tag | issue:521218088 |
| 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/python-language-server/1783/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7454cc94a0b2eec0e703cc743ba10d51d15c7b53a14e65737d0072a0a83f454/microsoft/python-language-server/issues/1783 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7454cc94a0b2eec0e703cc743ba10d51d15c7b53a14e65737d0072a0a83f454/microsoft/python-language-server/issues/1783 |
| og:image:alt | Environment data VS Code version: 1.39.0 Extension version (available under the Extensions sidebar): 2019.10.41019 OS and version: Linux x64 5.0.0-31-generic snap Python version (& distribution if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hetsch |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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