Title: Not reading configs from `tsconfig.json` · Issue #618 · sourcegraph/javascript-typescript-langserver · GitHub
Open Graph Title: Not reading configs from `tsconfig.json` · Issue #618 · sourcegraph/javascript-typescript-langserver
X Title: Not reading configs from `tsconfig.json` · Issue #618 · sourcegraph/javascript-typescript-langserver
Description: I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json this. would trigger semantic completion correctly, but symbols from libs (or other dirs configured by tsconfig.json) can not be r...
Open Graph Description: I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json this. would trigger semantic completion correctly, but symbols from libs (or other dirs c...
X Description: I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json this. would trigger semantic completion correctly, but symbols from libs (or other di...
Opengraph URL: https://github.com/sourcegraph/javascript-typescript-langserver/issues/618
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not reading configs from `tsconfig.json`","articleBody":"I'm using `coc.nvim` with `javascript-typescript-stdio`, but it seems not reading configs from my `tsconfig.json`\r\n\r\n`this.` would trigger semantic completion correctly, but symbols from `libs` (or other dirs configured by `tsconfig.json`) can not be resolved\r\n\r\n* my LSP config should be correct, since `this.` would trigger semantic completion correctly\r\n* my project config should also be correct, since same config works for `coc.nvim` + `typescript-language-server`\r\n* tested these combination with similar results:\r\n * `deoplete` + `vim-lsp`\r\n * `ncm2` + `vim-lsp`\r\n\r\n---\r\n\r\nhere is my config for `coc.nvim`:\r\n\r\n```\r\ncall coc#config('languageserver.typescript', {\r\n \\ 'command': &shell,\r\n \\ 'args': [&shellcmdflag, 'javascript-typescript-stdio'],\r\n \\ 'filetypes': ['typescript', 'javascript'],\r\n \\ })\r\n```\r\n\r\nand for `vim-lsp`:\r\n\r\n```\r\ncall lsp#register_server({\r\n \\ 'name' : 'typescript',\r\n \\ 'cmd' : [&shell, &shellcmdflag, 'javascript-typescript-stdio'],\r\n \\ 'whitelist' : ['typescript', 'javascript'],\r\n \\ })\r\n```\r\n\r\nand the `tsconfig.json`:\r\n\r\n```\r\n{\r\n \"compilerOptions\": {\r\n \"target\": \"es5\",\r\n \"outDir\": \"bin-debug\",\r\n \"experimentalDecorators\": true,\r\n \"lib\": [\r\n \"es5\",\r\n \"dom\",\r\n \"es2015.promise\"\r\n ],\r\n \"types\": []\r\n },\r\n \"include\": [\r\n \"src\",\r\n \"libs\"\r\n ]\r\n}\r\n```","author":{"url":"https://github.com/ZSaberLv0","@type":"Person","name":"ZSaberLv0"},"datePublished":"2019-07-09T11:11:17Z","url":"https://github.com/sourcegraph/javascript-typescript-langserver/issues/618"}
| 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:44fb1e3b-0baf-8029-5814-4378f21d5f82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2CA:2C4BED:DC86D4:1197AC9:6B01062F |
| html-safe-nonce | 7282ea2aa3c49254bf515d3828a9aa9be8f968fcf476603e112e2e6b9f91f34a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkNBOjJDNEJFRDpEQzg2RDQ6MTE5N0FDOTo2QjAxMDYyRiIsInZpc2l0b3JfaWQiOiI3MzAxMjg4OTU3MjQzODg1MTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1e759d54d45ef097476f6d51503fdc0c5428b22a0b7d59d40fac8bb7c5b002cc |
| hovercard-subject-tag | issue:465719760 |
| 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/618/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97a241f293aa7b0a43bf8a73e03548f41af52ebfa4d9ebd17e77aac244a7390d/sourcegraph/javascript-typescript-langserver/issues/618 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97a241f293aa7b0a43bf8a73e03548f41af52ebfa4d9ebd17e77aac244a7390d/sourcegraph/javascript-typescript-langserver/issues/618 |
| og:image:alt | I'm using coc.nvim with javascript-typescript-stdio, but it seems not reading configs from my tsconfig.json this. would trigger semantic completion correctly, but symbols from libs (or other dirs c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZSaberLv0 |
| 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