github / vscode-github-actions

GitHub Actions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions
MIT License
476 stars 72 forks source link

List available inputs for `with:` statements for `uses:` steps #288

Closed jsoref closed 6 months ago

jsoref commented 6 months ago

Is your feature request related to a problem? Please describe. When entering values into a with: for a uses:, the extension will tell you if an input isn't recognized:

image

In order to do that, it must know which inputs are recognized.

Describe the solution you'd like It'd be really handy if the box had a row for Available inputs and it'd be even better if there was completion for those inputs.

Additional context The extension is parsing the uses line and makes a link to the directory containing its action.yml (e.g. check-spelling/check-spelling@prerelease):

image
cschleiden commented 6 months ago

This is supported by the extension, is that not working for you? Example:

Image

Closing this for now, if it doesn't work for you please open a bug issue.

jsoref commented 6 months ago

Apparently it only triggers if i use control-space, otherwise, there's no hint of anything:

image

Given that control-space can give a list, it seems reasonable for the error I've cited here to offer the list of valid keys or to suggest using control-space to get the list of keys.