jvolkman / intellij-protobuf-editor

Protocol Buffers for IntelliJ-based IDEs
Apache License 2.0
122 stars 15 forks source link

Proto formatting #26

Open z0mb1ek opened 4 years ago

z0mb1ek commented 4 years ago

Hi, big thx for your work.

I use https://plugins.jetbrains.com/plugin/8277-protobuf-support previously and it has formatting features like the alignment of the brackets and indent 4 spaces like default in IDEA

jvolkman commented 4 years ago

As far as I know this plugin should support at least as much formatting as the previous plugin. See the screenshot below for the settings page.

Is there something specific that is not working properly? Some more advanced features like aligning field names and numbers into columns aren't supported at this time, but I don't believe they were supported by the previous plugin either.

image

z0mb1ek commented 4 years ago

Thx for reply, yes, indent now work well, but alignment of the brackets does not work

jvolkman commented 4 years ago

Can you provide an example screenshot or file and the result you'd like?

z0mb1ek commented 4 years ago
Screenshot 2020-07-16 at 17 01 17

this one I want to get like:

Screenshot 2020-07-16 at 17 01 42
jvolkman commented 4 years ago

Thanks

SilkageNet commented 3 years ago

0.0 Will this problem be fixed?

jvolkman commented 3 years ago

Probably not by me. JetBrains develops this plugin now: https://github.com/JetBrains/intellij-plugins/tree/master/protobuf