Webstorm Offline Inspection - only inspect uncommited files

Hi all!

We're using Webstorm Offline Inspection together with Maven. We have created a script which starts the inspection with the following command:

sh $WEBSTORM_PATH/bin/inspect.sh $PROJECT_ROOT $PROJECT_ROOT/.idea/inspectionProfiles/Project_Default.xml $TARGET_PATH -v1 -d $SRC_PATH

Is it somehow possible to only inspect "uncommited" files with a parameter? (it is possible to choose this option within Webstorm). This would speed up the inspection quite a bit...

Cheers
Michael

1 comment
Comment actions Permalink

You can configure your inspections to apply them to 'changed files' scope only; and then pass the profile where these scopes are configured to inspect.sh

0

Please sign in to leave a comment.