config.js & code formatting
I’ve been having a great time playing around with MagicMirror so thanks to you all for the great work!
Throughout the learning process and all the slips trips and falls my config file is very messy and the formatting isn’t at all very neat.
What do guys do to keep your code in a neat and presentable way? Do you use any code editing software?What tips and tricks have you learnt?
@mayfield I use the bitvise ssh client from my windows machine to edit files on the pi. just double click to edit as always.
then I use notepad++, which has auto indent and good formatting . from my Mac, or Linux machines I use sublime-text as the editor
and vscode is pretty good here too
I don’t edit ON the pi
if u don’t want to edit at all, use my MMM-Config module, which presents a form to fill in