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]: Provide a completion snippet for writing a distinct error #42532

Open
nipunayf opened this issue Apr 10, 2024 · 0 comments
Open
Labels
Area/Completion Issues related to Language Server Auto Completions Priority/Low Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement

Comments

@nipunayf
Copy link
Contributor

Description

Similar to how we provide a snippet to define an error type, LS should offer the same template with a distinct error. This would be convenient for the user, as the most common use case for this error snippet is to define a distinct error type for the given module.

type <RENAME_POPUP> distinct error;

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 Type/Improvement Priority/Low Team/LanguageServer Language Server Implementation related issues. #Compiler Area/Completion Issues related to Language Server Auto Completions labels Apr 10, 2024
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 Priority/Low Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Improvement
Projects
None yet
Development

No branches or pull requests

1 participant