I had the same problem, until 5 minutes ago. I realized that the code-complete needs a build in order to function. Therefore, after creating a new function (let's say foo), if you write fo and hit ctrl+space, the code-completion isn's showing the foo function. But after a short ctrl+F9 (build), everything works just fine.