rubicon-oss / LicenseHeaderManager

Manage license headers for your source code files in Visual Studio
179 stars 41 forks source link

mysterious save dialog on "add license header to all files" #125

Open amoldeshpande opened 4 years ago

amoldeshpande commented 4 years ago

Great plugin, just what I needed after deciding to add a license header more than a year into a project :)

I picked "add license header to all files" from the context menu and it popped up a save file dialog for a single PCH header file (this file was not open in the editor BTW, in case that matters).

I cancelled out of that, thinking "geez do I have to save each file individually now? ", but after hanging the IDE for a bit, everything came back and turned out it had added the license header to all files.

two issues here really:

thanks!

Stefan-Ilic commented 4 years ago

Hi @amoldeshpande,

Thank you for your kind words, we really appreciate them!

After fiddling around for a bit, I was still unable to reproduce your scenario, a.k.a I couldn't get the save dialog to pop up. Did it happen only once or could you perhaps provide a reproducible sample?

As for your second question, at the bottom left of Visual Studio, you should actually be able to see what the extension is doing, but you're right, a more prominent progress window would surely be better!

Best regards, Stefan

amoldeshpande commented 4 years ago

I have not seen it again, but then again I had about 30 files as part of an Unreal Engine project that needed the header. So maybe it's a scale thing ?

I will keep an eye out in the future. thanks for the tip about the status bar.