Skip to content
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

[Improvement]: Improve completions provided for configurable types #43754

Open
nipunayf opened this issue Jan 17, 2025 · 0 comments
Open

[Improvement]: Improve completions provided for configurable types #43754

nipunayf opened this issue Jan 17, 2025 · 0 comments
Labels
Area/Completion Issues related to Language Server Auto Completions Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement

Comments

@nipunayf
Copy link
Contributor

Description

Currently, all types are provided for configurables, which leads to invalid code. Only subtypes of anydata are allowed for configurable types.

Image

Describe your problem(s)

No response

Describe your solution(s)

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@nipunayf nipunayf added Area/Completion Issues related to Language Server Auto Completions Type/Improvement labels Jan 17, 2025
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jan 17, 2025
@nipunayf nipunayf added Team/LanguageServer Language Server Implementation related issues. #Compiler and removed needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Jan 17, 2025
@nipunayf nipunayf changed the title [Improvement]: Invalid completions are provided for configurable types [Improvement]: Improve completions provided for configurable types Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Completion Issues related to Language Server Auto Completions Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement
Projects
None yet
Development

No branches or pull requests

2 participants