-
Notifications
You must be signed in to change notification settings - Fork 847
Open
Open
Copy link
Labels
Area-Compiler-SigFileGengeneration of signature files - both compiler and IDEgeneration of signature files - both compiler and IDEFeature ImprovementFeature Request
Milestone
Description
With the ability to type check implementation files in parallel in case of signature files present, build-time speed can now be a strong factor when considering signature files.
At the moment, they come with a maintenance cost of manually editing the same information twice - function and modules names, number and types of arguments, comments.
The CLI offers a way to refresh signature files based on actual implementation, but this feature is not integrated into tooling.
The following actions are considered to be beneficial:
- Mirroring xmldoc comments between .fsi and .fs files
- Open question: Mirror via a code-lens-like feature, or offer an action to really duplicate the text at source code level?
- If this means a duplication on source code level, another check would be needed to make sure they are equal?
- Open question: Mirror via a code-lens-like feature, or offer an action to really duplicate the text at source code level?
- Add contextual editor action to (re)generate .fsi files based on existing implementation:
- For file
- For all files in a project
- Open question: Is a quick fix reacting to a specific range of error codes suitable here?
- Open question to consider:
- Any suitable actions for generating also the other way around, from .fsi to .fs ?
- A well targetable scenario might be changes in function arguments, e.g. a new argument added on .fsi.
- Any suitable actions for generating also the other way around, from .fsi to .fs ?
Metadata
Metadata
Assignees
Labels
Area-Compiler-SigFileGengeneration of signature files - both compiler and IDEgeneration of signature files - both compiler and IDEFeature ImprovementFeature Request
Type
Projects
Status
New