F# VS Option

Before you start writing F# you need to know this. Don't waste time like I did! F# doesn't allow you to use tabs, even though white space is relevant because different editors use tabs differently. So I was sitting here kind of annoyed by having to line up spaces, when I had a semi-intelligent moment! Set the option in VS for the F# text editor to use spaces instead of tabs. This is probably obvious to everyone who has ever typed more than a couple of lines of F# code. in case you are sitting there hating spaces, set the Visual Studio option! Tools --> Options:

0 comments: