| Summary: | Add C++ Source Code Formatting with clang-format | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | houz |
| Component: | indentation | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | christoph, codestruct, houz, i.zaufi, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 3.10.5 | ||
| Target Milestone: | --- | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
houz
2013-10-09 11:47:34 UTC
you can use it already via Text Filter plugin >houz@gmx.de 2013-10-09 11:47:34 UTC
>....
As I somehow know, that you can program C++ yourself, might you want to submit some patch? ;=)
"Text Filter" does not work when only a part of the source code is selected because clang-format needs the whole file as context. Ideally, there would also be a keyboard shortcut to invoke this "Format Selection" action. This is fixed with the "External Tools" plugin and should be closed. Selected text can be formatted using: Menu -> Tools -> External Tools -> Tools -> Clang Format Selected Text |