Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: EuphoricCatface on August 04, 2020, 04:15:22 am

Title: Autocomplete always assume `using namespace std`??
Post by: EuphoricCatface on August 04, 2020, 04:15:22 am
Linux Mint 20 Cinnamon, Code::Blocks 20.03

This is the only grief I have with C::B at the time
At least out of the box, it always works like I've written `using namespace std` - which is actually recently discouraged.

What autocomplete can show:
What autocomplete can NOT show:

I have made a post about this more than a year ago - http://forums.codeblocks.org/index.php/topic,23237 (http://forums.codeblocks.org/index.php/topic,23237) and since no one provided me a workaround, I'm assuming there's none.

What's the logic behind this behavior? Also, by any chance, is there actually a workaround?
Title: Re: Autocomplete always assume `using namespace std`??
Post by: BlueHazzard on August 04, 2020, 08:04:24 pm
Our C++ parser is sadly not up to date and probably can not parse new > c++11 constructs.... So i do not think there is a workaround...
Title: Re: Autocomplete always assume `using namespace std`??
Post by: EuphoricCatface on August 05, 2020, 08:33:21 am
Aww that's so sad. I remember liking C::B quite a lot, years ago :(