microsoft / TypeScript-TmLanguage

TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
MIT License
398 stars 125 forks source link

Incorrect Highlighting of Multi-line Generic Type List when used in object #903

Closed szubariev closed 1 year ago

szubariev commented 2 years ago

vscode v1.65.2

similar to: microsoft/TypeScript-TmLanguage#452

Code

function test<T1, T2, T3, T4>() {
    // code
}
interface IT1 {
    p: string;
}
interface IT2 {
    p: string;
}
interface IT3 {
    p: string;
}
interface IT4 {
    p: string;
}
const store = {
    colorsAsExpected: test<T1, T2, T3, T4>(),
    colorsDifferent: test<
        T1,
        T2,
        T3,
        T4
    >(),
}
image
BryceBarbara commented 1 year ago

@sheetalkamat Going off of this, it appears this one has been unaddressed for some time. Do you have any information on who might be maintaining this at this time?

sheetalkamat commented 1 year ago

This is duplicate of #475 and limitation of tmlanguage syntax