Title: Code editing sequence matters for typing acquisition · Issue #11744 · microsoft/TypeScript · GitHub
Open Graph Title: Code editing sequence matters for typing acquisition · Issue #11744 · microsoft/TypeScript
X Title: Code editing sequence matters for typing acquisition · Issue #11744 · microsoft/TypeScript
Description: OS Version: macOS TypeScript Version: typescript@^2.0.6-insiders.20161014 using vscode 1.7 insiders Note: "typescript.experimentalAutomaticTypeAcquisition": true must be in your vscode user settings. Steps to Reproduce clear ~/Library/Ap...
Open Graph Description: OS Version: macOS TypeScript Version: typescript@^2.0.6-insiders.20161014 using vscode 1.7 insiders Note: "typescript.experimentalAutomaticTypeAcquisition": true must be in your vscode user setting...
X Description: OS Version: macOS TypeScript Version: typescript@^2.0.6-insiders.20161014 using vscode 1.7 insiders Note: "typescript.experimentalAutomaticTypeAcquisition": true must be in your vscode us...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/11744
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code editing sequence matters for typing acquisition","articleBody":"**OS Version:** macOS\n**TypeScript Version:** typescript@^2.0.6-insiders.20161014 using vscode 1.7 insiders\n\nNote: `\"typescript.experimentalAutomaticTypeAcquisition\": true` must be in your vscode user settings.\n\n**Steps to Reproduce**\n- 1. clear `~/Library/Application Support/Microsoft/TypeScript/node_modules/@types`\n- 2. start vscode on an workspace with the following two files:\n `package.json`\n\n``` json\n{\n \"name\": \"test\",\n \"version\": \"0.0.1\",\n \"dependencies\": {\n \"express\" : \"4.14.0\"\n },\n \"engines\" : {\n \"node\" : \"6.7.0\",\n \"npm\" : \"3.10.x\"\n }\n}\n```\n\n`test.js`\n\n``` js\nvar fs = require('fs');\nfs.\n```\n- 3. open `test.js` in editor\n- 4. append to the file:\n\n``` js\nvar calendar = require('node-calendar');\ncalendar.\n```\n- 5. invoke inteliisense; no proposals\n- 6. open `package.json` in the editor\n- 7. add the following dependency\n\n``` json\n \"node-calendar\" : \"0.1.4\"\n```\n- 8. go back to `test.js`\n- 9. place caret behind `calendar.` and invoke intellisense using \u003ckbd>Cmd+Space\u003c/kbd>\n\n**Expected behavior:**\nIntellisense proposals for the `node-calendar` module are presented\n\n**Actual behavior:** \nNo `node-calendar` specific proposals are shown. `~/Library/Application Support/Microsoft/TypeScript/node_modules/@types` remains unchanged.\n- 10. restart vscode\n- 11. repeat steps 8. and 9.\n\n-> Intellisense proposals for the `node-calendar` module are presented\n\n**Note:** When first adding the dependency for `node-calendar` in `package.json` and then adding the require in `test.js` auto acquisition and intellisense work as expected.\n","author":{"url":"https://github.com/kieferrm","@type":"Person","name":"kieferrm"},"datePublished":"2016-10-20T05:02:31Z","url":"https://github.com/microsoft/TypeScript/issues/11744"}
| 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:1a553ed5-70df-f0e0-be35-187dfeedee21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9F2:313081:B028A4:E87AE7:6B01BD35 |
| html-safe-nonce | 0e5d09b7d28b2d7e78ecf30346d9c83b265395bccb1e79d3a61c02ec1c18a295 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUYyOjMxMzA4MTpCMDI4QTQ6RTg3QUU3OjZCMDFCRDM1IiwidmlzaXRvcl9pZCI6IjYxNTY0MDU2NjQzMjAxNzU0MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d101ce2403a6de919814df06a5130823753bd28dcd719fa0a45d946547ad1f89 |
| hovercard-subject-tag | issue:184135644 |
| 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/11744/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb5c307ccc85547aed140b211ac3f067c66272d2df49332067878a5b429004dd/microsoft/TypeScript/issues/11744 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb5c307ccc85547aed140b211ac3f067c66272d2df49332067878a5b429004dd/microsoft/TypeScript/issues/11744 |
| og:image:alt | OS Version: macOS TypeScript Version: typescript@^2.0.6-insiders.20161014 using vscode 1.7 insiders Note: "typescript.experimentalAutomaticTypeAcquisition": true must be in your vscode user setting... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kieferrm |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width