rubicon-oss / LicenseHeaderManager

Manage license headers for your source code files in Visual Studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

amoldeshpande opened this issue · comments

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:

  • Why the save file dialog popup for the single file ?
  • Can you add an optional output window to the plugin so that we can see what it's doing ? There was no visual indication (IIRC) that it had actually gone and executed my requested action.

thanks!

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

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.