arjun-g / vs-swagger-viewer

Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
MIT License
170 stars 47 forks source link

Swagger extension throws this error when opening VSCode user settings JSON #67

Open stereokai opened 5 years ago

stereokai commented 5 years ago
workbench.main.js:238 [Extension Host] stack trace: SyntaxError: Error parsing c:/Users/User/AppData/Roaming/Code/User/settings.json 
end of the stream or a document separator is expected at line 3, column 21:
        "editor.tabSize": 2,
                        ^
    at onError (C:\Users\User\.vscode\extensions\arjun.swagger-viewer-2.2.2\node_modules\json-schema-ref-parser\lib\parse.js:128:20)

YAMLException: end of the stream or a document separator is expected at line 3, column 21:
        "editor.tabSize": 2,
                        ^