variable = [1, 2, 3, 4, 5]; % A 1x5 vector represented by a variable
indexed_variable = variable(2); % We now index that variable to make a new variable
Filename and Language selected
This is a .m file, the file extension used for a basic MATLAB program. VSCode is also using MATLAB for this file.
VSCode theme Screenshot
Versions used
VSCode version: 1.87.1
Theme version: 2.3.0
Extra information
In MATLAB, functions call arguments through (). However, variable indexing is also handled through (). It seems like the theme is assuming that the variables are actually functions. I use the official MATLAB plugin for VSCode.
Sample code
Filename and Language selected
This is a .m file, the file extension used for a basic MATLAB program. VSCode is also using MATLAB for this file.
VSCode theme Screenshot
Versions used
Extra information
In MATLAB, functions call arguments through (). However, variable indexing is also handled through (). It seems like the theme is assuming that the variables are actually functions. I use the official MATLAB plugin for VSCode.