-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function FB type reference search #969
Function FB type reference search #969
Conversation
34839a0
to
7680f79
Compare
Yes, if there is an error in the ST code, the dependencies cannot be accurately determined, so an exception is thrown instead of returning a potentially incomplete result. I would suggest catching the exception in |
Inform the user that a search result may be inaccurate if the resolved st code contains errors.
There is still the issue of the "Find References" entry in the xtext editor. It works as expected with function calls but not with function definitions. What I have seen so far is that function calls get resolved to FunctionFBTypes while definitions are resolved to STFunctions (which results in slightly different URIs, e.g. ...TestFunction.fct#/0/@functions.0 for calls and ...TestFunction.fct#/1 for definitions). I am putting this here for future reference (and because I have no clue how xtext editors work). |
No description provided.