Thecentury / vscode-guid-highlight

GNU General Public License v3.0
0 stars 0 forks source link

Feature Suggestion: Replace All GUIDs #1

Open Daggerpov opened 5 months ago

Daggerpov commented 5 months ago

It's great that I'm able to see all GUIDs, but I and my team members at work often need to replace all GUIDs within a file. Instead of setting up a macro to do so, it'd be nice if this extension could replace all the GUIDs with new ones from a command palette selection.

After opening up the command palette, it'd be great if there were an option listed "GUID Highlight: Replace All GUIDs," similar to your option already there listed as "GUID Highlight: Restart."

Daggerpov commented 5 months ago

I found and used this Powershell script to do just that. It was surprisingly easy to setup. I'm pasting here in case you'd want to take inspiration from it for this project.

https://stackoverflow.com/a/2283754/13368695