Inline declaration

Very often I've been using code construction like

declare x as type <some_type> = self::GetSomething

That's really cool. But what makes me upset that in this inline declaration the editor doesn't offer possibilitites when the cursor is just behind the

self::

I must remember what I want to write. Or - and that's the key problem - when I even don't know the method or property name and I'm just looking for its name, then first of all I must declare the "x" item separately in local-storage and then I can start finding name of the requested method or name. It looks like the editor doesn't work correctly in that case.