Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-33135: Indentation of many-line statements

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created Dec 7, 2006 10:27:08 PM
Updated Mar 5, 2012 6:40:09 PM
Priority Critical
Type Feature
Fix versions 7.0
State Open
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Cleanup
Affected versions No Affected versions
Fixed in build No Fixed in build
This issue has been created from an NNTP article.
----

Since there is no <pre> support, assume ">" indicates one level of indentation.

I would like long string statements to be aligned this way:
string s =
"long part 1\n" +
"long part 2";


Unfortunately, it would appear that the only relevant setting in ReSharper Options is found under C# | Other | Indentation | Continuous line indent multiplier; setting this value to "1" yields:
string s =
"long part 1\n" +
"long part 2";


Setting this value to "0" yields:
string s =
"long part 1\n" +
"long part 2";

Neither is correct. Am I missing something, or is the formatting I desire not possible?

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>