resharper-fsharp
resharper-fsharp copied to clipboard
Generate signature file
Hello @auduchinok, I'd like to expose the GenerateSignature functionality from FCS to easily add a signature file for a single file.
This first commit contains some horrible pseudo code to illustrate what I'm after. The feature:
- Should be executable if there is no signature file present.
- Should generate the signature file (using the FCS).
- Should update the
fsprojto include the signature file. - (Should maybe format the generated file, as the output isn't always that pretty).
Would you be ok with having this? If so, do you have any pointers on how to best approach this?
@auduchinok I'm able to add the new signature file before the implementation file.
However, there is a small glitch with the UI:

Library.fsi is the new file and is shown at the top. It is inserted correctly into the fsproj thought.
Thanks again for the pointers!