Author Topic: dont parse std::filesystem  (Read 759 times)

Offline viewrock

  • Single posting newcomer
  • *
  • Posts: 1
dont parse std::filesystem
« 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7791
    • My Best Post
Re: dont parse std::filesystem
« Reply #1 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

Tim S.
« Last Edit: July 01, 2025, 02:34:01 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1734
Re: dont parse std::filesystem
« Reply #2 on: July 02, 2025, 10:08:09 am »
Disable the CodeCompletion plugin and install the new Clangd_client plugin, see this.