aws-cloudformation / aws-cloudformation/cfn-lint-visual-studio-code

Allow users to turn off intrinsic function suggestions

Open
#313 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
289
Forks
170
PR merge metrics
No merged PRs in 30d

Description

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

![image](https://user-images.githubusercontent.com/760143/235832829-2d4ae55f-ec36-4a67-a11b-4cb273079af7.png)

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](https://user-images.githubusercontent.com/760143/235834600-9a642188-1036-487a-9e0e-64a8ef1cf0ff.png)

(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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.