-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Action for pre-filling required fields #801
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow-up to #719
Problem Statement
Users can today introduce a new block into their configuration via completion
However the block is not considered complete/valid until it has all required attributes and blocks.
This means that users have to either scrolls over a potentially long list of attributes and blocks to add all required ones and/or consult documentation in a separate window.
#719 pre-fills required fields on completion (using the completion LSP method) which mainly solves the problem for new blocks.
Expected User Experience
Block with existing attributes/blocks
A contextual code action would be available to the user to fill any missing required attributes and blocks, similar to gopls:
Proposal
The text was updated successfully, but these errors were encountered: