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
Instantaneous reload of changed files on focused tab #2603
Comments
Can you give me a simple example for that. I really don't get the piping method. |
You set a custom command ( For example if you set |
I already have a similar set up with |
@fightthepower the reason you have been advised to use the custom commands is that they reload the buffer with the formatted output. Build commands build executables, so there is normally nothing that can be reloaded, so they don't. |
Ok thanks now I got it, I would personally love a direct button in the toolbar which when clicked formats my whole code without a need to selecting the lines and then sending it terminal. |
@fightthepower if you're motivated enough, you could make a plugin like I did for clang-format. You could have your plugin put a button in the toolbar. |
I am using the latest version 1.36 of geany and I am using custom build commands to format my files,
rustfmt "%f"
. I have enabled all the file saving options on reload available under preference>various except file.show_keep_edit_history_on_reload_msg.The problem is after formatting my codes in order to see the changes to the file I have to interact with geany by clicking some random tab or menu items. The files are not reloaded instantaneously. Another problem is this reload doesn't work 100 percentage every time. Some times nothing changes in the files despite the file changing in the disk itself.
The text was updated successfully, but these errors were encountered: