Title: Go to definition behavior change request · Issue #1138 · microsoft/python-language-server · GitHub
Open Graph Title: Go to definition behavior change request · Issue #1138 · microsoft/python-language-server
X Title: Go to definition behavior change request · Issue #1138 · microsoft/python-language-server
Description: Currently, using "Go to definition" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understand from a separate issue #850 that this is the inte...
Open Graph Description: Currently, using "Go to definition" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understand from a s...
X Description: Currently, using "Go to definition" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understan...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1138
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Go to definition behavior change request","articleBody":"Currently, using \"Go to definition\" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understand from a separate issue https://github.com/microsoft/python-language-server/issues/850 that this is the intended behavior. Below is a gif of it.\r\n\r\n\r\n\r\nIn my view, \"Go to definition\" means that you go to where the class is defined. Taking me to the top of the file and showing me the import statement doesn't seem nearly as widely used or necessary as jumping directly to where the class is implemented. \r\n\r\nImagine you were in the full version of Visual Studio coding in C#, \"Go to definition\" would take you to the definition of your class. \r\n\r\nIf we insist that we need a separate feature to navigate us to the import statement, it seems that we should make a separate button and keyboard shortcut called \"Go to declaration\", and leave the \"Go to definition\" function to be the same behavior as Jedi.","author":{"url":"https://github.com/amittleider","@type":"Person","name":"amittleider"},"datePublished":"2019-05-29T18:44:02Z","url":"https://github.com/microsoft/python-language-server/issues/1138"}
| 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:f21a7968-1a09-ba07-77a5-ce9bba363c2a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E09E:38D18E:2368C3:2DDF0F:6AFE4ABE |
| html-safe-nonce | 43fc8aeaed514480380d7d87b1351c58d605a82f3a1dc83d855dd14bc083fb52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDlFOjM4RDE4RToyMzY4QzM6MkRERjBGOjZBRkU0QUJFIiwidmlzaXRvcl9pZCI6IjUxODgwMzY1Njc5NjAwMTM1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 458906e043d0206c6e0c4eb5ded4825933e1f89833c7be8092968fe8e01f23f2 |
| hovercard-subject-tag | issue:449963462 |
| 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/1138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9aadebaaaaf8005e050f6f716cd0f858f5b0af1526bc2e399055696daa5259d0/microsoft/python-language-server/issues/1138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9aadebaaaaf8005e050f6f716cd0f858f5b0af1526bc2e399055696daa5259d0/microsoft/python-language-server/issues/1138 |
| og:image:alt | Currently, using "Go to definition" with the MS Language Server will jump you to your import statement, likely at the top of your file, rather than jumping you into the class. I understand from a s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amittleider |
| 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