Closed Zerogiven closed 2 years ago
Some more info from the dev tools console
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:4056
SyntaxError: Unexpected token / in JSON at position 25
at JSON.parse (
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host] WARNING: Promise with no error callback:2
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:249 [Extension Host]% Objecterror: nullexception: Objectproto: Objectid: 2promise: Object_creator: null_errorId: 2_isException: true_listeners: null_nextState: null_state: Object_value: Objectproto: Objectproto: Objectproto: Object
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:249
[Extension Host] SyntaxError: Unexpected token / in JSON at position 25
at JSON.parse (
This is probably due to comments in your tsconfig. tsconfig -init produces tsconfig.json with commented out options. Comments in json are an extension to the JSON specification and so the extension code will throw when JSON.parse is called on the contents of your tsconfig.json.
This has been addressed by the pull request https://github.com/ChristianKohler/PathIntellisense/pull/82. https://github.com/ChristianKohler/PathIntellisense/pull/82/commits/133f1c6692d64b096eeb10b396887b9015095b15