Prioritise completion suggestion of required fields #3758
Labels
component: hls-cabal-plugin
Issues related to the hls-cabal-plugin
type: enhancement
New feature or request
Related to #3664.
When suggesting fields in the top level or in stanzas of a cabal file, it would be nice to prioritise suggestion of required fields over optional ones.
Additionally, it would be nice to label required fields as such using the details field of the CompletionItem.
weightedConstantCompleter
function can be used to prioritse the suggestion accordingly.The text was updated successfully, but these errors were encountered: