Title: Reliable content for CompletionItem details field · Issue #149 · palantir/python-language-server · GitHub
Open Graph Title: Reliable content for CompletionItem details field · Issue #149 · palantir/python-language-server
X Title: Reliable content for CompletionItem details field · Issue #149 · palantir/python-language-server
Description: In sublimelsp/LSP#136 a user has decided they do not want to see the CompletionItem details because the content is unpredictable and most of the time repeats the label field's content: PyCharm elects to show the completion's module name ...
Open Graph Description: In sublimelsp/LSP#136 a user has decided they do not want to see the CompletionItem details because the content is unpredictable and most of the time repeats the label field's content: PyCharm elec...
X Description: In sublimelsp/LSP#136 a user has decided they do not want to see the CompletionItem details because the content is unpredictable and most of the time repeats the label field's content: PyCharm ...
Opengraph URL: https://github.com/palantir/python-language-server/issues/149
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reliable content for CompletionItem details field","articleBody":"In https://github.com/tomv564/LSP/pull/136 a user has decided they do not want to see the CompletionItem `details` because the content is unpredictable and most of the time repeats the `label` field's content:\r\n\r\n\r\n\r\nPyCharm elects to show the completion's module name in the 2nd column:\r\n\r\n\u003cimg width=\"457\" alt=\"screen shot 2017-10-01 at 09 47 06\" src=\"https://user-images.githubusercontent.com/4395832/31052753-edc10fba-a68d-11e7-82a7-09eb7b6c3e9c.png\"\u003e\r\n\r\nThe protocol suggests the following about the content of the `detail` field:\r\n```typescript\r\n/**\r\n * A human-readable string with additional information\r\n * about this item, like type or symbol information.\r\n */\r\ndetail?: string;\r\n```\r\n\r\nThe Sublime LSP package will likely provide an option to always display \"kind\" instead of \"detail\". \r\n\r\nJedi's CompletionItem exposes a `module_name` field from BaseDefinition.\r\nSome `python-language-server` users may prefer this content in the \"detail\" field. \r\nWhat do you think?\r\n\r\n\r\n","author":{"url":"https://github.com/tomv564","@type":"Person","name":"tomv564"},"datePublished":"2017-10-01T09:03:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/149/python-language-server/issues/149"}
| 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:1dff8d6d-08b8-3f87-86aa-0168e40d792b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C116:355826:43BFB13:58B9813:6A5D47D9 |
| html-safe-nonce | 752da32b8fe110ec9bdff40e686290292d121f1a71aed640cd1a206c14ac0b98 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTE2OjM1NTgyNjo0M0JGQjEzOjU4Qjk4MTM6NkE1RDQ3RDkiLCJ2aXNpdG9yX2lkIjoiNDIwMDI1NDI2NTUzNjg1OTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2b6dddccfcb8d4bc23d729392db61e99aa11b74aa7a7b1c1d60bf2a10a7c01e9 |
| hovercard-subject-tag | issue:261902544 |
| 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/palantir/python-language-server/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68de6388cd9fa8bda6b6bbbbad5872bbcb25957cf8b4f6d663d0c73887e56b14/palantir/python-language-server/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68de6388cd9fa8bda6b6bbbbad5872bbcb25957cf8b4f6d663d0c73887e56b14/palantir/python-language-server/issues/149 |
| og:image:alt | In sublimelsp/LSP#136 a user has decided they do not want to see the CompletionItem details because the content is unpredictable and most of the time repeats the label field's content: PyCharm elec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomv564 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/palantir/python-language-server git https://github.com/palantir/python-language-server.git |
| octolytics-dimension-user_id | 303157 |
| octolytics-dimension-user_login | palantir |
| octolytics-dimension-repository_id | 78797564 |
| octolytics-dimension-repository_nwo | palantir/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 78797564 |
| octolytics-dimension-repository_network_root_nwo | palantir/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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width