lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
5 stars 3 forks source link

"Diagram Selects Text" does not work for imported reactors #50

Open petervdonovan opened 2 years ago

petervdonovan commented 2 years ago

This was fixed in #1055 for Epoch, but I have not figured out how to get it working in VS Code.

Klighd-vscode offers a way to handle diagram actions, including the elementSelected action, but in order to find the correct text to highlight, it would be necessary to query the language server. I'm not sure what is the best way for the language server to get that data.