[Improvement]: Improving Ballerina Resource Function Developer Experience in VS Code Extension #41563
Labels
Reason/Other
None of the other reasons.
Team/LanguageServer/Extensions
Any Language Sever Extension
Team/LanguageServer
Language Server Implementation related issues. #Compiler
Team/VSCode
Type/Improvement
Description
With the majority of Ballerina connectors using Ballerina resource functions, developer experience with resource functions plays a critical role in Ballerina.
The Ballerina VS Code extension provides support for handling resource functions effectively. However, we have identified the following issues and potential improvements:
Suggested Improvements
1. Auto-completion even after path parameters
Currently, after entering a parameter, the auto-completion feature does not work as expected. It would be better to provide suggestions for resource paths after specifying a parameter.
2. Add descriptions when hovering over resource paths
VS Code currently provides descriptions only when hovering over parameters. We propose adding descriptions for resource paths when hovering over them.
3. Replace
<path>
with parameter names and typesParameter names for resource functions are displayed as "path" instead of their actual names and types.
4. List down all the paths to keyword.method() [eg: Calls.post]
If we just type
calls.post
, it should list down all the paths tocalls.post()
.Steps to Reproduce
To reproduce the issue, follow these steps:
Additional Information
Describe your solution(s)
No response
Related area
-> Editor
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
@KavinduZoysa
The text was updated successfully, but these errors were encountered: