Title: All references are not listed when using ms language server · Issue #1174 · microsoft/python-language-server · GitHub
Open Graph Title: All references are not listed when using ms language server · Issue #1174 · microsoft/python-language-server
X Title: All references are not listed when using ms language server · Issue #1174 · microsoft/python-language-server
Description: jahan01 commented on Wed Jun 05 2019 Environment data VS Code version: latest Extension version (available under the Extensions sidebar): 2019.5.18426 OS and version: Mac Os Python version (& distribution if applicable, e.g. Anaconda): 3...
Open Graph Description: jahan01 commented on Wed Jun 05 2019 Environment data VS Code version: latest Extension version (available under the Extensions sidebar): 2019.5.18426 OS and version: Mac Os Python version (& distr...
X Description: jahan01 commented on Wed Jun 05 2019 Environment data VS Code version: latest Extension version (available under the Extensions sidebar): 2019.5.18426 OS and version: Mac Os Python version (& d...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1174
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"All references are not listed when using ms language server","articleBody":"@jahan01 commented on [Wed Jun 05 2019](https://github.com/microsoft/vscode-python/issues/5917)\n\n\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\r\n## Environment data\r\n\r\n- VS Code version: latest\r\n- Extension version (available under the Extensions sidebar): 2019.5.18426\r\n- OS and version: Mac Os\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.6 (Anaconda)\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda\r\n- Language Server (more info #3977): Language Server\r\n\r\n`constants.py`\r\n```python\r\nVARIABLE1 = 'afad'\r\nVARIABLE2 = 'dcef'\r\n```\r\n\r\n`use.py`\r\n```python\r\nfrom vscode_test.constants import *\r\nfrom vscode_test import constants\r\n\r\nprint(VARIABLE1)\r\nprint(constants.VARIABLE2)\r\n\r\nprint(VARIABLE2)\r\nprint(constants.VARIABLE1)\r\n\r\n```\r\n\r\n## Expected behaviour\r\n\r\nAll usages of the symbol to be listed under references when `Right click -> Find All References` on `VARIABLE1` in `constants.py`\r\n\r\n## Actual behaviour\r\n\r\nDoesn't list all usages when ms language server is used.\r\nUsage of `print(constants.VARIABLE1)` in `use.py` isnt listed.\r\n\r\nLooks like if symbol is imported directly, the reference is listed. If the symbol referenced via modules it isn't listed.\r\n\r\nThis issue seems to be recurring - why not have some tests for this ?\r\n\r\nWhen Jedi is enabled it works as expected.\r\n\r\n\r\n\r\n\n\n","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2019-06-06T17:32:10Z","url":"https://github.com/microsoft/python-language-server/issues/1174"}
| 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:f21b203f-7962-976e-da1a-fafd0f3bed62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEDE:CDF9B:293AD2:35D495:6AFE4CEC |
| html-safe-nonce | 15e1306759c479518f0c5342a1c910691ca7bf263137a726fd0823a709649b85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERURFOkNERjlCOjI5M0FEMjozNUQ0OTU6NkFGRTRDRUMiLCJ2aXNpdG9yX2lkIjoiNjUxNjM5Nzk5MDQzNTc2OTU4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be0acbb50ce6a3669b917a8a2d8199f2a6a0c2326756b471e1ed2eace04be275 |
| hovercard-subject-tag | issue:453153426 |
| 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/1174/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ca7361f6ebec4a898f0ed91aef517dfaa00bfe179572dcc60c10439327effa8/microsoft/python-language-server/issues/1174 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ca7361f6ebec4a898f0ed91aef517dfaa00bfe179572dcc60c10439327effa8/microsoft/python-language-server/issues/1174 |
| og:image:alt | jahan01 commented on Wed Jun 05 2019 Environment data VS Code version: latest Extension version (available under the Extensions sidebar): 2019.5.18426 OS and version: Mac Os Python version (& distr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | 894d3c8b932306ed8425e8dcbe0c1089667e487c5fe7b8a05d17e7b685207429 |
| 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 | 44570ad53e12be09be8000af683c29166c4007cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width