Skip to content

Show edit button when editor language ID is yaml and in GitHub workflows#10

Merged
spencer-robertson merged 1 commit intospencer-robertson:masterfrom
NathanKolbas:master
Aug 14, 2025
Merged

Show edit button when editor language ID is yaml and in GitHub workflows#10
spencer-robertson merged 1 commit intospencer-robertson:masterfrom
NathanKolbas:master

Conversation

@NathanKolbas
Copy link
Copy Markdown
Contributor

Thank you for the really cool extension!

I noticed that the edit icon wasn't appearing when I was in a .yaml file. Thought I'd make a quick contribution to add this. I also added a check to make sure the file is within the .github/workflows directory so that it doesn't appear in other yaml files.

Documentation references:
https://code.visualstudio.com/api/extension-guides/command#controlling-when-a-command-shows-up-in-the-command-palette
https://code.visualstudio.com/api/references/when-clause-contexts#available-context-keys

Thanks!

@spencer-robertson
Copy link
Copy Markdown
Owner

@NathanKolbas Sorry about the delay on this, looks good to me!

@spencer-robertson spencer-robertson merged commit 5693f38 into spencer-robertson:master Aug 14, 2025
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

Successfully merging this pull request may close these issues.

2 participants