klogg icon indicating copy to clipboard operation
klogg copied to clipboard

Feature request: Allow user to save current configuration (highlighters, RegEx filters, etc.) to a file and re-import it later (or in another PC)

Open Max1234-Ita opened this issue 2 years ago • 2 comments

Details for the issue

This is not an issue, but a feature proposal.

I have built myself several sets of highlighters and some predefined filters that I use in my daily work; Sometimes, however, I need to install the program into a new PC or try a newly released version of Klogg without uninstalling the one I use.

It would be so cool if the GUI had an option to export my current configuration, i.e. into a single JSON file or whatever similar, that I can save to a directory and keep as a backup or re-import quickly end easily.

What did you do?

  • Install Klogg into another computer, or reinstall it in the same PC but different path;
  • rebuild the exact highlighters and filters I was using previously/in the other computer

What did you expect to see?

I'd like to be able, from program GUI, to export my personal set of highlighters and predefined filters to a file (i.e. .zip, .json, etc.) and easily re-import them, or keep the saved file as a configuration backup.

What did you see instead?

Each time I do a fresh install of Klogg I have to manually rebuild my highlighter and filter sets, or look for klogg.ini file and copy it to the new directory (not so comfortable)


Useful extra information

Klogg version 22.06.0.1289 (built on 2022-06-14 from commit 6340d94) [built for x86_64-little_endian-llp64] running on Windows 10 Version 2009 (winnt/10.0.19042) [x86_64], concurrency 4 Qt 5.15.2, tbb 2021.7

Max1234-Ita avatar Jul 07 '22 09:07 Max1234-Ita

Hi thanks for suggestion. It is already possible to import\export highlighters. That can be extended for other settings. Rigth now all settings are stored in text files, so it should be possible to move them between environments manually. On windows they should be somewhere in current user app data folder. I don't have a windows environment right now, so can't check the correct path.

variar avatar Jul 17 '22 10:07 variar

Hi, I'm using Windows 10 on my laptop: I searched for file klogg.ini and found it in C:\users\[username]\AppData\Roaming\Klogg , or %APPDATA%\Klogg

Max1234-Ita avatar Jul 18 '22 08:07 Max1234-Ita