<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 25 Mar 2016, at 3:53 AM, Michael Balzer <<a href="mailto:dexter@expeedo.de" class="">dexter@expeedo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Tom,<br class=""><br class="">I'm afraid the mix of code styles is my fault... there are still parts<br class="">in the framework I've done in my style, and my style is not always<br class="">consistent as well.<br class=""><br class="">I configured my MPLAB options to get the default style but also<br class="">occasionally forgot to reformat my work before committing.<br class=""><br class="">I've attached my formatting options export from MPLAB IDE, should be<br class="">importable directly. Please check if you can use this.<br class=""><br class="">Regards,<br class="">Michael<br class=""><br class=""><br class="">Am 20.03.2016 um 02:55 schrieb Tom Parker:<br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">I've made a few improvements to the nissan leaf code (see<br class=""><a href="https://carrott.org/git/Open-Vehicle-Monitoring-System.git/log/refs/heads/nissan-leaf" class="">https://carrott.org/git/Open-Vehicle-Monitoring-System.git/log/refs/heads/nissan-leaf</a><br class="">and the climate control branch on the same server ) and I noticed it<br class="">had a mix of code styles. I'd like to reformat it to be consistent<br class="">(mostly because I can't write consistently formatted code without a<br class="">code formatter) and wanted to know if there is an agreed format to use<br class="">-- there is nothing worse than trying to trace changes through a code<br class="">formatting war in the history?<br class=""><br class="">I'm currently using the default mplabx code format configuration which<br class="">suits me but is different from most of the rest of the OVMS code. Is<br class="">there a configuration for mplabx I can import?<br class=""><br class=""><br class=""><br class=""></blockquote><br class="">-- <br class="">Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<br class="">Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<br class=""><br class=""><span id="cid:1486F22F-9451-4A53-8CAE-5886EFAEC9AD" class=""><mplab-formatting.zip></span><span id="cid:E7DDA2A4-43EA-4367-B28E-231445761131" class=""><dexter.vcf></span>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class=""><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br class=""></div></div></blockquote></div><br class=""></div></div></div></body></html>