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

How to call an external program? #3782

Open
iahung3 opened this issue Mar 5, 2024 · 1 comment
Open

How to call an external program? #3782

iahung3 opened this issue Mar 5, 2024 · 1 comment

Comments

@iahung3
Copy link

iahung3 commented Mar 5, 2024

For example, clang-format. I'm finding a code formatter plugin for Geany. But all of the projects I encountered are unmaintained.

@elextr
Copy link
Member

elextr commented Mar 5, 2024

You don't need a plugin. Since clang-format can act as a filter (read stdin and write stdout) it can be run from a custom command and format the selection, or the whole file if no selection.

Same for any other formatter that acts as a filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants