-
Notifications
You must be signed in to change notification settings - Fork 130
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
parameter highlight #729
Comments
From @vscodebot[bot] on March 5, 2019 7:44 (Experimental duplicate detection) |
This looks like it's caused by an extension. I cannot reproduce this. |
From @vscodebot[bot] on March 5, 2019 16:6 This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. Happy Coding! |
From @bichikim on March 11, 2019 8:54 @alexr00 thank you for your time your image is the same image as mine if you add code below to settings.json {
"scope": [
"variable.parameter",
],
"settings": {
"foreground": "#9AD100",
"fontStyle": "",
}
}, Vscode does not know whether "value" or "parameter" is "const" or "parameter" so Vscode highlights "values" and "parameters" of the same color. But Webstorm does know that so parameter and value are not the same color at my second image. Highlighting two variables in a different color helps to determine which is the parameter. I ask the Vscode team to add this feature |
This is a change request for the TypeScript TextMate grammar we use then. In this example on lines 2 and 4, function myTest(parameter: any) {
console.log(parameter);
const value: string = 'value';
console.log(value);
} |
I don't think this is possible with textmate grammars actually. |
From @bichikim on March 5, 2019 7:44
The image below is highlighting codes in Vscode now
I hope the parameters in the function are highlighted as shown below.
Copied from original issue: microsoft/vscode#69824
The text was updated successfully, but these errors were encountered: