Title: Ensure workspace/configuration capability was sent by the client before using the call · Issue #1505 · microsoft/python-language-server · GitHub
Open Graph Title: Ensure workspace/configuration capability was sent by the client before using the call · Issue #1505 · microsoft/python-language-server
X Title: Ensure workspace/configuration capability was sent by the client before using the call · Issue #1505 · microsoft/python-language-server
Description: Microsoft Language Server for Python. Contribute to microsoft/python-language-server development by creating an account on GitHub.
Open Graph Description: Microsoft Language Server for Python. Contribute to microsoft/python-language-server development by creating an account on GitHub.
X Description: Microsoft Language Server for Python. Contribute to microsoft/python-language-server development by creating an account on GitHub.
Opengraph URL: https://github.com/microsoft/python-language-server
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ensure workspace/configuration capability was sent by the client before using the call","articleBody":"#1492 uses the `workspace/configuration` call back to the client in order to fetch the configuration earlier than the client would normally send it.\r\n\r\nUnfortunately, I missed the fact that this functionality is optional and needs to be gated against a client capability.\r\n\r\n\r\n```ts\r\n/**\r\n * Workspace specific client capabilities.\r\n */\r\nexport interface WorkspaceClientCapabilities {\r\n\t// ...\r\n\t/**\r\n\t * The client supports `workspace/configuration` requests.\r\n\t *\r\n\t * Since 3.6.0\r\n\t */\r\n\tconfiguration?: boolean;\r\n```\r\n\r\nIf the client doesn't say it has this request, we can't call it and have to resort to the double-reload configuration change (if we want to really get rid of `searchPaths` in the initialization options).","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-09-04T17:26:51Z","url":"https://github.com/microsoft/python-language-server/issues/1505"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:e26f9be1-d32a-0edc-7a46-4fc8e446b92f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA2:18C54E:270833:32E312:6AFE5C6E |
| html-safe-nonce | 1ac0be926d3c8da588aec426deca5023d532678d71c19e994b8d79af8060128e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUEyOjE4QzU0RToyNzA4MzM6MzJFMzEyOjZBRkU1QzZFIiwidmlzaXRvcl9pZCI6IjM2MTUzNjgzMTc1MzY5ODQxNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b3c1cf906014b2fa9f1a1f43e6bdb6de4c3e4c6148a61c3cf8a703dc735265dc |
| hovercard-subject-tag | repository:145901977 |
| 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/microsoft/python-language-server/issues/1505 |
| twitter:image | https://opengraph.githubassets.com/4737705627da93bba8e9ca958d1dc08a669b39c04b42f442d1b4290bd814fb86/microsoft/python-language-server |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4737705627da93bba8e9ca958d1dc08a669b39c04b42f442d1b4290bd814fb86/microsoft/python-language-server |
| og:image:alt | Microsoft Language Server for Python. Contribute to microsoft/python-language-server development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-cache |
| 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