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

TypeScript/JavaScript syntax highlighting breaks on comparison operators (< or >) #689

Closed
AlexeyMz opened this issue Nov 28, 2018 · 0 comments

Comments

@AlexeyMz
Copy link

Issue Type: Bug

Steps to Reproduce:

  1. Type following TypeScript (or JavaScript) code in a new file:
const x = 1;
const y = (
    x > x ? 2 :
    x < x ? 3 :
    4
);
const foo = y;
const bar = `${x} ${y}`;
  1. Syntax highlighting breaks somewhere between after greater than (<) or less than operator (>):
    syntax-highlight-ts-bug

Does this issue occur when all extensions are disabled?: Yes

VS Code version: Code 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-11-15T19:13:36.375Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 x 2195)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: unavailable_off
Memory (System) 15.72GB (8.18GB free)
Process Argv .
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
EditorConfig Edi 0.12.5
tslint eg2 1.0.40
semantic-data-model-language fan 0.0.1
vscode-sshfs Kel 1.11.2
gitblame wad 2.6.2
@microsoft microsoft deleted a comment from vscodebot bot Nov 28, 2018
@mjbvz mjbvz transferred this issue from microsoft/vscode Nov 29, 2018
@mjbvz mjbvz removed their assignment Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants