Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Syntax Highlighting not working when using Generics TypescriptΒ #436

@paiva-it

Description

@paiva-it

Issue
Issue occurring across multiple themes, multiple versions, for years, finally came to create an issue for it πŸ˜…

Syntax Highlighting doesn't work properly when using Generic Typescript types:

i.e.

styled(SliderPrimitive.Track)

This works great

styled(SomeComponent).withConfig(SomeConfig)<SomeType>

Also works great

styled(SomeComponent)<SomeType>

Shows syntax as string instead of css

Screenshots
image
image

  • OS: Mac Os
  • VSCode Version: 1.84.0-insider (Universal) but it's been an issue for several years, so multiple versions
  • Extension Version: 1.7.8 but it's been an issue for several years, so multiple versions

Extensions
amatiasq.sort-imports
bradlc.vscode-tailwindcss
cschlosser.doxdocgen
daohong-emilio.yash
esbenp.prettier-vscode
GitHub.copilot
GitHub.copilot-chat
GitHub.copilot-labs
GitHub.heygithub
jbockle.jbockle-format-files
jeff-hykin.better-cpp-syntax
josetr.cmake-language-support-vscode
ms-dotnettools.csharp
ms-dotnettools.vscode-dotnet-runtime
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode-remote.remote-wsl
ms-vscode.cmake-tools
ms-vscode.cpptools
ms-vscode.cpptools-extension-pack
ms-vscode.cpptools-themes
ms-vscode.remote-explorer
ms-vscode.vscode-typescript-next
ms-vsliveshare.vsliveshare
naumovs.theme-oceanicnext
Postman.postman-for-vscode
Prisma.prisma
statelyai.stately-vscode
twxs.cmake
usernamehw.errorlens
vscode-icons-team.vscode-icons
WallabyJs.quokka-vscode
wix.glean
yoavbls.pretty-ts-errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions