Title: python.autoComplete.extraPaths not working · Issue #2791 · microsoft/vscode-python · GitHub
Open Graph Title: python.autoComplete.extraPaths not working · Issue #2791 · microsoft/vscode-python
X Title: python.autoComplete.extraPaths not working · Issue #2791 · microsoft/vscode-python
Description: Environment data VS Code version: Version: 1.27.2 Extension version (available under the Extensions sidebar): XXX OS and version: ubuntu 16.04 LTS Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.12 Actual behavio...
Open Graph Description: Environment data VS Code version: Version: 1.27.2 Extension version (available under the Extensions sidebar): XXX OS and version: ubuntu 16.04 LTS Python version (& distribution if applicable, e.g....
X Description: Environment data VS Code version: Version: 1.27.2 Extension version (available under the Extensions sidebar): XXX OS and version: ubuntu 16.04 LTS Python version (& distribution if applicable, ...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/2791
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python.autoComplete.extraPaths not working","articleBody":"\u003c!-- \r\nDo you have a question instead of a bug report or enhancement request? Please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code+python. \r\n\r\nUnable to install a linter or formatter? 'No installers available'? \r\nWindows - https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows\r\nLinux - https://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-linux-install-pipclient/ , https://www.tecmint.com/install-pip-in-linux/\r\n\r\nPython configuration issues? Please check https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites\r\n\r\nOtherwise **please** fill in the requested details below. \"XXX\" markers should not be present in the final bug report.\r\n\r\nIf 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\r\n## Environment data\r\n\r\n- VS Code version: Version: 1.27.2\r\n- Extension version (available under the Extensions sidebar): XXX\r\n- OS and version: ubuntu 16.04 LTS\r\n- Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.12\r\n\r\n## Actual behavior\r\n\r\npaths in python.autoComplete.extraPaths does not work \r\n\r\n## Expected behavior\r\n\r\npaths in python.autoComplete.extraPaths will behave same as adding the folder to `sys.path`\r\n\r\n## Steps to reproduce:\r\nCreate a ~/Desktop/extras folder.\r\nCreate a file named foobar.py in that folder containing def spam(): pass\r\nSet python.autoComplete.extraPaths to point to the extras folder\r\nimport foobar; foobar. should have spam in its completion list.\r\ngetting `[pylint] E0401:Unable to import extra` and there is no completion.\r\n\r\n\r\nI installed the latest VScode version , following this commit : https://github.com/Microsoft/vscode-python/pull/1471\r\n\r\nstill does not work.","author":{"url":"https://github.com/ddor254","@type":"Person","name":"ddor254"},"datePublished":"2018-10-04T09:54:24Z","url":"https://github.com/microsoft/vscode-python/issues/2791"}
| 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:8b0d02db-b6ab-2dab-8990-2c29b79668bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9848:6044B:3EBD21:528CAF:6AFE6188 |
| html-safe-nonce | 5fdb111a3d953fbb6833503c57b4ea744dde172c9f226fb64aeab033cac4068c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODQ4OjYwNDRCOjNFQkQyMTo1MjhDQUY6NkFGRTYxODgiLCJ2aXNpdG9yX2lkIjoiMzg0NzE0Nzc4MTQxOTQyMTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54269fe3936b5458fed83dc6bcef19d3b44ad44d15c52d55a99d1798dcaf7591 |
| hovercard-subject-tag | issue:366709855 |
| 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/2791/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e4eacaa2ce237976392d9e621ad56b2acab528e2559dbab40bcd295565fd075/microsoft/vscode-python/issues/2791 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e4eacaa2ce237976392d9e621ad56b2acab528e2559dbab40bcd295565fd075/microsoft/vscode-python/issues/2791 |
| og:image:alt | Environment data VS Code version: Version: 1.27.2 Extension version (available under the Extensions sidebar): XXX OS and version: ubuntu 16.04 LTS Python version (& distribution if applicable, e.g.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ddor254 |
| 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