Title: Autocompletion doesn't suggest global variables exposed from dependent packages (regression) · Issue #32675 · microsoft/TypeScript · GitHub
Open Graph Title: Autocompletion doesn't suggest global variables exposed from dependent packages (regression) · Issue #32675 · microsoft/TypeScript
X Title: Autocompletion doesn't suggest global variables exposed from dependent packages (regression) · Issue #32675 · microsoft/TypeScript
Description: Hiding global variables from autocomplition is very annoying because other candidates make unnecessary import statements (We can't use autocompletion without making them). Search Terms: Code clone https://github.com/falsandtru/spica run ...
Open Graph Description: Hiding global variables from autocomplition is very annoying because other candidates make unnecessary import statements (We can't use autocompletion without making them). Search Terms: Code clone ...
X Description: Hiding global variables from autocomplition is very annoying because other candidates make unnecessary import statements (We can't use autocompletion without making them). Search Terms: Code cl...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/32675
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Autocompletion doesn't suggest global variables exposed from dependent packages (regression)","articleBody":"Hiding global variables from autocomplition is very annoying because other candidates make unnecessary import statements (We can't use autocompletion without making them).\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n\r\n**Code**\r\n\r\n1. clone https://github.com/falsandtru/spica\r\n1. run `npm i`\r\n1. open index.ts\r\n1. type `asse`\r\n1. suggests 2 candidates of `assert` but doesn't include global one.\r\n\r\nGlobal `assert` is defined here: https://github.com/falsandtru/spica/blob/master/global.test.d.ts#L6\r\n\r\n**Expected behavior:**\r\n\r\nSuggests global assert and packaged assert.\r\n\r\n**Actual behavior:**\r\n\r\nSuggests packaged assert twice.\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior -->\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n","author":{"url":"https://github.com/falsandtru","@type":"Person","name":"falsandtru"},"datePublished":"2019-08-02T05:46:49Z","url":"https://github.com/microsoft/TypeScript/issues/32675"}
| 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:ed01c6fa-b7b5-acc8-658d-a487ffcef5f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3A2:3A73AA:260FD2:2FF4EF:6B00FF2C |
| html-safe-nonce | f29220c0a8073d669fd487dc6f45ba5717874fe5bf6e4e7ca567468cacbb842b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0EyOjNBNzNBQToyNjBGRDI6MkZGNEVGOjZCMDBGRjJDIiwidmlzaXRvcl9pZCI6IjcwOTAwMjkzNjQzMTM2NTMwMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 51a9df47135befd6aa036526aea2ee6d916d8c487cdd5e2f6b20d4ce6ad28a27 |
| hovercard-subject-tag | issue:476007107 |
| 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/32675/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05c044c24ae218478176a2d3428c9f41f7dfa8cd9a604db47ada22b5db0df710/microsoft/TypeScript/issues/32675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05c044c24ae218478176a2d3428c9f41f7dfa8cd9a604db47ada22b5db0df710/microsoft/TypeScript/issues/32675 |
| og:image:alt | Hiding global variables from autocomplition is very annoying because other candidates make unnecessary import statements (We can't use autocompletion without making them). Search Terms: Code clone ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | falsandtru |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width