-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add a proper way to set external application for pushing #674
Comments
What would you suggest to be a proper way? |
I think proper would be either having it within the settings or accessible by menu. One intuitive way would be adding a menu entry (with a sub menu) right beside And you're sure there is no other way to set this? Maybe I've just missed it. |
You can edit the preferences file. :-) I think the idea is that since one (typcially) press the button to push, having the setting exactly there is quite convenient. On the other hand, since most users do not change it continuously one can ask if it is needed. I think an additional dropdown in the preferences tab may make sense. Maybe a submenu below the "Push entries...". Let's see who implements it. :-) |
related #382 |
How should this function work, suppose one were to implement it using Actions? One action for pushing to each applicationPro
Con
I think the current implementation partially belongs here, since you have this button with a selectable target application. But as I noted, the menu-way of accessing these actions is broken, since you cannot change the target of the menu action. The canonical way to transfer this to the menu would be a sub menu to select the target application to push to, but this is cumbersome. One push action, select target application in preferencesPro
Con
Configurable push actionsAnother approach would be to not have all available applications as possible targets, but to configure explicit targets. This could include Vim twice, but with different parameters. This would enable using two different instances of Vim, and selectively pushing to each instance from Jabref, while never having to deal with other targets in the UI (only within the preferences. Since this would reduce the number of targets (to one in most cases), one could have a dedicated button, configurable hotkey, or menu entry, for each target. Pro
Con
|
Hello, is anyone working on this currently? If not I would like to take a stab at it. |
@slyr91 That is great to hear! No one is currently working on this issue and you are very much invited to have a go at it. You can find some information about JabRef development on these pages https://github.com/JabRef/jabref/wiki Especially here is some info on how to get started and get JabRef to compile: https://github.com/JabRef/jabref/wiki/Guidelines-for-setting-up-a-local-workspace When you think you have something ready and want feedback on your code, you can open a pull request and we will review it. |
@slyr91 Feel free to work on it! 👍 From the solutions @ziggystar proposes in #674 (comment), I like "Configurable push actions" the most, but "One push action, select target application in preferences" is already a good start. |
Awesome! I will get started on this soon. Give it a good try this weekend. Should I open a pull request with the WIP title? |
Thanks to @calixtus this is now implemented in the latest development version. You can select the push to application now in the preferences. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
I searched for 10 minutes how to change the external application for pushing from emacs to vim, when I finally found the drop-down next to the tool bar button.
Please add a proper way of changing this setting through a menu action. I think it's not good style to have an action only available through the tool bar.
The text was updated successfully, but these errors were encountered: