Title: Code completion in Node project · Issue #561 · sourcegraph/javascript-typescript-langserver · GitHub
Open Graph Title: Code completion in Node project · Issue #561 · sourcegraph/javascript-typescript-langserver
X Title: Code completion in Node project · Issue #561 · sourcegraph/javascript-typescript-langserver
Description: I have been scratching my head for a while on how to get code completion to work with a NodeJS project. All my node projects set NODE_PATH=src:.. This is the best way that I found to avoid things like: const myModule = require('../../../...
Open Graph Description: I have been scratching my head for a while on how to get code completion to work with a NodeJS project. All my node projects set NODE_PATH=src:.. This is the best way that I found to avoid things l...
X Description: I have been scratching my head for a while on how to get code completion to work with a NodeJS project. All my node projects set NODE_PATH=src:.. This is the best way that I found to avoid things l...
Opengraph URL: https://github.com/sourcegraph/javascript-typescript-langserver/issues/561
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code completion in Node project","articleBody":"I have been scratching my head for a while on how to get code completion to work with a NodeJS project. All my node projects set `NODE_PATH=src:.`. \r\n\r\nThis is the best way that I found to avoid things like:\r\n\r\n `const myModule = require('../../../../some-other-module');` \r\n \r\nI can now simply do :\r\n\r\n`const myModule = require('some-other-module');`\r\n\r\nBut code completion does not work at all. Typing `myModule.` reveals lots of wrong stuff, nothing related to the module contents.\r\n\r\nAny pointers on how to properly configure the language server? I have tried all `settings.json` and `jsconfig.json` snippets I have found, always without success. I have navigated through many web pages and tried all sorts of configurations, but the result is always the same.","author":{"url":"https://github.com/ferrao","@type":"Person","name":"ferrao"},"datePublished":"2019-02-15T10:19:59Z","url":"https://github.com/sourcegraph/javascript-typescript-langserver/issues/561"}
| 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:68a15358-6622-367a-daa8-e13bf3993b58 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A954:134361:F83579:1475378:6B01065B |
| html-safe-nonce | 3100636ae3dafb329e3b0b2cabf4206be49407bb088f0e1c20064f397c715801 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTU0OjEzNDM2MTpGODM1Nzk6MTQ3NTM3ODo2QjAxMDY1QiIsInZpc2l0b3JfaWQiOiIxMDk3ODk3MTI1NTk0ODU5MDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1fd906d4b2f56c5472c090b6c72eda43962c4a4d4810e7e7cf5885b88a3ee123 |
| hovercard-subject-tag | issue:410697880 |
| 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/561/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5cd6fc40a7f2dea418cd3f5f850d5d7291f89b645139deb41bd3321927e2d88/sourcegraph/javascript-typescript-langserver/issues/561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5cd6fc40a7f2dea418cd3f5f850d5d7291f89b645139deb41bd3321927e2d88/sourcegraph/javascript-typescript-langserver/issues/561 |
| og:image:alt | I have been scratching my head for a while on how to get code completion to work with a NodeJS project. All my node projects set NODE_PATH=src:.. This is the best way that I found to avoid things l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ferrao |
| 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