Hello,
I already add the mod-file extension in editor, but obviously it is not work since it does not do any syntax highlight for my mod files.
That is unfortunately expected. Matlab does not support syntax highlighting for syntaxes other than Matlab and C++.
Are you by any chance on a Mac and using R2023b? There is an issue (confirmed with MATHWORKS, they fixed it for the next R2024a) with the old desktop about syntax highlighting in the editor not working anymore. You could try the new desktop (but there are other issues with dynare), or keep using r2023a if you need syntax highlighting.
1 Like
So helpfull!! I am confusing for a long time…hhhh
I guess this problem applies to a Windows machine too. I was using R2023b on windows 11, and when I tried applying syntax highlighting on mod files, it didn’t work. I switched back to R2022b and there it’s working completely fine.