Summary: | Automatic reformat-source when opening file | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Christian Sp. <hkubus> |
Component: | Astyle | Assignee: | kdevelop-bugs-null |
Status: | REPORTED --- | ||
Severity: | wishlist | ||
Priority: | VLO | ||
Version: | 3.1.2 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Christian Sp.
2005-03-29 01:39:32 UTC
Kdevelop 3.4 branc revision 611652. There is a button in Project/Project Options/Formatting/General/"select and format". Allows to select a large number of files and format them all with the current project settings. So can format a large number of files at once.. tempted to close as invalid, noone should blindly run astyle on any project... decreasing prio for now. Certainly not astyle, but if you'd have a formatter that really knows about the source code (instead of trying to apply some regex-parsing) then this could be useful. In fact with Eclipse I've used their auto-reformat-on-save until I've discovered that their alignment rules for arguments are pretty broken (and not configurable). This made sure that whatever I type, it always ended up with the right formatting and I don't have to care about the layout of the code. |