You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MATLAB, you can right-click on a selection and use the "Evaluate Selection in Command Window" option from the context menu to execute the selected code.
Right now, the only similar option in VS Code is "Evaluate in Debug Console", which executes the code in the VS console and not in the MATLAB terminal (which throws a suitable warning).
I suggest adding the option for "Evaluate Selection in MATLAB Terminal". Bonus points for assigning F9 as the keyboard shortcut to mimic MATLAB (I think F9 is already assigned, so some other single-key shortcut would be okay).
MATLAB behavior:
VS Code Behavior:
The text was updated successfully, but these errors were encountered:
In MATLAB, you can right-click on a selection and use the "Evaluate Selection in Command Window" option from the context menu to execute the selected code.
Right now, the only similar option in VS Code is "Evaluate in Debug Console", which executes the code in the VS console and not in the MATLAB terminal (which throws a suitable warning).
I suggest adding the option for "Evaluate Selection in MATLAB Terminal". Bonus points for assigning F9 as the keyboard shortcut to mimic MATLAB (I think F9 is already assigned, so some other single-key shortcut would be okay).
MATLAB behavior:
VS Code Behavior:
The text was updated successfully, but these errors were encountered: