Home Download Buy Blog Forum Support

Space in between function name and parameter list?

Space in between function name and parameter list?

Postby shdon on Thu May 16, 2013 11:00 pm

Coding guidelines require me to do
Code: Select all
some_function ("Foo")
rather than
Code: Select all
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?
shdon
 
Posts: 6
Joined: Thu May 16, 2013 9:45 pm

Re: Space in between function name and parameter list?

Postby FichteFoll on Fri May 17, 2013 12:01 am

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)).
FichteFoll
 
Posts: 408
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 14 guests