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 of method signatures broken when long lines are wrapped. #48858

Closed
majelbstoat opened this issue Apr 27, 2018 · 3 comments
Assignees
Labels
grammar Syntax highlighting grammar typescript Typescript support issues

Comments

@majelbstoat
Copy link

majelbstoat commented Apr 27, 2018

Using 1.22.2, Typescript 2.8.1

Syntax highlighting is correct in the first screenshot:
screenshot 2018-04-27 13 12 22

When wrapped due to line length, the highlighting is somewhat broken:
screenshot 2018-04-27 13 12 38

(I searched, couldn't find a duplicate)

@vscodebot vscodebot bot added the editor label Apr 27, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 27, 2018

Please share the text from those screenshots

@mjbvz mjbvz self-assigned this Apr 27, 2018
@mjbvz mjbvz added the info-needed Issue requires more information from poster label Apr 27, 2018
@majelbstoat
Copy link
Author

majelbstoat commented Apr 27, 2018

  urls = (
    params: { [key: string]: string | number } = {},
    extra: { [key: string]: string | number } = {}
  ): URLPair => {
    // ... 
  }

@mjbvz mjbvz added typescript Typescript support issues grammar Syntax highlighting grammar and removed info-needed Issue requires more information from poster labels Apr 27, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 27, 2018

Thanks. Seems fixed in VS Code insiders:

screen shot 2018-04-27 at 4 04 35 pm

@mjbvz mjbvz closed this as completed Apr 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 11, 2018
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
Projects
None yet
Development

No branches or pull requests

2 participants