vscode-clang-format icon indicating copy to clipboard operation
vscode-clang-format copied to clipboard

Feature request: Clang-format > Language > C#

Open aganm opened this issue 4 years ago • 7 comments

Clang-format claims it can format c# code, I would much rather use it than omnisharp. Omnisharp is missing a fundamental code formatting feature which makes it useless to me.

aganm avatar Sep 07 '19 16:09 aganm

This is awesome! Would it be possible to do a new release to the Marketplace to pick up this change?

plinehan avatar Apr 10 '20 19:04 plinehan

This is awesome! Would it be possible to do a new release to the Marketplace to pick up this change?

Just double checking on this, would love to be able to use this with my C# code.

Icantjuddle avatar Sep 01 '20 17:09 Icantjuddle

Yeah push to marketplace please :pray:

lonix1 avatar Mar 06 '21 12:03 lonix1

Just notice the almighty Clang-format does not support C# in VScode. One more language for me to create chaos.

palpapig avatar Sep 24 '21 13:09 palpapig

Shouldn't this just be adding C# to the list of supported languages?

SKyletoft avatar Nov 04 '21 10:11 SKyletoft

@xaverh I see that you merged the support for c# long ago. Please push the new version to the marketplace?

lonix1 avatar Nov 04 '21 10:11 lonix1

@lonix1 If you go to the marketplace and search for clang-format, you will see an updated extension Clang-Format from Michael Johns; it adds the C# support (see screenshot below). Of course, you need to go to your settings.json file and change the default formatter to mjohns.clang-format instead of xaver.clang-format

Screenshot 2022-01-05 at 18 22 38 .

serhan-gul avatar Jan 05 '22 17:01 serhan-gul