diff --git a/docs/editor_integration/vscode.rst b/docs/editor_integration/vscode.rst index 11a83013..ea9767c7 100644 --- a/docs/editor_integration/vscode.rst +++ b/docs/editor_integration/vscode.rst @@ -36,7 +36,7 @@ Replace the contents of the template file with the following... { "label": "vsg-check", "type": "shell", - "command": "vsg -f ${relativeFile}", + "command": "vsg -f \"${relativeFile}\"", "problemMatcher": { "owner": "vsg", "fileLocation": ["autoDetect", "${workspaceFolder}"], @@ -86,10 +86,10 @@ Replace the contents of the template file with the following... { "label": "vsg-fix", "type": "shell", - "command": "vsg -f ${relativeFile} --fix", + "command": "vsg -f \"${relativeFile}\" --fix", "problemMatcher": { "owner": "vsg", - "fileLocation": ["autodetect", "${workspaceFolder}"], + "fileLocation": ["autoDetect", "${workspaceFolder}"], "pattern": [ { "regexp": "^File: ([^\\s]*)\\s*$",