Code::Blocks Forums

User forums => Help => Topic started by: viewrock on July 01, 2025, 01:30:36 am

Title: dont parse std::filesystem
Post by: viewrock on July 01, 2025, 01:30:36 am
Hello, i try to learn std::filesystem
do this:
compile flag to c++20 iso standart
#include <filesystem>
and when a try std::filesystem:: - i have only       ::__file_clock  in code complection
but all the tutorial examples compile successfully!!!.
I dont understand how to fix code complection to <filesystem>
i use codeblocks with minGW.
ps:: on visual studio all works correctly.
ps2:: std::string is broken too.)
ps3:: Sorry for my English.
Title: Re: dont parse std::filesystem
Post by: stahta01 on July 01, 2025, 02:32:05 pm
I do not use the old or new CC code completion.

Link to FAQ; to help you it is normally required to post the Code::Blocks version and Operating System (OS) info.
Edit: MinGW does say Windows; the version likely does not matter; but, whether 64 bit OS does sometime matter when using debugger.

https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_get_Code_Completion_to_work.3F (https://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_get_Code_Completion_to_work.3F)

Tim S.
Title: Re: dont parse std::filesystem
Post by: Miguel Gimenez on July 02, 2025, 10:08:09 am
Disable the CodeCompletion plugin and install the new Clangd_client plugin, see this (https://wiki.codeblocks.org/index.php/CB_Clangd_Client).