Suggestion for "Reformat Code"

Hi.

I have a suggestion for reformatting code and code style.

Add a new kind of code style - code order.
Things that could go in there:
1. Method ordering (e.g. public, then protected then private).
2. Placement of member variables
3. Placement of getters/setters
4. Placement of constants

Refactor Code could shift code around to conform to that.

Amnon


3 comments

I guess this is what you're asking for.

http://www.intellij.net/tracker/idea/viewSCR?publicId=4733

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:b4090o$n0b$1@is.intellij.net...

Hi.

>

I have a suggestion for reformatting code and code style.

>

Add a new kind of code style - code order.
Things that could go in there:
1. Method ordering (e.g. public, then protected then private).
2. Placement of member variables
3. Placement of getters/setters
4. Placement of constants

>

Refactor Code could shift code around to conform to that.

>

Amnon

>
>


0

Yup, that's exactly that.

Hopefully we'll see it happen.

Amnon

"Maxim Shafirov" <max@intellij.net> wrote in message
news:b409uo$p1j$1@is.intellij.net...

I guess this is what you're asking for.

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=4733

>

--

>

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

>
>

"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:b4090o$n0b$1@is.intellij.net...

Hi.

>

I have a suggestion for reformatting code and code style.

>

Add a new kind of code style - code order.
Things that could go in there:
1. Method ordering (e.g. public, then protected then private).
2. Placement of member variables
3. Placement of getters/setters
4. Placement of constants

>

Refactor Code could shift code around to conform to that.

>

Amnon

>
>

>
>


0

Please sign in to leave a comment.