Autocompletion

If you’ve started a new FEHProteus project in Qt Creator, you’ve probably noticed that your code initially does not autocomplete. Autocompletion is an extremely useful feature because it shows you in real time the functions available for a given object, and it also tells you what those functions expect as inputs. This feature also helps prevent spelling mistakes (especially capitalization errors). To get your new project to begin using autocompletion, follow these steps:

  1. Build the default hello world program. (This will download the Proteus firmware libraries.)
  2. Once built, right click on your project and select “Close Project”.
  3. Close out of the main file as well. Now, nothing should be open in Qt Creator.
  4. Re-open your new project from File ⇒
  5. Recent Projects ⇒
  6. …\<Your Project Name>.creator

That’s it! your code should now autocomplete. See the pictures below if you prefer visual guidance.

Autocompletion1

Autocompletion2