
| Key: |
IDEABKL-4421
|
| Type: |
New Feature
|
| Status: |
Open
|
| Priority: |
Normal
|
| Assignee: |
Unassigned
|
| Reporter: |
Keith Lea
|
| Votes: |
0
|
| Watchers: |
0
|
|
Available Workflow Actions
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
| Build: |
3,512
|
| Severity: |
Medium
|
I'm very surprised I couldn't find a request for this in the tracker. I spend a lot of time manually formatting my code to make it look correct and easy to read. I don't want to run ctrl+alt+L formatter because it's not fine-grained enough and semantic enough to understand how I want my code formatted, so I do it manually.
I'd like inspections for when my code style prefs are violated. Some starters could be:
1. Line length
2. Wrapping
- for example, I always want the throws list to start on a new line if it has to wrap
- sometimes I extract a variable and things are over-wrapped because they were
initially wrapped based on the long expression, which is now a short variable name
3. Wrong indentation
- for example which occurs when renaming a method and parameter list is wrapped
- I wonder if this would catch bugs, too
|
|
Description
|
I'm very surprised I couldn't find a request for this in the tracker. I spend a lot of time manually formatting my code to make it look correct and easy to read. I don't want to run ctrl+alt+L formatter because it's not fine-grained enough and semantic enough to understand how I want my code formatted, so I do it manually.
I'd like inspections for when my code style prefs are violated. Some starters could be:
1. Line length
2. Wrapping
- for example, I always want the throws list to start on a new line if it has to wrap
- sometimes I extract a variable and things are over-wrapped because they were
initially wrapped based on the long expression, which is now a short variable name
3. Wrong indentation
- for example which occurs when renaming a method and parameter list is wrapped
- I wonder if this would catch bugs, too
|
Show » |
| There are no comments yet on this issue.
|
|