micro icon indicating copy to clipboard operation
micro copied to clipboard

Auto format will not work.

Open SMITTY-94 opened this issue 4 years ago • 1 comments

I have installed micro and also installed the 'fmt' and 'autofmt' plugins from the official website. The plugins have not been working for me. Is there a way to enable formatting on save? I am mainly concerned with C#.

Commit hash: b9763856 OS: Win11 Terminal: Windows Terminal PS 7.1

SMITTY-94 avatar Feb 11 '22 15:02 SMITTY-94

autofmt calls clang-format on C# files. First try to run it in the command-line. I guess it's not available on your Windows box. I use Linux, I have this command. I think it's part of the clang package.

jabbalaci avatar Nov 02 '23 05:11 jabbalaci