Closed dimaMachina closed 5 years ago
Yes, sure:
Making this screenshot, I've found a bug in TypeScript and Javascript highlighting. It'll be fixed in tomorrow's release.
Oh Jesus! Thank you, finally I will be able move to VSCode after this update Спасибо Евгений ! ;)
Не за что )))
Hello @B2o5T , I've published the new version. You can install it as usual. TypeScript and JavaScript are fixed.
Hi @EvgeniyPeshkov, I have installed 0.2.7 version. But I don't see any changes, did I miss something?
I expected to see function parameters have a different color than variables as in WebStorm
Oh... It seems I've misled you. Look at the very first answer. I thought you wanted all variables to be highlighted the same way. It's exactly what {Syntax Highlighter} does. But you were asking about all appearances of function's parameter to be highlighted not the same way as local variables. I'm afraid tree-sitter cannot handle this. Being just syntax analyzer, it doesn't track source of underling terms, it's task for language servers. Main idea behind {Syntax Highlighter} is to provide consistent, calm and neat colorization. Therefore we highlight all variables the same way, either they're local, global, static, members or parameters. I'm very sorry for this misunderstanding.
Did this extension solves this problem ? https://github.com/microsoft/vscode/issues/69824