Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mike.perreman on January 30, 2018, 09:10:21 pm

Title: autocomplete questions
Post by: mike.perreman on January 30, 2018, 09:10:21 pm
Hello! Ive been looking for this answer, or how to turn this option on, but when im typing
Code
#include "MyC
is there any way to get a suggestion for "MyClass"? like how the autocomplete works for code, but for the includes. When I type '#', I get a list of potential endings, like #elif, #endif, etc. Im sure there is a way, but I cant find it. Or, am I mistaken, is this just simply not possible?
Title: Re: autocomplete questions
Post by: oBFusCATed on January 31, 2018, 12:14:23 am
Is Settings -> Editor -> Code completion -> Code completion -> Enable headers code-completion checked?
Title: Re: autocomplete questions
Post by: mike.perreman on January 31, 2018, 02:16:14 pm
Yes it is
Title: Re: autocomplete questions
Post by: Quiss on January 31, 2018, 02:52:05 pm
You created a project and "MyClass.h" added to it, right?
Title: Re: autocomplete questions
Post by: mike.perreman on January 31, 2018, 06:32:00 pm
freaky, its working now, but I changed no settings...