microsoft / TypeScript-TmLanguage

TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
MIT License
415 stars 128 forks source link

Colorization of method arguments does not persist when using the method shorthand syntax #86

Closed aeschli closed 8 years ago

aeschli commented 8 years ago

From @matt-diehl on February 11, 2016 17:51

Upon changing an object's method declaration from the standard syntax to the shorthand (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions), the colorization of the method arguments goes away.

VS Code version: 0.10.8

Happens with all themes, as far as I can tell.

method-shorthand

Copied from original issue: Microsoft/vscode#2944

sheetalkamat commented 8 years ago

Fixed by #257