Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: code formatter customization #225

Open
GoogleCodeExporter opened this issue Oct 15, 2015 · 2 comments
Open

Feature request: code formatter customization #225

GoogleCodeExporter opened this issue Oct 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. It is not possible to customize the code style
2. It is not possible to disable the code formatter

What is the expected output? What do you see instead?

Would be nice to have a possibility to disable the formatter and do some basic 
customization, e.g. whether to put '{' on the same line as message definition 
or insert a new line. 

What version of the product are you using? On what operating system?

Protocol Buffer Editor 1.3.2.201207081052

Please provide any additional information below.

Example:


=== ACTUAL BEHAVIOR:

AddressBook.proto before formatting:

package test;import "common/Person.proto";
message AddressBook {repeated Person person = 1;}

AddressBook.proto after CTRL+SHIFT+F:

package test;

import "common/Person.proto";
message AddressBook {
    repeated Person person = 1;
}


=== EXPECTED BEHAVIOR after formatted customized respectively:

AddressBook.proto before formatting:

package test;import "common/Person.proto";
message AddressBook {repeated Person person = 1;}

AddressBook.proto after CTRL+SHIFT+F:

package test;

import "common/Person.proto";

message AddressBook
{
    repeated Person person = 1;
}

Original issue reported on code.google.com by [email protected] on 9 Oct 2012 at 10:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant