Skip to content

Commit

Permalink
Add configuration to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
olivernybroe committed Nov 1, 2020
1 parent 7b22ad4 commit f5ad983
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ The plugin has no stable version, only manual and EAP is possible.
Then search for the plugin and install it as usual.

## Configuration
> :warning: The inspections might be disabled by default! Go to settings for enabling them.
> :warning: The inspections might be disabled by default! Go to preferences for enabling them.
All the features are added as inspections in PhpStorm, this means you can disable
the ones you like or change how severe the warning are on them.
the ones you don't like or change how severe the warning are on them.

For example, by default refactoring `foreach` to collection is not highlighting the text.
However, if you would like to enforce yourself to never use `foreach`, you can change the severity to error.

![inspection-settings](https://github.com/olivernybroe/collector-intellij/blob/main/art/usage/inspection.jpg)

Expand Down

0 comments on commit f5ad983

Please sign in to comment.