VSCode, feature request: disable formatting
6 posts
• Page 1 of 1
VSCode, feature request: disable formatting
I prefer using phpcs and WordPress formatting rules. Please add an option to disable the PHP tools formater.
- soderlind
- Posts: 1
- Joined: October 26th, 2018, 8:50 am
Re: VSCode, feature request: disable formatting
Or, even better, allow us to configure the formatting.
Welcome to the zone where normal things don't happen very often.
- BladeMF
- Posts: 346
- Joined: October 10th, 2012, 7:14 am
Re: VSCode, feature request: disable formatting
It is a good idea.
We'll add an option to disable formatting. Just noting we are working on "WordPress" profile that respects the WordPress standards. In future we'll be providing selection formatting and autoformatting after typing semicolon and right braces (which other extensions don't/cannot have).
We'll add an option to disable formatting. Just noting we are working on "WordPress" profile that respects the WordPress standards. In future we'll be providing selection formatting and autoformatting after typing semicolon and right braces (which other extensions don't/cannot have).
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VSCode, feature request: disable formatting
Jakub Misek wrote:It is a good idea.
We'll add an option to disable formatting. Just noting we are working on "WordPress" profile that respects the WordPress standards. In future we'll be providing selection formatting and autoformatting after typing semicolon and right braces (which other extensions don't/cannot have).
I am very, VERY particular about how I want my code formatted. The dream scenario will be to have all the settings VS 2017 has about C# formatting (newlines and spaces part).
Welcome to the zone where normal things don't happen very often.
- BladeMF
- Posts: 346
- Joined: October 10th, 2012, 7:14 am
Re: VSCode, feature request: disable formatting
Jakub Misek wrote:It is a good idea.
We'll add an option to disable formatting. Just noting we are working on "WordPress" profile that respects the WordPress standards. In future we'll be providing selection formatting and autoformatting after typing semicolon and right braces (which other extensions don't/cannot have).
But I would be happy with disabling. Or maybe choosing where my opening braces are put at least.
Welcome to the zone where normal things don't happen very often.
- BladeMF
- Posts: 346
- Joined: October 10th, 2012, 7:14 am
Re: VSCode, feature request: disable formatting
Yes, disabling will be an option. Anyways, opening braces will be configurable.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 43 guests