In the last few updates, lots of extras have been thrown in to expedite development, which is great, but one irks me to no end and I am wondering how to turn just this one thing off.
When I add a function to a class, typing the usual:
public function dingsbumps
for example, the autocomplete suggests something like
public function dingsbumps() { return $this->dingsbumps; }
While the ability to tab and add the autocomplete is good in concept, if I tab at any time I end up having to:
- Delete the unwanted return $this->dingsbumps;.
- Add the required line breaks in the brackets to open up the function.
Before this was added, setting up the basic function after typing the name was a total of 4-5 keystrokes:
- add parentheses "()"
- add opening bracket
- hit enter (closing bracket automatically there, if not add).
Now it is a total of 11 keystrokes (or 3-4 keystrokes and 2 mouse clicks):
- hit tab and accept autocomplete,
- click mouse at beginning of return statement (or control left arrow key to end of statement then right to column after semicolon = 4 keystrokes),
- shift drag mouse over return statement to highlight or shift click mouse at end of return statement (or shift control left arrow key to beginning of statement = 5 keystrokes),
- hit enter (deletes the offending statement and opens the function body).
Is it possible at least to turn off the automatic suggestion feature that provides the return value? The rest is fine, its just that I get a return value that I don't want or need automatically that wastes time (4-5 keystrokes without value vs. 11 keystrokes with).