Vscode-intelephense: Curly bracket on the same line ?

Created on 7 Mar 2018  路  7Comments  路  Source: bmewburn/vscode-intelephense

Hi,

It was asked before (like here https://github.com/bmewburn/vscode-intelephense/issues/26), however, I wasn't able to find a solution for it.

Thank you

Most helpful comment

I was able to leave brackets on same line with k&r

image

All 7 comments

There's no settings to customise formatting. The design goal is to have a minimal config, PSR2 formatter. You can disable this formatter in settings and install a more configurable formatter.

Is this still the case?

I just installed Intelephense because it seems very promising, but really didn't like how to reformatted all my starting braces to the next line. I searched and searched for config options, but only found this post. I think you are doing something great...I just can't live with braces on the next line.

Where do I disable "the formatter in settings"?

@eh1160 - From what i see, you can disable Formatter in settings:

obraz

Is there still no way to prevent brackets from being forced to the next line? Thanks

Hello,
I have purchased the license of your promising plugin.
Unfortunately the bracket formatting is a nightmare in PHP.
We should be able to configure the formatting according our PSR or our phpcs rule.
Can you help on this?.
Kind regards.

Hello,
I have purchased the license of your promising plugin.
Unfortunately the bracket formatting is a nightmare in PHP.
We should be able to configure the formatting according our PSR or our phpcs rule.
Can you help on this?.
Kind regards.

You are asking about something in a closed issue so i recommend creating a new ticket
Anyway the goal of the project was minimal configuration, formatter PSR2.
I don't know what the target looks like now.
Here is a ticket (#729) regarding the possibility of changing the formatter,

I was able to leave brackets on same line with k&r

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zlianon picture zlianon  路  4Comments

vanasis picture vanasis  路  4Comments

ghnp5 picture ghnp5  路  3Comments

aleksandervines picture aleksandervines  路  3Comments

zlianon picture zlianon  路  3Comments