netbeans
netbeans copied to clipboard
LSP Client: Use full complete item to complete, not just the missing suffix
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.