dotnet / dotnet/vscode-csharp

UnComment Long Comment when using ms-dotnettools.csharp as formatter in Blazor Server

Open
#4,965 2 comments 0 reactions 0 assignees View on GitHub
OmniSharp Razor
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

I use version v1.23.17 of OmniSharp C# for Visual Studio Code with following setting:
```
"settings": {
"editor.defaultFormatter": "ms-dotnettools.csharp",
"editor.formatOnSave": true,
"omnisharp.defaultLaunchSolution": "BlazorServerSignalRApp",

},
"extensions": {
"recommendations": [
"ms-dotnettools.csharp"
]
}
```
When I write a long comment in a visual code and press save which result to apply formatter it makes comment multiple line but the other lines are uncommented! Which needs to do comment manually again. see the following example please:
![image](https://user-images.githubusercontent.com/48277995/146691371-2a5ce915-a21c-4b91-bac3-1416bf408e91.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.