Reporter | Tor Hovland (torhovland) |
---|---|
Created | Jan 10, 2012 3:55:53 PM |
Updated | Feb 2, 2012 9:15:07 PM |
Resolved | Feb 2, 2012 5:03:16 PM |
Priority | Normal |
Type | Bug |
Fix versions | 6.1.1 |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Cleanup |
Affected versions | 6.1 |
Fixed in build | 6.5.1.3937 |
How to reproduce:
1. ReSharper -> Tools -> Cleanup Code.
2. Edit Profiles.
3. Add new, and enter a name.
4. Under "Use var in declaration", set the following options:
- Replace direction: Can change explicit to 'var' and vice versa
- 'foreach' iterator declaration style: Use 'var' except for built-in types
- Local variable declartion style: Use 'var' except for built-in types
5. Save.
6. ReSharper -> Tools -> Cleanup Code.
7. Edit the profile you added.
8. Observe that "Replace direction" has been set correctly, but that the other two options still have their default values set.
1. ReSharper -> Tools -> Cleanup Code.
2. Edit Profiles.
3. Add new, and enter a name.
4. Under "Use var in declaration", set the following options:
- Replace direction: Can change explicit to 'var' and vice versa
- 'foreach' iterator declaration style: Use 'var' except for built-in types
- Local variable declartion style: Use 'var' except for built-in types
5. Save.
6. ReSharper -> Tools -> Cleanup Code.
7. Edit the profile you added.
8. Observe that "Replace direction" has been set correctly, but that the other two options still have their default values set.