This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[KDevelop] How to configure PHP source formatting

Tags: None
(comma "," separated)
Lars_18
Registered Member
Posts
1
Karma
0
OS
Hi! I've a little problem with KDevelop configuration.

Is there any possibility to configure PHP source formatting? When I'm typing class keyword and pressing enter after it, KDevelop puts snippet in the code:
Code: Select all
class NAME {
   
}

How can I configure KDevelop to put the opening bracket in new line? The same situation takes place when I'm typing other statements, like if or for. KDevelop puts space before bracket and keeps curly bracket in the same line.

I tried to configure app in Settings > Configure KDevelop > Source Formatter but every time I save the configuration it disappears. Also, I cannot find PHP mimetype there.

Thanks.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell