Expose diagnostics endpoint to view versions of dependencies
It would be nice if there was some sort of endpoint that returns the versions of all the tools used by FSAutocomplete.
Fantomas for example exposes the version and this could be useful when logging issues. Or show that version in the about section of Ionide or diagnostics dump.
//cc @baronfel
yeah! Ideally this would be consumed and integrated into the 'diagnostics' command that already exists in Ionide. I'm not sure of a way to automatically-generate this list, it may require a bit of manual setup.
ie (pseudocode):
let fsacDependenciesAndVersions =
[ typeof<some_fantomas_type> ]
|> List.map getAssemblyNameAndVersion
|> sendResponse
and we'd expand that list of known-dependencies by hand?
Little side note, for Fantomas we added a method to the public api to get the version.
It does the same thing more or less but reads another assembly attribute that contains the beta information as well.