I code in Matlab/octave very often. While having several good features it lacks a good editor. My question is that is there any other good editor for it. My preference is intellij Idea, which is one the best IDEs I've ever tried. In this regard, can I connect octave or matlab to intellij (e.g. via some plugins)?
3 Answers
I've implemented Matlab plugin for IntelliJ: https://github.com/kornilova-l/matlab-IntelliJ-plugin It has syntax highlighting, resolve, rename and autocompletion. I continue development so submit an issue on GitHub if you miss some feature or you found a bug

- 521
- 4
- 8
-
That's great. Can I compile Matlab with it now? – Hamid Jul 22 '18 at 05:48
-
please let me know if you completed the development. – Hamid Jul 22 '18 at 05:49
-
@Hamid, no, currently plugin has only lexer, I've created an issue in the GitHub repo about running files from IDE, so I'll do it sometime in future – Liudmila Kornilova Jul 22 '18 at 10:04
-
@Hamid, it's possible to run .m files from IDE in version 0.2. Also I fixed string highlighting – Liudmila Kornilova Jul 31 '18 at 12:59
-
Thanks. That would be great if you add autocomplete and live template features as well! – Hamid Jul 31 '18 at 21:50
For octave support, you could use the textmate bundle support.
Install the Textmate Bundle Support plugin first and then follow the instructions here on how to add any textmate bundle.
https://www.jetbrains.com/help/pycharm/using-textmate-bundles.html
This here is a matlab/octave bundle that you could then use.

- 736
- 1
- 11
- 23
-
That worked. But, how can I have autocomplete feature and Matlab run in the IntelliJ too? – Hamid Jan 29 '18 at 22:39
-
-
Sure, but there should be a way for introducing path folders to IntelliJ so that the namespace of the IntelliJ will be modified – Hamid Feb 02 '18 at 13:00
-
@Sudhir, After installing the TextMate bundle plugin in pycharm, I can't see how & where to install the octave instructions? any suggestion? – Anu Dec 11 '18 at 17:51
-
@anu the instructions are available at https://www.jetbrains.com/help/pycharm/tutorial-using-textmate-bundles.html under the "Importing Bundles" section. Octave is mostly compatible with matlab. So the matlab support should work. – Sudhir Dec 19 '18 at 08:08
for Octave
https://github.com/tomconder/octaveplugin
https://github.com/demongoo/idea-octave-plugin
https://github.com/idkravitz/octave-idea-plugin
UPDATE:
thanks @GameOfThrows
I confused Wolframs Mathematica with Matlab. Look like at the moment there is no MatLab plugin for IntelliJ
this is for Mathematica:
https://plugins.jetbrains.com/plugin/7232-mathematica-support

- 827
- 13
- 25
-
Mathematica is not really Matlab, there's no support from jetbrains on Matlab – GameOfThrows Sep 22 '17 at 15:25
-
-
-
-
Hamid, unfortunately no I havent. But this could be helpful i think https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/deploying_plugin.html – R A Sep 29 '17 at 21:04