Skip to main content

packages - Formatting in *.m file


I have my own package (just a bunch of functions) in the *.m file, which I load using the Needs[] command. Everything works fine except for one detail: each time I want to edit the package and open it by double clicking in the file explorer, Mathematica opens the *.m file with all the formatting removed (no indentation whatsoever). Is there a way to avoid this?




Comments