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 fails when generic type declaration spans many lines #29135

Closed
egeozcan opened this issue Jun 20, 2017 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@egeozcan
Copy link

  • VSCode Version: Code 1.13.1 (379d2ef, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
dart-code DanTup 1.4.2
vscode-eslint dbaeumer 1.2.11
tslint eg2 0.15.0
prettier-vscode esbenp 0.19.0
terminal formulahendry 0.0.8
nim kosz78 0.5.23
Go lukehoban 0.6.62
csharp ms-vscode 1.10.0
sublime-keybindings ms-vscode 2.0.1
debugger-for-chrome msjsdiag 3.1.4

Steps to Reproduce:

  1. Insert this code into a TypeScript file:
const connectedComponent = connect<
	ApplicationState,
	Dispatch<TodoAction>,
	HomeComponent
>(mapStateToProps, mapDispatchToProps)(Home);
  1. Syntax highlighting fails

code_2017-06-20_22-16-08

@mjbvz mjbvz self-assigned this Jun 20, 2017
@mjbvz mjbvz added grammar Syntax highlighting grammar typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Jun 20, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Jun 20, 2017

Moved to the ts grammar repo: microsoft/TypeScript-TmLanguage#475

@mjbvz mjbvz closed this as completed Jun 20, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants