Title: Auto Import not working with node_modules · Issue #30033 · microsoft/TypeScript · GitHub
Open Graph Title: Auto Import not working with node_modules · Issue #30033 · microsoft/TypeScript
X Title: Auto Import not working with node_modules · Issue #30033 · microsoft/TypeScript
Description: VSCode Version: 1.31.0 OS Version: Windows 10 Steps to Reproduce: Unpack the attached source test-app.zip run npm install Open app.module.ts file Remove NgModule import (the @NgModule will be highlighted with an error) Place cursor on th...
Open Graph Description: VSCode Version: 1.31.0 OS Version: Windows 10 Steps to Reproduce: Unpack the attached source test-app.zip run npm install Open app.module.ts file Remove NgModule import (the @NgModule will be highl...
X Description: VSCode Version: 1.31.0 OS Version: Windows 10 Steps to Reproduce: Unpack the attached source test-app.zip run npm install Open app.module.ts file Remove NgModule import (the @NgModule will be highl...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/30033
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto Import not working with node_modules","articleBody":"- VSCode Version: 1.31.0\r\n- OS Version: Windows 10\r\n\r\nSteps to Reproduce:\r\n\r\n1. Unpack the attached source [test-app.zip](https://github.com/Microsoft/vscode/files/2857039/test-app.zip)\r\n2. run `npm install`\r\n3. Open app.module.ts file\r\n4. Remove `NgModule` import (the `@NgModule` will be highlighted with an error)\r\n5. Place cursor on the `@NgModule`. Here expected behavior is that the light bulb would appear and suggest to add missing import. In reality nothing happens. I am still able to add import manually but it's impossible to use auto import feature for this. When entering import manually Intellisense works without any problems.\r\n\r\nThis might seem like a minor problem but the example is just a small extract from a big project. It seems that VSCode (or TS server) is not checking for possible typings in `node_modules`. In the end we have to add imports manually everywhere which is very time consuming and simply kills productivity.\r\n\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n","author":{"url":"https://github.com/KirillMetrik","@type":"Person","name":"KirillMetrik"},"datePublished":"2019-02-12T18:01:07Z","url":"https://github.com/microsoft/TypeScript/issues/30033"}
| 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:033eaf5e-56e3-ce2a-3923-1d5ea6cab47e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADFE:3DF0BE:914533:BDE3DB:6B00E1A1 |
| html-safe-nonce | 3adc4f1e76848d643a4b2a7ea2b282e78fad314522005d656ca0763f14bba298 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREZFOjNERjBCRTo5MTQ1MzM6QkRFM0RCOjZCMDBFMUExIiwidmlzaXRvcl9pZCI6IjIxMTkyNjQ0MTMyODU0MDkxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e7c0809d2b99aec7c0d30873baa2d7033feb83d8b7e2a361e1f7de20c54709a5 |
| hovercard-subject-tag | issue:413186864 |
| 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/microsoft/TypeScript/30033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e440f8897ea6fd2dfb6d3b5ff23d2c6edab7526d27029c2633823903a8b383af/microsoft/TypeScript/issues/30033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e440f8897ea6fd2dfb6d3b5ff23d2c6edab7526d27029c2633823903a8b383af/microsoft/TypeScript/issues/30033 |
| og:image:alt | VSCode Version: 1.31.0 OS Version: Windows 10 Steps to Reproduce: Unpack the attached source test-app.zip run npm install Open app.module.ts file Remove NgModule import (the @NgModule will be highl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KirillMetrik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width