-
Notifications
You must be signed in to change notification settings - Fork 511
do-while extra parenthesis on snippet #4002
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
Comments
Thanks! Might be an intellisense miss. |
I the same issue, but not just for do-while.
foreach:
|
Maybe I'm missing something, but I don't see any problem with those examples, just the do-while. |
Probably, it was maintained for backwards compatibility for anyone expecting it but we can probably clean that up. |
This issue has been marked as fixed. It has been automatically closed for housekeeping purposes. |
Issue Type: Bug
If you type do-while and accept the auto-complete snippet it will add an extra trailing parenthesis.
do {
} while (
<# Condition that stops the loop if it returns false #>)
)
Extension version: 2022.5.1
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:15:52.058Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: