Title: Should not block completions when `let a` on the previous line · Issue #54729 · microsoft/TypeScript · GitHub
Open Graph Title: Should not block completions when `let a` on the previous line · Issue #54729 · microsoft/TypeScript
X Title: Should not block completions when `let a` on the previous line · Issue #54729 · microsoft/TypeScript
Description: Bug Report 🔎 Search Terms no let variable completions suggestions ⏯ Playground Link Playground link with relevant code 💻 Code let superLongVariable // No completions here 🙁 Actual behavior No completions 🙂 Expected behavior Should not bl...
Open Graph Description: Bug Report 🔎 Search Terms no let variable completions suggestions ⏯ Playground Link Playground link with relevant code 💻 Code let superLongVariable // No completions here 🙁 Actual behavior No compl...
X Description: Bug Report 🔎 Search Terms no let variable completions suggestions ⏯ Playground Link Playground link with relevant code 💻 Code let superLongVariable // No completions here 🙁 Actual behavior No compl...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/54729
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should not block completions when `let a` on the previous line","articleBody":"# Bug Report\r\n\r\n### 🔎 Search Terms\r\n\r\nno let variable completions suggestions\r\n\r\n### ⏯ Playground Link\r\n\r\n\u003c!--\r\n A link to a TypeScript Playground \"Share\" link which shows this behavior.\r\n This should have the same code as the code snippet below, and use whichever settings are relevant to your report.\r\n\r\n As a last resort, you can link to a repo, but these will be slower for us to investigate.\r\n-->\r\n[Playground link with relevant code](https://www.typescriptlang.org/play?ts=5.2.0-dev.20230621#code/DYUwLgBAzgrgDiATgGQPYDsDmA1AhogS1wCNQBYAKCA)\r\n\r\n### 💻 Code\r\n\r\n\u003c!-- Please post the relevant code sample here as well. This code and the Playground code should be the same, do not use separate examples -->\r\n```ts\r\nlet superLongVariable\r\n\r\n// No completions here\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nNo completions\r\n\r\n### 🙂 Expected behavior\r\n\r\nShould not block completions\r\n\u003c!-- What you expected to happen instead, and why -->\r\n\r\nNote: it is different from https://github.com/microsoft/TypeScript/issues/54654 as it is not regression, TypeScript was always blocking it as I remember, but I do not understand why e.g. we can have something like this:\r\n\r\n```ts\r\nlet superLongVariable\r\nsuperLongVariable = 5\r\n```","author":{"url":"https://github.com/zardoy","@type":"Person","name":"zardoy"},"datePublished":"2023-06-21T16:38:32Z","url":"https://github.com/microsoft/TypeScript/issues/54729"}
| 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:96e7c67d-751d-cada-4caf-73abe0103e96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C40:16AB79:2AED75E:3696CD3:6B01AD85 |
| html-safe-nonce | 820a6d5dce27221059c63944b041f397404f812908eedf8ae5e8dad7db7818b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzQwOjE2QUI3OToyQUVENzVFOjM2OTZDRDM6NkIwMUFEODUiLCJ2aXNpdG9yX2lkIjoiODEzNDcyNzk0NTE0ODI4MDE5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2074413cffd918bdc1069ac3bb038d4a786ebbdf207d83a94cfb73851fa8859c |
| hovercard-subject-tag | issue:1767991476 |
| 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/54729/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9721f5bf58d28f134ceb68e59415eee7eaac4c865b0cfd3e0feb74778bd87049/microsoft/TypeScript/issues/54729 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9721f5bf58d28f134ceb68e59415eee7eaac4c865b0cfd3e0feb74778bd87049/microsoft/TypeScript/issues/54729 |
| og:image:alt | Bug Report 🔎 Search Terms no let variable completions suggestions ⏯ Playground Link Playground link with relevant code 💻 Code let superLongVariable // No completions here 🙁 Actual behavior No compl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zardoy |
| 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