github / vscode-github-actions

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

show latest version of action in hover tooltip #326

Open tjx666 opened 2 months ago

tjx666 commented 2 months ago
image

like vscode builtin npm package tooltip:

image
felipesu19 commented 1 month ago

I'll leave this open, but someone would have to make a pr.

thgh commented 2 weeks ago

I was looking to tackle this and found some potentially related code.

The current hover tooltip text is defined in languageservices/workflow-parser/src /workflow-v1.0.json.

The current hover tooltip contains a link that is generated in languageservice document-links.ts

There is something async happening for step-uses in languageserver/src/description-provider.ts

Do you think this approach would work? In which file does it belong?