Atom Clang Autocomplete for #ifdef parts


I am using Atom with platformio. Is there a possibility to activate the autocomplete for functions within #ifdef parts?

void _pwmMQTTCallback(unsigned int type, const char * topic, const char * payload) {


The function pwmMQTTCallback cant be found for autocomplete. For example there is the espurna project with much of these directives. But this makes the autocomplete-clang functions totaly unusable.

best regards

Could you PlatformIO IDE for VSCode? It has better integration.

yes, i tried. but currently there are another problems with autocompletion. I opened a other topic for. I will give it a try if the platformio integration is the better one.