History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3594
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Peter Lawrey
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Auto detect code style.

Created: 17 Mar 06 12:50   Updated: 20 Feb 07 14:51
Component/s: Editor. Editing Text
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP

Build: 4,155
Severity: Low


 Description  « Hide
When working on a large code base across many projects, you have files which are different code styles.
As the code is version controlled, it is not desirable to reformat all the code.

Ideally, idea could auto detect the code style for a file and match the style.
OR in the worst case, it just remember the style on a file by file basis. (ugly)

Style differences include
2 space indentation, 4 space indentation, tab indentation.



 All   Comments   Work Log   Change History      Sort Order:
Bas Leijdekkers - 20 Mar 06 13:45

Jonas Kvarnstrom - 20 Feb 07 13:49
Seems to be a duplicate of http://jetbrains.net/jira/browse/IDEABKL-1700 as well as the ones that Bas suggested.

Peter Lawrey - 20 Feb 07 14:51
It appears similar.
I now think that code style should be only one a per module basis. Any lower than that would probably be unmanageable.