Closed MBerman9 closed 1 year ago
[16:46:16][TeXDoc] Run texdoc command The command is texdoc:["--view","amsmath"].
[16:46:17][TeXDoc] Opening documentation for amsmath.
The extension has passed the proper arguments to texdoc
. It looks like a coordination issue between texdoc
and vscode
, which is beyond the reach of this extension.
Pre-checks*
Environment*
The Issue*
Hover a \usepackage{...} and click on "view documentation", or run "LaTex Workshop: Show package documentation" or "LaTex Workshop: Show package documentation actually used". When the default pdf viewer is set to VScode, all of these do nothing. When the pdf viewer is set to anything else (I tried Microsoft Edge and Adobe Acrobat Reader), it opens the pdf. Using texdoc in the terminal also opens the pdf even when the default pdf viewer is VScode.
Reproduction Steps
Expected Behavior
The pdf of the documentation opening in a new tab (like when using texdoc in the terminal).
Logs
LaTeX Workshop Output*
The logs at 16:46:16-17 are from clicking "View Documention". The logs after that are from using texdoc in the terminal
Developer Tools Console
In the message bellow, everything up to and including the line
workbench.desktop.main.js:616 INFO [perf] Render performance baseline is 39ms
was there as soon as I opened the window. Everything after did not appear until I used texdoc in the terminal (which worked).Anything Else?
This problem might be similar to bug #2437, but it seems different.