vscode-graphviz icon indicating copy to clipboard operation
vscode-graphviz copied to clipboard

I can't preview my dot file

Open Priyapillai2378 opened this issue 2 years ago • 3 comments

Issue Type: Feature Request

Even after installing the Graphviz(dot) language extension I was unable to get the "Open Preview to the Side" on my VS code (Windows 11).I'll be very thankful if you help me with that :)

Extension version: 0.0.1 VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

Priyapillai2378 avatar Jul 03 '22 16:07 Priyapillai2378

I have the same problem.

atxy2k avatar Feb 09 '24 18:02 atxy2k

I also have the same problem

Version: 1.86.1 (user setup) Commit: 31c37ee8f63491495ac49e43b8544550fbae4533 Date: 2024-02-07T09:08:20.941Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22621

akailearning avatar Feb 14 '24 13:02 akailearning

I do this and it´s working now:

  • Installed in my wsl or respective
sudo apt-get install graphviz
  • I run
which dot
  • That response
/usr/bin/dot
  • Then in vscode I went to file > preferences > settings > and write dot in the search box
  • In config called Dot Path I put /usr/bin/dot
  • Then I open the dot file and press ctrl+shift+p and search Graphviz: Open preview to the side
  • Next press enter and ....

Screenshot_2

atxy2k avatar Feb 14 '24 14:02 atxy2k