Code completion in Eclipse (rebuilding indexes)

In Eclipse CDT, the code completion functionality, Ctrl+. in Mac, sometimes does not work leaving an error message “Could not find symbol XXX in index” in the status bar. This can be fixed by rebuilding internal indexing via Right Click in the Project Explorer -> Index -> Rebuild.

For more information, see “Why does Open Declaration (F3) not work? (also applies to other functions using the indexer)”.

Japanese:

Eclipse CDTのコード補完やジャンプが効かなくなる時があります。ステータスバーに、赤字で”Could not find symbol XXX in index”と出ます。インデックスのrebuildで直ることがあるので、プロジェクトフォルダを右クリック -> Index -> Rebuildを試してみましょう。

以下に詳しい解説があります。 “Why does Open Declaration (F3) not work? (also applies to other functions using the indexer)”.