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

VSCode: Completion for annonymous inner classes improved. #5981

Merged
merged 3 commits into from
May 24, 2023

Conversation

dbalek
Copy link
Contributor

@dbalek dbalek commented May 23, 2023

Code completion for anonymous inner class constructor should generate default implementation for all abstract methods.
E.g. code completion for:

Runnable r = new Runnable|

should generate:

Runnable r = new Runnable() {
    @Override
    public void run() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}

@dbalek dbalek added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests labels May 23, 2023
@dbalek dbalek added this to the NB19 milestone May 23, 2023
@dbalek dbalek requested review from jlahoda, MartinBalin and sdedic May 23, 2023 17:06
@dbalek dbalek self-assigned this May 23, 2023
@dbalek dbalek merged commit ff991ea into apache:master May 24, 2023
@dbalek dbalek deleted the dbalek/vscode-cc-imp branch May 24, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants