Live Editor support for Visual Studio Code

Is there support for Live Scripts for Visual Studio like the one for Jupyter Notebooks?. My main interest is to employ GitHub Copilot with MATLAB Live Scripts. I've found support for .m classic scripts but no luck so far for mlx.
Alternatively: is there any way to employ GitHub Copilot inside MATLAB?

3 个评论

I don't think this is supported yet.
Someone requested here to the authors of the Matlab extension for VSCode to add support for it but so far no progress has been announced.
to the OP - you say that you have already used GitHub Copilot with classic .m MATLAB scripts. Is the copilot AI any good for MATLAB in your experience?
I use it (in vscode) and it is excellent.

请先登录,再进行评论。

回答(1 个)

Beginning with MATLAB R2024b, the new MATLAB Desktop introduces an option of saving MLX to M based live script. Settings can be updated so that all the new live scripts would be M based (source: [1] [2])
Additionally, significant advancements have been made in the official MATLAB extension for Visual Studio Code. Refer to this blog from MathWorks for recent updates: https://blogs.mathworks.com/matlab/2024/03/05/matlab-extension-for-visual-studio-code-now-with-code-execution/
The MATLAB extension is available through the Visual Studio Marketplace and its development can be followed on the GitHub repository.

类别

帮助中心File Exchange 中查找有关 Integration with Online Platforms 的更多信息

产品

版本

R2021b

提问:

2022-6-12

回答:

2024-11-10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by