Closed chase9 closed 4 years ago
Do you see any logs in the "PreviewJsDoc" output? Do you have jsdoc installed in your computer?
I was unable to find PreviewJsDoc and I do have jsdoc on my computer.
I pushed a version which prevent to crash the extension and maybe get more output from the error you got. Could you download this version https://github.com/ludorival/vscode-preview-jsdoc/archive/1.0.5.zip and unzip it. Go in there and copy the content (included the package.json) in your local extension folder ~/.vscode/extensions/ludorival.preview-jsdoc-1.0.4/
.
Go back to me with the result you got.
Your version didn't fix it, but I believe I discovered the problem. The extension's activationEvents are "onLanguage:javascript", "onLanguage:markdown"
However, I am working in TypeScript files, so changing the activation events to include onCommand:previewjsdoc.openBrowser
removed that problem.
After all this I find that I get a blank page in the web browser, leading me to believe that the extension isn't compatible with Angular CLI projects. I'll investigate a bit more and see if I can find anything out.
I am closing this issue.
Running Code 1.27.2 macOS 10.14 Latest Preview JSDOC from VSCode repo
I am unable to use the extension as I always get the error "command
previewjsdoc.openBrowser
not found on macOS"