-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
TypeScript import is adding extra } character at the end of the statement #204037
Comments
Fixes microsoft#204037 - Replace span on item == use for both insert and replace - Optional replacement span == use only for replace
Fixes #204037 - Replace span on item == use for both insert and replace - Optional replacement span == use only for replace
Problem was not be resolved, ///^/// |
I mean, this bug was fixed in 1.87.0-insider rather than 1.86.2? |
Yes i think so |
I'm still have this issue - why it closed? Steps to Reproduce:
2024-02-25.18-15-38.mp4 |
I'm having the same problem. I submitted an issue report today as well. Let's hope for a quick fix! |
It Was Fixed in Insider Channel |
what? Can you add more details how to fix it? |
https://github.com/microsoft/vscode/pull/204661/files They add a 'insiders-released' label on this issue. I download a insider version, this was fixed indeed. |
Type: Bug
Create a new TypeScript file.
Add a partial import statement to trigger an IntelliSense completion such as:
Allow IntelliSense to complete the statement, resulting in:
Notice the trailing
}
character which is an error.This issue also happens with all extensions off.
This issue is also present in the Insiders release.
The issue does not happen for imports that are added automatically. Example:
when typing
filter
, I am provided a choice of imports. When I select the import fromrxjs
, the import statement is added as expected.VS Code version: Code 1.86.0 (0504748, 2024-01-31T10:29:15.765Z)
OS version: Darwin x64 23.3.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: