Sublime Forum

Space in between function name and parameter list?

#1

Coding guidelines require me to do some_function ("Foo") rather than some_function("Foo")

Am I correct in thinking that the way to do this is simply to do a find-and-replace from “(” to " (" in the relevant .sublime-completions file?

0 Likes

#2

Yes, this would be the first thing I’d try. But as you probably know, be careful about false positive matches that you are also replacing (can’t judge on that since you didn’t specify which language you are talking about). This also won’t work if you use a code completion plugin which generates the completion code manually. In this case you’d have to search for an option to do that, modify the source itself and/or file an issue about it (as in: notify/ask the developer(s)).

0 Likes