Tag Archives: Visual Studio

Generating and plotting random numbers

An example of generating random numbers in F# and visualising their distribution using the WPF charting control.

Posted in .NET, F#, Finance, Visual Studio, WPF | Also tagged , , | Leave a comment

Pinned DataTips in Visual Studio 2010 Beta 2

I’ve just noticed a nice little feature in Visual Studio 2010 Beta 2: pinned DataTips. Values displayed in the debugger as you hover over a variable can now be pinned in place and remain aligned with the source. They can even have annotations added… Tasty!

Posted in Debugging, Usability, Visual Studio | Also tagged | Leave a comment

Installing Windows SDK breaks F# Visual Studio integration

Beware! If you install the Windows SDK – perhaps to get access to the interesting looking WPF performance tools – you’ll find that it hoses your F# Visual Studio integration. I found that it causes intellisense tooltips to stop appearing, and the integrated F# interactive to crash Visual Studio. Both of these issues are a [...]

Posted in F#, Visual Studio | Also tagged , , , | 5 Comments

Visual Studio Toggle Brackets Macro

After using a F# heavily for a while, I often found myself wanting to add brackets (or rather, parentheses) around some text. This is normally when adding a type specification to an argument in order to be able to use dot notation, e.g. going from:

let typeName t = t.Name

which causes “error FS0072: Lookup on object [...]

Posted in F#, Visual Studio | Also tagged , , , | Leave a comment