0

I have tried putting JSON in settings and enable C# formatter in setting and it is still showing There is no formatter for C# files installed what do I do also where do I put JSON code in settings JSON. I have installed C# extension and visual studio code version is 1.60.1

Error message

Enabled C# format in setting

3
  • 1
    why post images of text, hard for others to search who have the same error message Commented Sep 16, 2021 at 16:32
  • i can't post image because i have just created this account @rioV8 Commented Sep 17, 2021 at 6:51
  • 1
    why not post the text shown on the images, so we can search later for the content Commented Sep 17, 2021 at 9:29

1 Answer 1

1

Visual Studio Code with the OmniSharp C# extension doesn't format C# code without a .csproj file. You can create a new project if you type dotnet new console in the terminal.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.