# If a function body exceeds the specified number of newlines and doesn't have a comment after
# the close brace, a comment will be added.
mod_add_long_function_closebrace_comment = 0
Just keep this guy 0
.
As for removing, you'd have to use refactoring tools. I can show you how to do that in Vim:
:%s/^\s*}\zs\s*\/\*.*\*\///g
In general, using classical (Perl) regular expression syntax, I'd do the following:
- Search:
(^\s*})\s*\/\*.*\*\/\s*
- Replace:
\1
If capture groups (such as \1
above) are supported by XCode regular expression engine, then it should work just fine.