I need to run pre-commit test on my project and so I downloaded the following extension for VSCode: https://marketplace.visualstudio.com/items?itemName=MarkLarah.pre-commit-vscode
It says to simply "Type pre-commit run
into the VSCode command bar", which give me:
PS C:\Users\xxx\Documents\VSCode\xxx> pre-commit run
pre-commit : The term 'pre-commit' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pre-commit run
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (pre-commit:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Apparently I've missed a way to integrate this into my Powershell?
Thank you!
The terminal window isn't the same thing as the visual studio command bar.
CTRL-SHIFT-P will open the command palette.