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

issue about code link to a function(c/c++) #291

Open wpz1988 opened 2 years ago

wpz1988 commented 2 years ago

It should work already ;) image in this screenshot ,I double click the #alarm18Sec label, the vscode will should the comment" No symbol found with name..."

and I try another simply example, the result is same. image

So maybe there is another way to name the label?

Originally posted by @wpz1988 in https://github.com/hediet/vscode-drawio/issues/289#issuecomment-1006675776

phamnhuvu-dev commented 1 year ago

Hi @hediet @wpz1988 I think it has an issue with regex. I am a mobile software engineer, so the dart's function is like this:

void testCodeLink() {
  print('testCodeLink');
}

It is not working

I tried this:

void main() {
  testCodeLink();
}

final testCodeLink = () {
  print('testCodeLink');
};

And it is working well

I think about this because the class syntax has a space behind the class name

class A {
}

So I tried to write the function in the above way

But it should work already on both ways