PHPStorm: Difference between revisions

From Wiki RB4
Line 21: Line 21:


===Cross Reference===
===Cross Reference===
* open declaration: Navigate->Type Declaration or CRTL+SHIFT+B or CTRL+LEFT_MOUSE
* open declaration: Navigate->Type Declaration or CRTL+SHIFT+B or CTRL+LEFT_MOUSE (Navigate Back changed to CTRL+SHIFT+LEFT_ARROW)
* show class hierachy window: CTRL+H
* show class hierachy window: CTRL+H
* show interface implementations: select interface and press CTRL+ALT+B
* show interface implementations: select interface and press CTRL+ALT+B

Revision as of 15:54, 4 March 2019

Operations

Change keymapping by CTRL+ALT+S -> Keymapp -> Search -> Right Click -> Add or Remove

Gitting

Finding

  • find class by name: CTRL+N
  • find file: CTRL+SHIFT+N
  • find word where the caret is: CTRL+F3

Coding

  • toogle line comment CTRL+7 (remapped)
  • toogle block comment CTRL+SHIFT+7 (remapped)
  • rename classes, methods and variables: Refactor->Rename or SHIFT+F6
  • override methods: Code->Override
  • implement methods: Code->Implement methods or CTRL+I
  • complete line or language construct: CTRL+SHIFT+ENTER
  • move to next method in class: ALT+UP|DOWN

Cross Reference

  • open declaration: Navigate->Type Declaration or CRTL+SHIFT+B or CTRL+LEFT_MOUSE (Navigate Back changed to CTRL+SHIFT+LEFT_ARROW)
  • show class hierachy window: CTRL+H
  • show interface implementations: select interface and press CTRL+ALT+B
  • show definition of actual element: CTRL+SHIFT+I
  • show method hierachy window: select method and CRTL+SHIFT+H
  • show UML class diagram: select class and press CRTL+ALT+U
  • navigate in actual file: CTRL+F12
  • synchronize project tree: ALT+F1