-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
report bug with html js reformatting function, adding spaces between single character compasison operators: '?.' '??', #199995
Comments
/needsMoreInfo Is it reproducible with all extensions disabled? |
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue. Happy Coding! |
Hi Andrii
Thank you for such a quick response :}
Background to what I am doing is learning Javascript. https://www.w3schools.com/js/js_comparisons.asp
The examples given for this bug was from these exercises.
I tried rerunning vscode with the extensions disabled as you have kindly suggested. But the 'Format Selection As HTML' (right click mouse menu) will no longer be available to use.
I am using the vim extension with vscode among others. Here is a screenshot of my vscode extensions.
***@***.***
I started relearning html then during the course switched to js. Vscode is new to me for my current work so have been trying out extensions over time.
Maybe the issue is related to incompatibility. The main use of extensions within vscode for me is the need for vim and html formatting.
Thank you
Gary
From: Andrii Dieiev ***@***.***>
Sent: Tuesday, 5 December 2023 10:18 AM
To: microsoft/vscode ***@***.***>
Cc: THOMANN Gary ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/vscode] report bug with html js reformatting function, adding spaces between single character compasison operators: '?.' '??', (Issue #199995)
This email originates outside of the City of Gold Coast's email system. If suspicious, report it using the 'Report Email' button.
/needsMoreInfo
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/microsoft/vscode/issues/199995*issuecomment-1839784788__;Iw!!PX8YCuhyWdof-Kje!RN9mZ0oBsKfWOPQgZdsniB70tWXLNoNY7SkcndGW4MUPNXfbkGwRu_ANAsg8kTFYyJktSuIvC6a0kfZsmiNXCnFrlL3YfIdqlWz8$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BBDGA4OHGBSWNM7CAUNC5I3YHZR2RAVCNFSM6AAAAABAGZXQ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZG44DINZYHA__;!!PX8YCuhyWdof-Kje!RN9mZ0oBsKfWOPQgZdsniB70tWXLNoNY7SkcndGW4MUPNXfbkGwRu_ANAsg8kTFYyJktSuIvC6a0kfZsmiNXCnFrlL3YfMaclzCv$>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
[Facebook Logo]<https://www.facebook.com/cityofgoldcoast> [Twitter Logo] <https://twitter.com/cityofgoldcoast> [”Instagram] <https://instagram.com/cityofgoldcoast/> [”YouTube] <https://www.youtube.com/cityofgoldcoast> [linkedin Logo] <https://www.linkedin.com/company/city-of-gold-coast/>
[Please, let's put the anger away. Violence and aggression are never okay.]<https://www.goldcoast.qld.gov.au/Services?utm_source=email-banner&utm_medium=email&utm_campaign=occupational-violence-aggression>
Council of the City of Gold Coast - confidential communication
This email and any files transmitted with it are confidential and are intended solely for the use of the addressee. If you are not the intended recipient be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email and any file attachments is strictly prohibited. If you have received this email in error, please immediately notify us. You must destroy the original transmission and its contents. Before opening or using attachments, check them for viruses and defects. The contents of this email and its attachments may become scrambled, truncated or altered in transmission. Please notify us of any anomalies. Our liability is limited to resupplying the email and attached files or the cost of having them resupplied.
|
The command is provided by the |
You cannot use email to attach images, instead you should use github. And you have too much formatting extensions.
|
Type: Bug
'Format Selection As HTML' (right click mouse menu)
let result = name ?? text; becomes let result = name ? ? text;
let name = car?.name; becomes let name = car ? .name;
VS Code version: Code 1.84.2 (1a5daa3, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (9)
A/B Experiments
The text was updated successfully, but these errors were encountered: