MATLAB-extension-for-vscode icon indicating copy to clipboard operation
MATLAB-extension-for-vscode copied to clipboard

Make different highlighting for function call and variable field access

Open Chrysaloid opened this issue 1 year ago • 2 comments

At the moment in general variables are blue and functions are yellow. But take a look at this abstract example: image Everything is OK except that when I access the first element in variable var in the second part of if statement condition, it is recognized as a function (thus the yellow color). Is there any possibility of fixing this rather small issue in the future?

Also, as I'm on it, global variables have the same color as local variables. I think they should have different colors. (Should I create another issue about this?)

Chrysaloid avatar Jul 27 '23 16:07 Chrysaloid

Thank you for reporting this! This is something we may consider for a future update.

Can you create a second issue about the global variables? I think it would be best to track these separately.

dklilley avatar Jul 27 '23 16:07 dklilley

This is something we may consider for a future update.

I'm glad for that.

Can you create a second issue about the global variables?

Done!

Chrysaloid avatar Jul 27 '23 19:07 Chrysaloid