This is a shortcut I use quite a bit in TypeScript (and JavaScript) in VS Code. Would save a number of keystrokes to have this in PHP as well.
Basic description of functionality is that entering ctor
prompts a intellisense hint that when selected dumps a code snippet similar to the following (comments added to indicate optional tabbing points which TS/JS doesn't support but would be great to have).
/**
* tab position 2
*/
public __construct(/* tab position 1 */)
{
// tab position 3
}
I'm fairly sure a substantial amount of the functionality here is powered by existing APIs in VS Code.