Title: Automatically add common project roots (src) to search paths · Issue #1440 · microsoft/python-language-server · GitHub
Open Graph Title: Automatically add common project roots (src) to search paths · Issue #1440 · microsoft/python-language-server
X Title: Automatically add common project roots (src) to search paths · Issue #1440 · microsoft/python-language-server
Description: Requires #1388. Based on work in #1384. Once search path configuration is done outside of the initialization options we should: Add a new boolean to toggle a search path "heuristic". If enabled (and the old backwards-compat searchPaths/e...
Open Graph Description: Requires #1388. Based on work in #1384. Once search path configuration is done outside of the initialization options we should: Add a new boolean to toggle a search path "heuristic". If enabled (an...
X Description: Requires #1388. Based on work in #1384. Once search path configuration is done outside of the initialization options we should: Add a new boolean to toggle a search path "heuristic". If e...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1440
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automatically add common project roots (src) to search paths","articleBody":"Requires #1388. Based on work in #1384.\r\n\r\nOnce search path configuration is done outside of the initialization options we should:\r\n\r\n- Add a new boolean to toggle a search path \"heuristic\".\r\n- If enabled (and the old backwards-compat searchPaths/extraPaths/etc are not specified), then we should detect a common import root and automatically add it to the search path list.\r\n\r\nTo start, this can be as simple as looking in the workspace's top level for a `src` directory, then add to the top of the user search path lists.\r\n\r\nIn the future, this heuristic can either be expanded, or eliminated (if our import handling becomes loose enough to not require it).","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-08-14T21:12:59Z","url":"https://github.com/microsoft/python-language-server/issues/1440"}
| 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:70d32048-5124-4b69-b62a-943990fae4ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94C0:87757:3828BB:496326:6AFE5F8B |
| html-safe-nonce | d86eda203b6cce77df2dbd42d4be1fbf1af43cee601654928fb99e784ff2f36d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEMwOjg3NzU3OjM4MjhCQjo0OTYzMjY6NkFGRTVGOEIiLCJ2aXNpdG9yX2lkIjoiMTc0OTcyNzIzOTYxMzYwMzcyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b7404d586db838e3610ee7d53dd82db8de54dfe0ab3d838a58f8044ff04f09a9 |
| hovercard-subject-tag | issue:480891555 |
| 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/1440/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9230bd5c9a36bac702ceec2eaf9b32b04e47232b9f9d5b40c33dbadc8e0abb5/microsoft/python-language-server/issues/1440 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9230bd5c9a36bac702ceec2eaf9b32b04e47232b9f9d5b40c33dbadc8e0abb5/microsoft/python-language-server/issues/1440 |
| og:image:alt | Requires #1388. Based on work in #1384. Once search path configuration is done outside of the initialization options we should: Add a new boolean to toggle a search path "heuristic". If enabled (an... |
| 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/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