Author Topic: Fold complete suggestions  (Read 1985 times)

Offline bugmenot

  • Multiple posting newcomer
  • *
  • Posts: 32
Fold complete suggestions
« on: January 03, 2007, 05:41:21 pm »
The code completer works great in many situation however in some situation it doesn't really help that much.

If for example you have many names which start the same long prefix. For example "static_" you always have to type it out and some additional letters to view any useful suggestions. Therefore how about breaking all names up where there's a '_' or where the case changes. Now you get a couple of "intermediate" names.

For example if you wanted "static_cast" and you would type "stat" then it would suggest "static" followed by all complete names as for example "static_cast". If you then select a full name then the behavior would be the same as now. Otherwise when selecting an intermediate name for example "static" it would complete "stat" to "static" and continue to suggest any now relevant names, including an empty one if you meant the keyword "static".