Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliSense stopped working when using a snippet with a selection #180352

Closed
galgalz opened this issue Apr 19, 2023 · 3 comments
Closed

IntelliSense stopped working when using a snippet with a selection #180352

galgalz opened this issue Apr 19, 2023 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets

Comments

@galgalz
Copy link

galgalz commented Apr 19, 2023

The latest release (1.77.3) messed up IntelliSense when using snippets with selection, it works fine in 1.74.3.

VS Code Version: 1.77.3
OS - win 11 64;
Language - Typescript/ Javascript

NOT WORKING- Version: 1.77.3
Code_fL5Bx1dbA4
It will perform autocomplete if I press ESC, but it ruins the continuation of the snippet.

WORKING - Version: 1.74.3:
Code_VQrLq7mkG0

Steps to reproduce:

  1. create JS file.
  2. Paste this object:
    const foo = { foo2, foo3, foo4 }
  3. try to use this snippet:
    { "_snippetBug": { "prefix": "_snippetBug", "body": [ "//random comment ${1|false,true|}", "foo.$2" ], "description": "_snippetBug" }, }

After selecting either true or false, once reaching the "foo." "no selection" will appear instead of the variables.
Once you click ESC, it will work as intended.
On version 1.74.3, you'll see the completion right away.

I tried with Start Extension Bisect, and it still occurs.

@jrieken jrieken added info-needed Issue requires more information from poster snippets labels Apr 20, 2023
@jrieken
Copy link
Member

jrieken commented Apr 20, 2023

This issue lacks

  • mentioning of the language
  • copy-paste friendly source code samples

@galgalz
Copy link
Author

galgalz commented Apr 20, 2023

This issue lacks

  • mentioning of the language
  • copy-paste friendly source code samples

I edited my message with the missing info

@jrieken jrieken added *duplicate Issue identified as a duplicate of another issue(s) and removed info-needed Issue requires more information from poster labels Apr 21, 2023
@jrieken
Copy link
Member

jrieken commented Apr 21, 2023

#180069

@jrieken jrieken closed this as completed Apr 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets
Projects
None yet
Development

No branches or pull requests

2 participants