netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

LSP Client: Use full complete item to complete, not just the missing suffix

Open matthiasblaesing opened this issue 3 years ago • 0 comments

This is the test case (typescript):

export class test {
    demo() {
        this.runstranget|
    }

    runStrangeThings(): void {
    }
}

The codecompletion at the | mark will offer "runStrangeThings", but completion will yield "this.runstrangethings". The reason is, that the CC is invoced case-insensitive, so the original string needs to be replaced with the full result.

matthiasblaesing avatar Oct 03 '22 11:10 matthiasblaesing