- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 409
Open
Labels
component: hls-cabal-pluginIssues related to the hls-cabal-pluginIssues related to the hls-cabal-plugintype: enhancementNew feature or requestNew feature or request
Description
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.
- In order to implement this, the data structure storing the keywords and their completers needs to be updated with some way of marking the required fields.
- Then, the weightedConstantCompleterfunction can be used to prioritse the suggestion accordingly.
- In order to add a label, the CompleterData probably needs to carry the information whether the suggested field is required.
georgefst
Metadata
Metadata
Assignees
Labels
component: hls-cabal-pluginIssues related to the hls-cabal-pluginIssues related to the hls-cabal-plugintype: enhancementNew feature or requestNew feature or request