dotnet/roslyn
Argument wrapping fails in the precense of comments
Aberta
#40.368 aberto em 13 de dez. de 2019
Area-IDEBugIDE-CodeStylehelp wanted
Métricas do repositório
- Stars
- (20.414 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)
Description
Consider this code:
public void M(object param1, object param2)
{
M(
1,
// Comment
2);
}
We do not show any help for adjusting how the comments are wrapped in this case. While I understand not being able to unwrap comments here (where are we supposed to put the comment, after all), changing the indentation level of the arguments should be possible. /cc @CyrusNajmabadi for thoughts on how this could be improved.