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

Syntax Highlighting not working when using Generics Typescript #436

Open
paiva-it opened this issue Oct 6, 2023 · 0 comments
Open

Syntax Highlighting not working when using Generics Typescript #436

paiva-it opened this issue Oct 6, 2023 · 0 comments
Labels

Comments

@paiva-it
Copy link

paiva-it commented Oct 6, 2023

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

@paiva-it paiva-it added the bug label Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant