vscode-azureresourcegroups icon indicating copy to clipboard operation
vscode-azureresourcegroups copied to clipboard

Copy resource ID button on resources

Open ucheNkadiCode opened this issue 3 years ago • 1 comments

Based on feedback in https://github.com/Azure/bicep/issues/6256 - @majorku5anagi This is related to #138.

In the case that the user wants to paste their text in a specific Bicep file and doesn't want a resource-equivalent Bicep file to be created anew, it would be great to right click on any resource and have the option for "Copy Resource ID" -> this would likely be useful for more cases than just Bicep. Right now it is a poor solution that users find themselves navigating to the Azure portal or sifting through properties to get this commonly needed attribute.

Scenario:

  • User right clicks on a resource and selects "Copy Resource ID"
  • User navigates to a Bicep file of their choice and places the cursor where they want
  • User hits Ctrl + Shift + P -> Bicep: Insert snippet from resource
  • User pastes this resource id and hits enter to complete the command

Tagging @alex-frankel as well.

ucheNkadiCode avatar Mar 23 '22 21:03 ucheNkadiCode

This feature request is now a candidate for our backlog. The community has 240 days to upvote the issue. If it receives 5 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

AzCode-Bot avatar Apr 06 '22 05:04 AzCode-Bot