klogg icon indicating copy to clipboard operation
klogg copied to clipboard

Help with importing highlighters

Open jima80525 opened this issue 2 years ago • 3 comments

I sincerely apologize if I'm just missing something here. I'm trying to create a set of highlighters for a team. I've exported these to a file, but the exporter gives no hint as to what filename extension it wants. I've tried just using a name in the hopes it would provide what it wanted for an extension, no luck. (i.e. if I saved "fred", the file was just named "fred", not "fred.whatever_extension_means_highlighter")

When I go to import the highlighters, the file open dialog insists on only showing "Highlighters" - there is no option for "all files" or something similar. It does not see the files I've saved.

I'm certain there's a simple answer, and, again, I definitely feel like I'm missing something obvious, but I'm not seeing this in the documentation.

I'm on ubuntu 20.04 using version 22.06.0.1289

Thanks for any help (I suspect the help will be "use this extension" which is perfect) and thanks for providing a great tool!

jima80525 avatar Jul 27 '22 17:07 jima80525

Hi, sorry for confusion. Try adding .conf extension. I'll try to figure out why it is not added automatically during export.

variar avatar Jul 27 '22 17:07 variar

AWESOME! Thanks for the quick response! Works like a charm

jima80525 avatar Jul 27 '22 18:07 jima80525

I'll try to do a PR to add this to the documents :)

jima80525 avatar Jul 27 '22 18:07 jima80525

Hi all, I've done a little research. It should be the peculiarity of the native file dialogs on some systems. Here is more information: https://stackoverflow.com/questions/9822177/is-there-a-way-to-automatically-add-extensions-to-a-file-using-qfiledialog-on-li

I've create a PR with fixes. https://github.com/variar/klogg/pull/536

Abay11 avatar Jan 29 '23 07:01 Abay11

23.06 builds should behave better for this case

variar avatar Jul 01 '23 11:07 variar