<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.79.0 - OS Version: macOS Sonoma 14.0 Beta 1 Steps to Reproduce: 1. Create a new text file 2. Set language mode to TypeScript 3. Declare a variable without a semicolon at the end of the line 4. Autocompletion of the variable doesn't appear <img width="497" alt="image" src="https://github.com/microsoft/vscode/assets/19797697/378ecad5-f2a7-492f-a359-0b57898b075a"> But with semicolon, it works. <img width="498" alt="image" src="https://github.com/microsoft/vscode/assets/19797697/7eec1bc3-085b-44d2-a584-033a03ef907b"> Expected behavior: The name `value` should be listed in the suggestion. Notes: - Perfectly fine on VSCode 1.78.2 - https://vscode.dev also has this symptom <img width="606" alt="image" src="https://github.com/microsoft/vscode/assets/19797697/07f4edd3-0669-44fa-a2a0-d2d3b851478d">