Inserting methods without spaces before and after parentheses

Christoph Bartoschek bartoschek at gmx.de
Fri Jul 7 22:31:08 UTC 2006


Hi,

here is a patch that lets kdevelop 3.4 use the "Add spaces around 
parentheses" setting from Formatting when it inserts new members via "Make 
Member" or Command Completion. 

When the option is enabled the current behaviour is seen 

void func( int a, int b );

Otherwise functions look like this:

void func(int a, int b);

There is a problem remaining. The code completion code in kate inserts a 
space between entry.text and entry.postfix sucht that the tooltip has a 
superflouos space.

Greetings
Christoph Bartoschek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert_functions_without_spaces_considering_astyle_setting.patch
Type: text/x-diff
Size: 3561 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060708/34135825/attachment.bin>


More information about the KDevelop-devel mailing list