How exactly Eclipse Code-Completion works?? What Algorithm they are using?

142 Views Asked by At

Can Anyone tell me how the code completion(or code assist whatever is preferable) in Eclipse works?? I mean the tricks/algorithms/Data-Structures it is using.. Somewhere I found that "maybe" it uses Trie, but i want a definite answer, Can anyone please answer it??

1

There are 1 best solutions below

0
Grim On

There are different Token-Scanners who search for known tokens like { and ; to colorize the current viewport-scopes and fill a history. If you press Ctrl+Spc it looks backward and search for occourences in the history.