-
Notifications
You must be signed in to change notification settings - Fork 2
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 config file menu entry opens the file with an external program #20
Comments
Hi,
Yes, that's indeed the intention. I suspect this is an issue with your I am aware that the implementation of |
Oh sorry when I meant "text editor" I was thinking of typstwriter itself. BTW, you could use |
Oh, I see. The config file could of course be opened with typstwriter itself, however I am not sure if that has any advantages over opening it in an external text editor. Actually this would maybe raise the expectation of the new config immediately taking effect which typstwriter is not capable of as of now without restarting. |
I'd say opening the config file of the current text editor in the same current text editor seems reasonable. At least that's what I was expecting, and it might be easier to have this approach instead of trying to use xdg-open, as we've seen it is not foolproof. If live-reloading is difficult to achieve, it is totally fine to simply show a warning that a restart of the application is necessary to take these settings into account. |
I would be fine with opening the config file in the internal editor if we add these extra warnings/notes. This would require some more work though and it might be favorable to add a proper GUI settings widget instead. |
Well, it's your decision. I was merely suggesting this. I don't think it's really important TBH, as we expect users to be able to edit a text file by themselves anyway. :) |
Hello,
When clicking "Open config file" from the Settings menu, it uses
open_with_external_program()
, which usesxdg-open
which opens it in Firefox on my system.I would have expected it to be opened in the text editor, no?
The text was updated successfully, but these errors were encountered: