Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Nov 25, 2015
2 parents d00ad21 + 8baba0c commit 6cb2bf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions phpstorm/phpstorm.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: PhpStorm Plugin Development
Plugins for PhpStorm are developed in Java using IntelliJ IDEA (Community Edition is sufficient in this case). You will also need a copy of PhpStorm to develop against. The [PsiViewer plugin](https://plugins.jetbrains.com/plugin/?pluginId=227) will also be useful.

### PhpStorm Specifics

* [Setting-up the environment](setting_up_environment.md)
* [PHP Open API](php_open_api.md)
* [Existing 3rd party plugins](existing_plugins.md)
6 changes: 4 additions & 2 deletions phpstorm/setting_up_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ This section explains how to configure IntelliJ IDEA for using PhpStorm OpenAPI.
3. Press **Add** button
4. Find and select `php-openapi.jar` and `php.jar`. They are located in `<your_installation_of_PhpStorm>/plugins/php/lib`.

![Adding Library](img/AddingLibrary.png)
![Adding Library](img/AddingLibrary.png)

5. Agree to add the libraries to your Module
6. Open **Modules \| Dependencies** and change **Scope** to **Provided**. This step is necessary because otherwise `ClassCastException` will be thrown because two instances of the library will be loaded via different class loaders
![Changing Scope](img/changingscope.png)

![Changing Scope](img/changingscope.png)

### Adding dependencies to `plugin.xml`

Expand Down

0 comments on commit 6cb2bf4

Please sign in to comment.