Replies: 4 comments 9 replies
-
For 1) I think we would need a symbol to be able to provide that given that that's the model we have followed for other documentable constructs. I guess it would be possible to provide an anonymous/unnamed symbol for service decls if we want to. But a concern I have regarding doing that is for the For 2) didn't quite get what you meant by "type descriptors of the service level path parameters". Is it the type descriptor in the following?
If so, this should be available in the symbol, should we decide to provide a symbol for service decls. |
Beta Was this translation helpful? Give feedback.
-
Planning on adding a symbol for service decls. The design would be as follows. WDYT? |
Beta Was this translation helpful? Give feedback.
-
Had a discussion with @hasithaa @nadeeshaan and @rasika regarding the above mentioned design and decided to proceed with it. The methods in Created the following to track a further improvement to these type of symbols: #28854 |
Beta Was this translation helpful? Give feedback.
-
Hi all, a slight change in the design. Note the change to |
Beta Was this translation helpful? Give feedback.
-
With the current design decisions of the Semantic-API, we cannot retrieve a symbol for the Services defined in the source file. While the Syntax-API node for the service seems to be an alternative, it is unable retrieve following information through the
ServiceDeclarationNode
node.@pubudu91 @hasithaa please share your ideas on this.
MarkdownDocAttachment/BallerinaDocumentation
in Service Symbol ? - this is required for the CodeActionsRelated issue #27493
Beta Was this translation helpful? Give feedback.
All reactions