Simple project, while learning to write plugins for PHPStorm.
- Download latest version: SimplePlugin-v0.3.zip
- Settings -> Plugns -> Install from file system. Restart PHPStorm
- CTRL+SPACE inside array keys.
PHP Code example:
/** @return string[] [user=>, password=>] */
function a() {
return [];
}
$a = a()[''];
Open, compile/run with IntelliJ IDEA
- New project -> IntelliJ Plugin -> Project SDK
- Choose PHP storm installation
- Update meta info
- Run (PHP storm will be loaded)
- You can check settings, your new plugin is there
- Run/Debug Configuration -> Show idea log
- Wipe sandbox ~/.IdeaIC14/system/plugins-sandbox
- https://confluence.jetbrains.com/display/PhpStorm/Setting-up+environment+for+PhpStorm+plugin+development
- https://confluence.jetbrains.com/display/PhpStorm/PHP+Open+API
- php-openapi
- junit:junit:4.8.1
Aurelijus Banelis
Apache 2