hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Code link not working? #349

Closed chipbite closed 1 year ago

chipbite commented 1 year ago

Hi! I am trying to get the code links feature to work, I cannot get it to react at all, it seems.. Code link in status bar is "filled in".

See this small recording: drawio-vscode-code-links

What could I be doing wrong? Ctrl-T to jump to symbols work, so it seems that the symbols are there in vs code...

Is there some config I can check? Or log?

Thanks for a very nice plugin! BR! /marcus

mihaiconstantin commented 1 year ago

In my case, ensuring "hediet.vscode-drawio.codeLinkActivated": true followed by a reload helped.

chipbite commented 1 year ago

Thanks @mihaiconstantin, I will do try this and report back!

hediet commented 1 year ago

There is a code link button in the status bar to enable code links. By default they are disabled, as a double click is usually used to edit a node.