apommel / vscode-matlab-interactive-terminal

VS Code extension allowing for an interactive Matlab terminal and launching of scripts through Matlab Engine for Python
MIT License
46 stars 10 forks source link

Automate the installation process #36

Closed ghost closed 3 years ago

ghost commented 3 years ago

We add an extension command that runs a shell script. What installation steps and checks would we do here?

apommel commented 3 years ago

You mean automating the MATLAB Engine installation ? I think the biggest issue with this would be that on a typical MATLAB/Python installation, admin rights are required to install the engine, on Windows at least.

ghost commented 3 years ago

Perhaps a Powershell script for Windows only? And sudo for Unix?

apommel commented 3 years ago

In any case it would require elevated privilege, and I don't feel a VS Code extension should ask for that. The installation process is sadly not straightforward, but I did not receive any complaints about it, so I guess it is fine as it is now.

ghost commented 3 years ago

Sure, such a script would fail review even though it would be useful