PHPStorm: Difference between revisions
| Line 5: | Line 5: | ||
===Gitting=== | ===Gitting=== | ||
* see [https://www.jetbrains.com/help/phpstorm/version-control-integration.html here] | * see [https://www.jetbrains.com/help/phpstorm/version-control-integration.html here] | ||
====Add Files to VCS==== | |||
* open VCS tool window (ALT+9) -> Local Changes | |||
* in Unversioned Filelist Right Click on file -> Add to VCS | |||
===Finding=== | ===Finding=== | ||
Revision as of 13:36, 11 March 2019
Operations
Change keymapping by CTRL+ALT+S -> Keymapp -> Search -> Right Click -> Add or Remove
Gitting
- see here
Add Files to VCS
- open VCS tool window (ALT+9) -> Local Changes
- in Unversioned Filelist Right Click on file -> Add to VCS
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