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

TS arrow functions in classes break theme coloring. #119

Closed
aeschli opened this issue Mar 10, 2016 · 1 comment
Closed

TS arrow functions in classes break theme coloring. #119

aeschli opened this issue Mar 10, 2016 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Mar 10, 2016

From @nozzlegear on March 9, 2016 16:3

Adding an arrow function to a TS class breaks the VSCode theme. Compare this screenshot:

before-arrow-function

To this one, after changing the Test function to an arrow function:

after-arrow-function

I've tested this in both the Dark default and Light default theme, bug is present in both themes. It's also present in both .ts and .tsx files. I'm using VSCode version 0.10.10.

Steps to reproduce:

  1. Create a new TS file and give it a class.
  2. Add two normal functions to that class (i.e. public SomeMethod() { } public OtherMethod() { } ).
  3. Change the first function to an arrow function ( public SomeMethod = () => { } ).
  4. Theme colors on all functions below SomeMethod are now broken.

Copied from original issue: microsoft/vscode#3919

@sheetalkamat
Copy link
Member

Fixed by #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants