Changes between Version 31 and Version 32 of DevelopersGuide/StyleGuide


Ignore:
Timestamp:
2017-02-10T23:28:06+01:00 (9 years ago)
Author:
Klumbumbus
Comment:

update hint

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/StyleGuide

    v31 v32  
    77 * make sure there is no trailing white space
    88 * don't use multiple consecutive empty lines
    9  * JOSM uses 4 characters indentation and no tab stops (If you use Notepad++ you can change the default indentation in the "Preferences" -> "Tab Settings" -> check "Replace by spaces" (this is permanent) or with the "change indentation settings" button in the toolbar by removing the check at "use tabs" (this is a temopary setting).)
     9 * JOSM uses 4 characters indentation and no tab stops. If you use Notepad++ you can change the default indentation in the "Preferences" -> "Language" -> "Tab Settings" -> check "Replace by spaces" (this is permanent) or with the "change indentation settings" button in the toolbar (this is a temopary setting and requires the plugin "Customize Toolbar").
    1010 * Document your code '''thoroughly'''. Many people will thank you :)
    1111 * add curly brackets for each {{{if}}}, unless it is followed by {{{return}}} (or maybe {{{throw}}})