Bug 565037 - [content assist] insert common prefix changes case unexpectedly
Summary: [content assist] insert common prefix changes case unexpectedly
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-08 02:35 EDT by Julian Honnen CLA
Modified: 2020-07-08 02:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.