From acfca30899e4831a689282911e0ced00dc5f4aad Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 23 Aug 2016 19:58:22 +0200 Subject: [PATCH] HACKING: add a comment about the 3 config files for common editors. We have coding style config files for Emacs, Kate and Vim. --- HACKING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HACKING b/HACKING index 316547b5ac..7d3fdc7fc7 100644 --- a/HACKING +++ b/HACKING @@ -151,6 +151,12 @@ style is enforced. The GIMP coding style is defined as follows: starting in the first column of the following line. All parameters are prototyped and there's a new line for each. +The source tree contains local config files which can be used to set the +right coding style in common editors: `.dir-locals.el` for Emacs, +`.kateconfig` for Kate, and `devel-docs/c.vim` for Vim (check the top +comments to see how to enable it automatically when opening a file in +the GIMP tree). + Try to make use of GLib's object system as much as possible. Do not create wrappers around functions of parent classes. If you end up duplicating code, try to create a common parent class and implement