Namespace ignored in code completion
A free, portable, fast and simple C/C++ IDE
Brought to you by:
orwelldevcpp
Version: 5.6.0 with MinGW 4.8.1 (not TDM)
OS version: Windows 8.0 Pro
Error reported: Code completion for namespaces and file suggestion in #include <> and #include "" aren´t working.
Stack trace: No stack trace. It´s a editor issue, not code.
Steps needed to reproduce the problem: Create a C++ project, save the main.cpp default file, and:
1 - Write #include <> or #include "" and press ctrl+space inside the <> (or "").
2 - Type std:: inside main( ) and press ctrl+space.
Diff:
What is your expected behaviour of using Ctrl+Click inside an include? Currently, files can by navigated using "Ctrl+Click", just like the mouseover tooltip says.
Yep, I haven't implemented that yet. Sorry. Namespaces are currently ignored.
The ctrl+click is working fine.
The issue is in the ctrl+space shortcut. It doesn´t show any suggestion for file (if you write #include <iost and="" press="" ctrl+space,="" nothing="" happens)="" and="" worse,="" some="" times="" the="" current="" file="" vars="" and="" funcions="" is="" listed="" inside="" the="" <=""> or "".
In Editor->Engine Options, the option "Scan files referenced by #include 'foo'" and "#include <bar>" are for code completion or to show the file suggestions inside the <> and "" ?
These two options are for code completion everywhere in the file. Because code completion is invalid inside an include statement, it is disabled. Anywhere else, the valid contents of the files you include are shown.