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]: Add check error code action not suggested #40123

Closed
malinthar opened this issue Apr 6, 2023 · 1 comment
Closed

[Improvement]: Add check error code action not suggested #40123

malinthar opened this issue Apr 6, 2023 · 1 comment
Labels
Area/CodeAction Language Server Code Actions Priority/Low Status/Duplicate Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement userCategory/Editor

Comments

@malinthar
Copy link
Contributor

Description

Consider the following scenario
image

The io:fileWriteBytes("./audio_clips", audioBytes); returns a value of type io:Error?. The diagnostic can be resolved adding the check keyword. Therefore, the Add check error code action can be suggested as a quick fix in this case.

Describe your problem(s)

No response

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)

No response

@malinthar malinthar added Type/Improvement Area/CodeAction Language Server Code Actions Team/LanguageServer Language Server Implementation related issues. #Compiler labels Apr 6, 2023
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Editor labels Apr 6, 2023
@malinthar malinthar added Priority/Low and removed needTriage The issue has to be inspected and labeled manually labels Jul 10, 2023
@nipunayf
Copy link
Contributor

Duplicate of #42507

@nipunayf nipunayf marked this as a duplicate of #42507 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CodeAction Language Server Code Actions Priority/Low Status/Duplicate Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement userCategory/Editor
Projects
Archived in project
Development

No branches or pull requests

3 participants