更新时间:2023-11-29 09:33:52
我有ReSharper 4.1,它确实提供了这个选项(在任何一个方向上)。
I've got ReSharper 4.1, and it does offer this option (in either direction).
实际上,我建议挑战该标准。 。前者比后者更具可读性(特别是如果您调用变量 pair
或类似的名称)。对于 var i = 0
,我不会使用 var,但是它非常适合以上情况。
Actually, I'd recommend challenging the standard... the former is far more readable than the latter (especially if you call the variable pair
or something similar). I would't use "var" for var i = 0
, but it is ideally suited to the above.
要进行批量更改,请访问:
For bulk changing, go to:
并运行...