0

After an update of PhpStorm (MacOS) to the new release and some troubles which led me to remove all PhpStorm app instances and reinstall the latest release and then copying the plugins back to the app folder in "~/Library/Application Support" I was asked again to enable Shellcheck for a shell script I was working on. For that particular file I didn't need the Shellcheck, so I've disabled it. But then Shellcheck didn't work for all scripts and I couldn't find any option in the PhpStorm settings to enable it again. The only option I've found was already checked:

enter image description here

So how can I enable it again?

FullStack Alex
  • 1,783
  • 19
  • 31

1 Answers1

0

Ok, I've found by accident the solution. In the subsetting "Shellcheck" I had some placeholder text (don't remember exact phrase) instead of the path to the Shellcheck script. Once I've removed the text, I've got a warning about missing Shellcheck and an action link to download it. enter image description here

After clicking on it, the correct path was filled automatically and the Shellcheck started to work again. The path was then:

/Users/username/Library/Application Support/JetBrains/PhpStorm2020.2/plugins/Shell Script/shellcheck
FullStack Alex
  • 1,783
  • 19
  • 31