0

I've been wondering how autocompletion/suggestions in IDEs like Eclipse work, since I'm looking to implement a similar feature into my project. Do they typically use Databases to efficiently search for the suggestions? Is there anywhere I could read further on that as well? I've had a hard time finding anything on IDEs, most of my investigation lead me to search engines. Is it much different from that in IDEs or are similar approaches used?

Thanks ahead! Treiber

J Treiber
  • 1
  • 2

2 Answers2

0

The autocomplete feature also known as Intellisense is really helpful in coding. In short it look for matches each time you pressed a char in that context. This link is really helpful

Community
  • 1
  • 1
Vishesh
  • 308
  • 1
  • 9
0

http://www.realsolve.co.uk/site/tech/jface-text.php --- may help you

Ideally autocompleate hits storage system each key press for comparison. Storage might be a DB/File etc..

In Eclipse, there is a plug-in we have to add to get the autocomplete capability, The "Eclipse plug-in developer's guide" discusses how different things, including the internal model and auto completion works.