resharper-fsharp icon indicating copy to clipboard operation
resharper-fsharp copied to clipboard

Add function to signature file

Open nojaf opened this issue 3 years ago • 2 comments

Hello @auduchinok, I'd like to add a code action that adds a val entry to a signature file for a function that is not exposed.

I've made a very raw proposal of what I have in mind. The val generation itself would not be a string concatenation but you get the idea 😸.

Would you be ok with having this? If so, do you have any pointers on how to best approach this?

nojaf avatar Jul 06 '22 15:07 nojaf

@nojaf This is an interesting feature, but limiting it to certain kinds of symbols like module functions doesn't feel right. We should design big features like this properly.

auduchinok avatar Jul 06 '22 15:07 auduchinok

Hey @auduchinok, I wrote some code and could probably use a review 😸. Anyway, I created a quick fix to update an existing signature file if the val no longer matches.

UpdateSignatureFile

nojaf avatar Aug 02 '22 15:08 nojaf

Closing in favour of smaller PRs.

nojaf avatar Oct 05 '22 08:10 nojaf