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 #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...