This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
Is your feature request related to a problem? Please describe.
Opening figures from the VS Code UI does not seem to be something that is currently supported. Opening the figure outside VS Code, in my experience, requires me to close VS Code so the MATLAB session is freed. A solution that does not require closing VS Code while leveraging the UI is desired.
Describe the solution you'd like
An option to open a figure from a context menu by right-clicking on a .fig file from the file explorer would be a nice solution, much like how adding files/folders to the MATLAB path works for the extension right now. The figure should open in a separate window.
Describe alternatives you've considered
I currently do the following to open a .fig file from VS Code:
Right-click the .fig file that I want to open
Select "Copy Path" from the context menu
Open the MATLAB terminal, call the openfig function, and paste the copied path in as an argument to the function
Is your feature request related to a problem? Please describe. Opening figures from the VS Code UI does not seem to be something that is currently supported. Opening the figure outside VS Code, in my experience, requires me to close VS Code so the MATLAB session is freed. A solution that does not require closing VS Code while leveraging the UI is desired.
Describe the solution you'd like An option to open a figure from a context menu by right-clicking on a
.fig
file from the file explorer would be a nice solution, much like how adding files/folders to the MATLAB path works for the extension right now. The figure should open in a separate window.Describe alternatives you've considered I currently do the following to open a
.fig
file from VS Code:.fig
file that I want to openopenfig
function, and paste the copied path in as an argument to the function