slackhq / vscode-hack

Hack language & HHVM debugger support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pranayagarwal.vscode-hack
MIT License
76 stars 38 forks source link

Correctly highlight default parameters on new lines #118

Closed Wilfred closed 3 years ago

Wilfred commented 3 years ago

Previously, we assumed that default parameters came after = on the same line. This isn't always true, especially when functions have large numbers of parameters.

Before:

Screenshot 2021-06-18 at 17 40 44

After:

Screenshot 2021-06-18 at 17 41 56