Update HACKING file with coding style hints and tips

This commit is contained in:
Mike Fleetwood 2021-03-19 20:23:34 +00:00 committed by Curtis Gedak
parent 690fedfff9
commit 7e441c8d87
1 changed files with 16 additions and 0 deletions

16
HACKING
View File

@ -20,6 +20,22 @@ Curtis
Coding style
============
The GParted code is all over the place in terms of coding style. New
code, and updated code where reasonable, should use Allman style and
Smart Tabs alignment. See src/OptionComboBox.cc and
src/SupportedFileSystems.cc as examples. Don't worry too much about the
style, we can always adjust it if necessary during the review and merge
process.
* https://en.wikipedia.org/wiki/Indentation_style#Allman_style
* https://www.emacswiki.org/emacs/SmartTabs
* https://vim.fandom.com/wiki/Indent_with_tabs,_align_with_spaces
Translatable files
==================