zzarchive-VisualFSharpPowerTools icon indicating copy to clipboard operation
zzarchive-VisualFSharpPowerTools copied to clipboard

Fragments related to supporting WPF Designer

Open dsyme opened this issue 9 years ago • 1 comments

I just removed some very old snippets of code from the Visual F# Tools code base that were related to project system support for the WPF designer (and perhaps some other VS functionality). This code was never actually used in practice and relates to the original sample we translated this from.

However it occured to me that it might be possible to add WPF Designer support to VFPT. If so, this code might give a starting guide for how to do it:

https://github.com/Microsoft/visualfsharp/pull/1048/files

The code does use CodeDOM in some way, either to look for event handlers in the code, or to inject them. Since VFPT is already doing some code generation there are likely to be better ways to do this. If it was need the existing F# CodeDom implementation is here . There is a "CleanCodeDomGenerator" that tries to generate cleaner code.

dsyme avatar Apr 10 '16 01:04 dsyme

Somewhat related: xaml formatting is a solved problem.

JohanLarsson avatar Jul 30 '16 15:07 JohanLarsson