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

Code completion proposals for Throwable types should have higher relevance within catch parameter #426

Closed
eric-milles opened this issue Jan 16, 2018 · 1 comment
Assignees
Milestone

Comments

@eric-milles
Copy link
Member

Similar to #419, when completing within a catch parameter list, Throwable types should have boosted relevance.

try {
} catch (Th) { // Throwable should be at the top of the list for Ctrl-Space before ')'
} catch (Exception | Er) { // Error should be at the top of the list for Ctrl-Space before ')'
}

Note: Parser error recovery may be required for catch (Exception | Er) where the parameter name is not yet supplied.

@eric-milles eric-milles added this to the v3.0.0 milestone Jan 16, 2018
@eric-milles
Copy link
Member Author

Same goes for completion in throws clause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant