Bug 565037

Summary: [content assist] insert common prefix changes case unexpectedly
Product: [Eclipse Project] Platform Reporter: Julian Honnen <julian.honnen>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: 1520080049
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=564305
Whiteboard:

Description Julian Honnen CLA 2020-07-08 02:35:47 EDT
See bug 564305:

> Class java.nio.file.Files has three methods whose names contain `exists`:
> 
>     exists(Path path, LinkOption... options)
> 
>     deleteIfExists(Path path)
> 
>     notExists(Path path, LinkOption... options)
> 
> 
> I typed the `Files.exist` in Java Editor and pressed `Alt+/` to trigger
> content assist, the letter `e` was changed to `E`



The computed common prefix should prefer the current capitalization in the document if that's an exact match.