From f5ad983121e36a0939a4e9a88139ef6475884df3 Mon Sep 17 00:00:00 2001 From: Oliver Nybroe Date: Sun, 1 Nov 2020 09:52:39 +0100 Subject: [PATCH] Add configuration to readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3456279..502ffbf 100644 --- a/README.md +++ b/README.md @@ -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)