Is there something similar like go fmt for f#?

50 views
Skip to first unread message

Sotirios Mantziaris

unread,
Jun 17, 2016, 3:42:14 AM6/17/16
to F# Discussions
Hi,

having worked in go for some time now i have started to like the formatting utility that comes with go very much.
the code is always where it "should" be and looking at commits in git is much more easier.
I am just starting F# and from what i understand the indentation plays a huge role in program structure.
Is there something out there? 

Isaac Abraham

unread,
Jun 17, 2016, 3:46:14 AM6/17/16
to fsharp-o...@googlegroups.com

Fantomas is a command line tool that formats your code (with some configuration capabilities). If you’re using Visual Studio then there’s also the F# Power Tools which includes Fantomas and integrates it with standard VS keyboard shortcuts etc. for code formatting.

--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sotirios Mantziaris

unread,
Jun 17, 2016, 3:50:16 AM6/17/16
to F# Discussions
fant-astic! Thanks
Reply all
Reply to author
Forward
0 new messages