Skip to content
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

Allow users to turn off intrinsic function suggestions #313

Open
liamdawson opened this issue May 3, 2023 · 2 comments
Open

Allow users to turn off intrinsic function suggestions #313

liamdawson opened this issue May 3, 2023 · 2 comments

Comments

@liamdawson
Copy link

liamdawson commented May 3, 2023

Whenever I press ctrl-space to see properties I can set for a resource, this is what I see:

image

This means I must always scroll to see any relevant properties for a resource after pressing ctrl-space.

I can hide these suggestions by turning off editor.suggest.showValues for YAML files, but this means that I also lose suggestions for the values of properties. For example, UpdateReplacePolicy then no longer suggests Delete/Retain/Snapshot. Instead, I would like to turn off suggestions for intrinsic functions alone.

For reference, this is what I would like to see when I press ctrl-space in this context:

image

(I achieved that by manually commenting out the customTags in the extension on disk, which is only a temporary solution, and probably has other side effects)

@liamdawson
Copy link
Author

Additionally, I continue to see suggestions after turning off the following settings:

  • cfnLint.completion
  • cfnLint.enableAutocomplete

@kddejong
Copy link
Contributor

PR will fix the issue with the not being able to disable completion and clean up the settings to the ones that matter.

The other issue that will take a little more effort is to figure out the right spots to provide intrinsic function completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants