Home > front end >  Indent a Proto file in Visual Studio
Indent a Proto file in Visual Studio

Time:01-27

Is there a way to auto indent Proto file code in Visual Studio. For example, C# code can be indented but proto file isnt getting indented in visual studio 2019. Thanks

CodePudding user response:

Thanks to NPras. I was able to format a proto file using vscode-proto3. Clang-Format also works as an extension in Vs Code. The clang-format needs to be in system path for both the extensions to work.

clang-format extension can be downloaded from here: https://llvm.org/builds/

  •  Tags:  
  • Related