wxHexEditor
wxHexEditor copied to clipboard
[Feature request] tags generation and refresh using external command
This is point 1 extracted from https://github.com/EUA/wxHexEditor/issues/19#issue-142497151 as requested in https://github.com/EUA/wxHexEditor/issues/19#issuecomment-565716307
The reasons for this and details on implementation are https://github.com/EUA/wxHexEditor/issues/19#issuecomment-565620193 and https://github.com/EUA/wxHexEditor/issues/19#issuecomment-565648241
@petergeoghegan is right, a menu item with a keyboard shortcut would be sufficient to get a fast workflow, call LoadTAGS to reload the .tags file and refresh the tag panel, as far as I need it would be enough.
Something like this? https://gist.github.com/xenogenesi/eb2d8a8344bd1ed138b761cfd7236fdf
I could watch .tags files for modification and reload it if any. But don't decide mechanism like there could be a shell command execute need for generating tags.
Personally I would prefer a manual refresh but it could be interesting, maybe add an option in the preferences to enable it automatically?
Having a menu item with a keyboard shortcut without dialogue would be enough for me, at this point I would execute the external command that updates the .tags file manually, wxHexEditor does not need to do it.
I just remember that when I developed a parser for a certain type of file that updated the .tags file, going through the import TAGs dialog was slow and boring (it's ok as long as you use it a few times, but this was not the case).