Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open in editor can be confusing if .log files are associated with klogg itself #116

Open
variar opened this issue Oct 1, 2019 · 4 comments

Comments

@variar
Copy link
Owner

variar commented Oct 1, 2019

Trying to use new "Edit->Open in editor" option for files that are associated to be opened in klogg can be confusing as nothing happens for them (they are already opened in klogg to use this menu option).

@variar variar added the minor label Oct 1, 2019
@wiz0u
Copy link

wiz0u commented Oct 3, 2019

You should add a settings in the Option dialog to allow to override the default editor associated with the file (like in 7-Zip)

Also .log file could be associated to klogg with the 'open' verb. But if you're using the 'edit' verb first, I guess it would not be associated with klogg and therefore it would not try to open itself.

@variar variar self-assigned this Oct 3, 2019
@variar variar added this to the 2019.next milestone Oct 3, 2019
@variar
Copy link
Owner Author

variar commented Oct 3, 2019

You should add a settings in the Option dialog to allow to override the default editor associated with the file (like in 7-Zip)

That looks like too much effort right now

But if you're using the 'edit' verb first, I guess it would not be associated with klogg and therefore it would not try to open itself

I'll try that for windows platform. Not sure if other platforms have same concept of verbs

@jeffjensen
Copy link

You should add a settings in the Option dialog to allow to override the default editor associated with the file (like in 7-Zip)

That looks like too much effort right now

This is what I thought of too, a config option.

Perhaps a simple, not "too much effort right now" approach to start with is a config option with a text box - Klogg runs whatever is in the text box for the focused file. In the text box, users can specify the full path to the desired app. Klogg can either automatically specify the filename at the end of the string or add a "Klogg substitution variable" for the fully qualified file name for the user to place at the correct location in the string.

@variar
Copy link
Owner Author

variar commented Sep 21, 2020

@jeffjensen thanks for idea. That is definitely doable

@variar variar modified the milestones: 2023.09, 2024.next Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants