itowlson / fsharp-vs-commands

Commands for working with F# in Visual Studio
5 stars 2 forks source link

Change indent size in Fantomas option page #6

Closed dungpa closed 11 years ago

dungpa commented 11 years ago

Unless I'm mistaken, there is no way to change indent size in the option page. Or can it be changed in another place in Tools -> Options for which I don't know?

In the code, I think it is in the following line https://github.com/itowlson/fsharp-vs-commands/blob/master/src/FSharpCommands/Commands/FormatCommand.cs#L23

dungpa commented 11 years ago

Found indent size in this http://msdn.microsoft.com/en-us/library/ms165330(v=vs.80).aspx article.

It's a bit inconvenient since it is not in Fantomas option page. But it is idiomatic to be consistent with VS editor options.