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

Editor not coloring JS comments correct #84034

Closed
Loffis opened this issue Nov 6, 2019 · 3 comments
Closed

Editor not coloring JS comments correct #84034

Loffis opened this issue Nov 6, 2019 · 3 comments
Assignees
Labels
confirmed Issue has been confirmed by VS Code Team member grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@Loffis
Copy link

Loffis commented Nov 6, 2019

Issue Type: Bug

Hi,

The editor won't color the comments correct in row 2 & 3. See below.

1 console.log("4" * "5"); // 20
2 console.log('4' / '2'); // 2
3 console.log("4" / "2"); // 2
4 console.log(4 / 2); // 2
5 console.log(4 * "5"); // 20

VS Code version: Code 1.39.2 (6ab5985, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.85GB (8.00GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (2)
Extension Author (truncated) Version
LiveServer rit 5.6.1
html-preview-vscode tht 0.2.5
@vscodebot
Copy link

vscodebot bot commented Nov 6, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@gjsjohnmurray
Copy link
Contributor

/confirm
image

Also happens in 1.40.0-insider

@mjbvz
Copy link
Collaborator

mjbvz commented Nov 7, 2019

Opened microsoft/TypeScript-TmLanguage#787 to track upstream

@mjbvz mjbvz closed this as completed Nov 7, 2019
@mjbvz mjbvz added grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream labels Nov 7, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
confirmed Issue has been confirmed by VS Code Team member grammar Syntax highlighting grammar javascript JavaScript support issues typescript Typescript support issues upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

3 participants