0

I want PhpStorm print -> always, when I insert just - (so no need for Shift + .)

Is there any build-in solution? If no, probably someone can suggest a software for Ubuntu, that would do the trick.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Majesty
  • 2,097
  • 5
  • 24
  • 55

1 Answers1

2

Is there any build-in solution

Yes, but it works only after $this.

For other object instances watch https://youtrack.jetbrains.com/issue/WI-28351 ticket (star/vote/comment) to get notified on any progress.


Possible workaround -- record a macro that will type -> and assign a shortcut to it. Then just use that when you need typing ->. No other bright ideas (using IDE functionality only).

LazyOne
  • 158,824
  • 45
  • 388
  • 391