Title: signatureHelp always return empty replies · Issue #551 · sourcegraph/javascript-typescript-langserver · GitHub
Open Graph Title: signatureHelp always return empty replies · Issue #551 · sourcegraph/javascript-typescript-langserver
X Title: signatureHelp always return empty replies · Issue #551 · sourcegraph/javascript-typescript-langserver
Description: I'm using Emacs Eglot and I have a single .js file The signatureHelp requests from the client are always replied to with empty replies Not so with hover requests, they get filled replies Here's an example client-request (id:10) Wed Dec 2...
Open Graph Description: I'm using Emacs Eglot and I have a single .js file The signatureHelp requests from the client are always replied to with empty replies Not so with hover requests, they get filled replies Here's an ...
X Description: I'm using Emacs Eglot and I have a single .js file The signatureHelp requests from the client are always replied to with empty replies Not so with hover requests, they get filled replies Here...
Opengraph URL: https://github.com/sourcegraph/javascript-typescript-langserver/issues/551
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"signatureHelp always return empty replies","articleBody":"I'm using Emacs Eglot and I have a single .js file\r\n\r\nThe signatureHelp requests from the client are always replied to with empty replies\r\n\r\nNot so with hover requests, they get filled replies\r\n\r\nHere's an example\r\n\r\n```\r\nclient-request (id:10) Wed Dec 26 16:07:29 2018:\r\n(:jsonrpc \"2.0\" :id 10 :method \"textDocument/signatureHelp\" :params\r\n\t (:textDocument\r\n\t (:uri \"file:///home/catonano/Progetti/albo/savedata.js\")\r\n\t :position\r\n\t (:line 32 :character 6)))\r\n\r\nserver-reply (id:10) Wed Dec 26 16:07:30 2018:\r\n(:jsonrpc \"2.0\" :id 10 :result\r\n\t (:signatures\r\n\t []\r\n\t :activeParameter 0 :activeSignature 0))\r\n\r\n\r\nclient-request (id:11) Wed Dec 26 16:07:29 2018:\r\n(:jsonrpc \"2.0\" :id 11 :method \"textDocument/hover\" :params\r\n\t (:textDocument\r\n\t (:uri \"file:///home/catonano/Progetti/albo/savedata.js\")\r\n\t :position\r\n\t (:line 32 :character 6)))\r\n\r\n\r\nserver-reply (id:11) Wed Dec 26 16:07:30 2018:\r\n(:jsonrpc \"2.0\" :id 11 :result\r\n\t (:contents\r\n\t [(:language \"typescript\" :value \"const insertTable: (mydata: any) => void\")\r\n\t \"**const**\"]\r\n\t :range\r\n\t (:start\r\n\t (:line 32 :character 6)\r\n\t :end\r\n\t (:line 32 :character 17))))\r\n```\r\n\r\nThis happens when, with the cursor, I hover onto this function\r\n\r\n```\r\nconst insertTable = (mydata) => {\r\n const queryText = \"INSERT INTO films (id, titolo) VALUES ($1, $2)\"; \r\n const values = [\r\n 1,\r\n mydata\r\n ];\r\n pool.query(queryText, values)\r\n\t.then((res) => {\r\n pool.end();\r\n })\r\n .catch((err) => {\r\n\t console.log(err);\r\n pool.end();\r\n });\r\n}\r\n\r\n```\r\n\r\nI installed the server with \r\n\r\nnpm install -g\r\n\r\nDo I need to configure anything ?\r\n\r\nOr is this expected ?\r\n\r\nThanks","author":{"url":"https://github.com/humanitiesNerd","@type":"Person","name":"humanitiesNerd"},"datePublished":"2018-12-26T15:18:41Z","url":"https://github.com/sourcegraph/javascript-typescript-langserver/issues/551"}
| 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:e5713b76-cc19-8f31-4519-5aba4f372233 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3E0:2DBB21:E3D39F:1308982:6B010824 |
| html-safe-nonce | 2d8a74f24d62801a59a14318e9788c375d978ca83049279f35ebb6c5be292991 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0UwOjJEQkIyMTpFM0QzOUY6MTMwODk4Mjo2QjAxMDgyNCIsInZpc2l0b3JfaWQiOiIyNTIwMzg3MjM2MDEzMzQ0ODA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 47c706a0aee80a299c7d23b43cbfad49fd09d1dc0fe967939d7946ef306440e5 |
| hovercard-subject-tag | issue:394187195 |
| 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/sourcegraph/javascript-typescript-langserver/551/issue_layout |
| twitter:image | https://opengraph.githubassets.com/906233c80238201e21d215eab50bede3dfda75d2098711c44a5f458b939a42a4/sourcegraph/javascript-typescript-langserver/issues/551 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/906233c80238201e21d215eab50bede3dfda75d2098711c44a5f458b939a42a4/sourcegraph/javascript-typescript-langserver/issues/551 |
| og:image:alt | I'm using Emacs Eglot and I have a single .js file The signatureHelp requests from the client are always replied to with empty replies Not so with hover requests, they get filled replies Here's an ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | humanitiesNerd |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/sourcegraph/javascript-typescript-langserver git https://github.com/sourcegraph/javascript-typescript-langserver.git |
| octolytics-dimension-user_id | 3979584 |
| octolytics-dimension-user_login | sourcegraph |
| octolytics-dimension-repository_id | 68805662 |
| octolytics-dimension-repository_nwo | sourcegraph/javascript-typescript-langserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68805662 |
| octolytics-dimension-repository_network_root_nwo | sourcegraph/javascript-typescript-langserver |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width