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 syntax highlighting problem #867

Closed
iPherian opened this issue Apr 1, 2021 · 1 comment
Closed

Typescript syntax highlighting problem #867

iPherian opened this issue Apr 1, 2021 · 1 comment
Labels
duplicate limitation Issue is result of tmLanguage limitation where in the lookup does not go beyond current line

Comments

@iPherian
Copy link

iPherian commented Apr 1, 2021

Issue Type: Bug

vscode-syntax-highlight-typescript-problem

Expected: "return" statement to be highlighted purple.

Doesn't happen if the call to genericFunc<> is all on one line.

class Widget {
  method() {
    const val = {
      prop: genericFunc<
        SomeType,
        {}
      >()
    };
    return val;
  }
}

VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:55.261Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.94GB (17.11GB free)
Process Argv --disable-extensions --crash-reporter-id 869c8817-5467-449c-9ba8-0630b9fb4eb2
Screen Reader no
VM 0%
Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspyt653:30270858
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt875:30259475
pythonvspyt639:30281910
pythontb:30283811
openwslfolder:30282073
vscoresta800:30279781
vspre833:30267464
pythonptprofiler:30281270
vshan820:30276952
pythondataviewer:30283453

@mjbvz mjbvz transferred this issue from microsoft/vscode Apr 2, 2021
@mjbvz mjbvz removed their assignment Apr 2, 2021
@sheetalkamat
Copy link
Member

Duplicate of #767

@sheetalkamat sheetalkamat marked this as a duplicate of #767 Apr 6, 2021
@sheetalkamat sheetalkamat added duplicate limitation Issue is result of tmLanguage limitation where in the lookup does not go beyond current line labels Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate limitation Issue is result of tmLanguage limitation where in the lookup does not go beyond current line
Projects
None yet
Development

No branches or pull requests

3 participants