Author Topic: No member functions dropdown  (Read 3033 times)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
No member functions dropdown
« on: April 15, 2016, 08:25:35 am »
hello,
 is there a way to get a dropdown with all memeber functions for string variable "string1" when i type a dot "."?

Code: [Select]
const std::stringc = "Hello" ;
std::string string1(stringc.sizeof(),'*');

CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11770
    • Travis build status
Re: No member functions dropdown
« Reply #1 on: April 15, 2016, 09:05:47 pm »
Yes, you need the Code completion plugin enabled and running.
Then it just works, if the parser doesn't fail to parse the code correctly.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #2 on: April 15, 2016, 09:18:28 pm »
Yes, you need the Code completion plugin enabled and running.
Then it just works, if the parser doesn't fail to parse the code correctly.

yup, have it installed and enabled. but still no dropdown that shows all functions for type string. How do i check if plugin is working?
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11770
    • Travis build status
Re: No member functions dropdown
« Reply #3 on: April 16, 2016, 01:00:18 am »
Works perfectly fine for me. Opened a file typed
Code: C++
  1. #include <string>
  2. int main()
  3. {
  4.     string c;
  5.     c.| // here I've got a list full of suggestions
  6.  

Do you need something else?
To get a proper list you need a code that compiles up to the point of the cursor.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #4 on: April 16, 2016, 01:29:47 am »
Works perfectly fine for me. Opened a file typed
Code: C++
  1. #include <string>
  2. int main()
  3. {
  4.     string c;
  5.     c.| // here I've got a list full of suggestions
  6.  

Do you need something else?
To get a proper list you need a code that compiles up to the point of the cursor.

that is _exactly_ what i need. And even after reinstall it is not working.
how do i check what can be wrong ?

P.S. here is the complete log.
I ran CB as root to eliminate any access issues .

this is what i see :
Code: [Select]
Top Editor: /root/tmp/test/main.cpp
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: /bin/bin/g++
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: /bin/bin/g++
NativeParser::DoFullParsing(): AddCompilerPredefinedMacros failed!
NativeParser::DoFullParsing(): AddProjectDefinedMacros failed!
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 1 source file(s) for project 'test' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/root/tmp/test' for: main.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /root/tmp/test/main.cpp




« Last Edit: April 16, 2016, 05:53:01 am by AZ »
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11770
    • Travis build status
Re: No member functions dropdown
« Reply #5 on: April 16, 2016, 07:52:49 am »
Obviously the log tells you what is wrong - missing compiler executable g++.
Have you tried to compile your code? It will tell you the same thing. So go on and install a compiler or fix your settings.

p.s. And don't work as root, it is not a good idea in the long run!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: No member functions dropdown
« Reply #6 on: April 16, 2016, 08:13:39 am »
I just tested it on linux:
compiling might work, but codecompletion not.

If you look at the log you see, that cc searches the compiler in "/bin/bin" what is obviously wrong.
Please fix your toolchain, you must have messed it up.
On fresh installations it's correct for gcc on linux (at least I never see it not working).

Try to autodetect the compilers master path or set it manually to "/usr" !

But unfortunately, that does not mean it works afterwards.

I just tried it with the same example, and I do not get a member list.
Even not after restarting Code::Blocks.

This might be a bug in code-completion (on linux?) or a problem with my settings.

Latest trunk on Fedora 54-bit build with gcc 5.3 against wx 2.8.12.

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #7 on: April 16, 2016, 08:58:49 am »
Obviously the log tells you what is wrong - missing compiler executable g++.
Have you tried to compile your code? It will tell you the same thing. So go on and install a compiler or fix your settings.

p.s. And don't work as root, it is not a good idea in the long run!

code compiles just fine. no idea where to make changes so the warning goes away :(. Sorry.
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #8 on: April 16, 2016, 09:06:26 am »
I just tested it on linux:
compiling might work, but codecompletion not.

If you look at the log you see, that cc searches the compiler in "/bin/bin" what is obviously wrong.
Please fix your toolchain, you must have messed it up.
On fresh installations it's correct for gcc on linux (at least I never see it not working).

Try to autodetect the compilers master path or set it manually to "/usr" !

But unfortunately, that does not mean it works afterwards.

I just tried it with the same example, and I do not get a member list.
Even not after restarting Code::Blocks.

This might be a bug in code-completion (on linux?) or a problem with my settings.

Latest trunk on Fedora 54-bit build with gcc 5.3 against wx 2.8.12.

autodetection works fine in the sense that during startup it detects all compilers. What is annoying ( probably something is messed up as you said ) that it asks to confirm cc on every start.

> .. This might be a bug in code-completion (on linux?) or a problem with my settings.
I did some digging on the forum and while no exact matches found, there was a suggestion to:
 a. insure "code completion" is enabled in the Settings->General Setings (Code completion ).
 b. disable "SmartSense" in the Settings-> GeneralSettings->Code Completion

once i disable SmartSense i see all the functions in the string variable.

P.S. welll.... not working again... damn it..
« Last Edit: April 16, 2016, 09:14:23 am by AZ »
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5219
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: No member functions dropdown
« Reply #9 on: April 16, 2016, 09:31:43 am »
@AZ
We need to know the compiler setting, it is under: Menu->Settings->Compiler settings->Toolchain executables.
Do you correctly set the compiler installation directory and the program files?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #10 on: April 16, 2016, 05:16:08 pm »
@AZ
We need to know the compiler setting, it is under: Menu->Settings->Compiler settings->Toolchain executables.
Do you correctly set the compiler installation directory and the program files?

got it.
 This is what i have  -attached.
Now, if i click on auto-detect i get that empty dialog - see attached.
At the same time, if i click on the ".." next to "Compiler" or "C++ compiler", after some time "thinking", it points to the /bin/executables.
"Additional paths" are empty.

« Last Edit: April 16, 2016, 05:18:12 pm by AZ »
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #11 on: April 16, 2016, 05:18:42 pm »
@AZ
We need to know the compiler setting, it is under: Menu->Settings->Compiler settings->Toolchain executables.
Do you correctly set the compiler installation directory and the program files?


I also captured the list of the options the code complete provides me with. There is no functions only a long list of "_" variables ( i guess they are varibles or const)
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #12 on: April 16, 2016, 05:22:00 pm »
after explicitly setting the directory for compiler i restarted the CB and after loading the project:
Code: [Select]
Done loading project in 3ms
Project's base path: /home/az/Dropbox/work/C++/Accelerated_CPP/
Project's common toplevel path: /home/az/Dropbox/work/C++/Accelerated_CPP/
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 41)
Editor Open
Project data set for /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
Top Editor: /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: /bin/bin/g++
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: /bin/bin/g++
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: /bin/bin/g++
NativeParser::DoFullParsing(): AddCompilerPredefinedMacros failed!
NativeParser::DoFullParsing(): AddProjectDefinedMacros failed!
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 1 source file(s) for project 'Accelerated_CPP' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/C++/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
NativeParser::CreateParser(): Finish creating a new parser for project 'Accelerated_CPP'
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::OnParserStart(): Starting batch parsing for project 'Accelerated_CPP'...
NativeParser::OnParserEnd(): Project 'Accelerated_CPP' parsing stage done!
Project 'Accelerated_CPP' parsing stage done (2 total parsed files, 1 tokens in 0 minute(s), 0.008 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/C++/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/az/Dropbox/work/C++/Accelerated_CPP/' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.


That issue (?) with the directories only occures when i select the GCC compiler, for all other compilers on the list autodetection works fast and correctly populates the directories.

enabled "-d" :
Code: [Select]
<skip>
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
<skip>
[code]
after opening the project:
[code]
Project data set for /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
Top Editor: /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: bin/g++
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: bin/g++
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]: bin/g++
NativeParser::GetCompilerUsingStandardGCC(): Using language standard: -std=c++11
NativeParser::AddCompilerPredefinedMacrosGCC: Caching predefined macros for compiler '/bin/g++':
#define __DBL_MIN_EXP__ (-1021)
#define __cpp_attributes 200809
#define __UINT_LEAST16_MAX__ 0xffff
#define __ATOMIC_ACQUIRE 2
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __GCC_IEC_559_COMPLEX 2
<skip>

#define __ATOMIC_RELEASE 3

NativeParser::DoFullParsing(): AddProjectDefinedMacros failed!
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 1 source file(s) for project 'Accelerated_CPP' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/C++/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
NativeParser::CreateParser(): Finish creating a new parser for project 'Accelerated_CPP'
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::OnParserStart(): Starting batch parsing for project 'Accelerated_CPP'...
NativeParser::OnParserEnd(): Project 'Accelerated_CPP' parsing stage done!
Project 'Accelerated_CPP' parsing stage done (3 total parsed files, 277 tokens in 0 minute(s), 0.005 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/C++/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/az/Dropbox/work/C++/Accelerated_CPP/' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.


still compiles and runs, but no complettion:
Code: [Select]

-------------- Build: Debug in Accelerated_CPP (compiler: GNU GCC Compiler)---------------

g++ -Wall -fexceptions -g -std=c++11  -c /home/az/Dropbox/work/C++/Accelerated_CPP/string.cpp -o obj/Debug/string.o
g++  -o bin/Debug/Accelerated_CPP obj/Debug/string.o   
Output file is bin/Debug/Accelerated_CPP with size 50.77 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 

-------------- Run: Debug in Accelerated_CPP (compiler: GNU GCC Compiler)---------------

Checking for existence: /home/az/Dropbox/work/C++/Accelerated_CPP/bin/Debug/Accelerated_CPP
Executing: xterm -T Accelerated_CPP -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/az/Dropbox/work/C++/Accelerated_CPP/bin/Debug/Accelerated_CPP  (in /home/az/Dropbox/work/C++/Accelerated_CPP/.)
Process terminated with status 0 (0 minute(s), 3 second(s))


Added "/usr" to the compiler directory, as per :
http://forums.codeblocks.org/index.php/topic,18467.msg126396.html#msg126396 . compiles, no completion .

AHA! getting somewhere:
http://forums.codeblocks.org/index.php/topic,20898.msg142770.html#msg142770

My path had "C++" after i renamed to "CPP" life started to lookup - at least no error messages about compiler. And compiler autodetection works fine.

But still no code completion.
« Last Edit: April 16, 2016, 06:13:10 pm by AZ »
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #13 on: April 16, 2016, 06:17:09 pm »
All right the summary of where i'm with this :
 the issue with compiler:
Code: [Select]
NativeParser::GetGCCCompilerDirs(): Cannot get compiler dirs due to invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]
was resolved by removing "++" from the project path. As the result no errors in the cb log:
Code: [Select]
Done loading project in 3ms
Project's base path: /home/az/Dropbox/work/CPP/Accelerated_CPP/
Project's common toplevel path: /home/az/Dropbox/work/CPP/Accelerated_CPP/
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 41)
Editor Open
Project data set for /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
Top Editor: /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/include/c++/5.3.1
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/include/c++/5.3.1/x86_64-redhat-linux
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/include/c++/5.3.1/backward
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/local/include
NativeParser::GetGCCCompilerDirs(): Caching GCC default include dir: /usr/include
NativeParser::GetCompilerUsingStandardGCC(): Using language standard: -std=c++11
NativeParser::AddCompilerPredefinedMacrosGCC: Caching predefined macros for compiler '/usr/bin/g++':
#define __DBL_MIN_EXP__ (-1021)
#define __cpp_attributes 200809
<skip>
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_RELEASE 3

NativeParser::DoFullParsing(): AddProjectDefinedMacros failed!
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 1 source file(s) for project 'Accelerated_CPP' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/CPP/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
NativeParser::CreateParser(): Finish creating a new parser for project 'Accelerated_CPP'
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::OnParserStart(): Starting batch parsing for project 'Accelerated_CPP'...
ReadVarNames() : Unexpected token '((__deprecated__))' for 'has_trivial_default_constructor', file '/usr/include/c++/5.3.1/type_traits', line 1385.
ReadVarNames() : Unexpected token '((__deprecated__))' for 'has_trivial_copy_constructor', file '/usr/include/c++/5.3.1/type_traits', line 1391.
ReadVarNames() : Unexpected token '((__deprecated__))' for 'has_trivial_copy_assign', file '/usr/include/c++/5.3.1/type_traits', line 1397.
ReadClsNames() : Unexpected token '((__aligned__))' for 'struct64___pthread_unwind_buf_t', file '/usr/include/pthread.h', line 533.
NativeParser::OnParserEnd(): Project 'Accelerated_CPP' parsing stage done!
Project 'Accelerated_CPP' parsing stage done (96 total parsed files, 4402 tokens in 0 minute(s), 0.348 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/CPP/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/az/Dropbox/work/CPP/Accelerated_CPP/' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Reparsing when typing for editor /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
NativeParser::OnParserStart(): Starting re-parsing for project 'Accelerated_CPP'...
Project 'Accelerated_CPP' parsing stage done (96 total parsed files, 4402 tokens in 0 minute(s), 0.015 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/CPP/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/az/Dropbox/work/CPP/Accelerated_CPP/' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
Re-parsed 1 files.
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /home/az/Dropbox/work/CPP/Accelerated_CPP.
CWD for depslib is: /home/az/Dropbox/work/CPP/Accelerated_CPP.
Scanned 0 files for #includes, cache used 0, cache updated 0
NativeParser::OnParserStart(): Starting re-parsing for project 'Accelerated_CPP'...
Project 'Accelerated_CPP' parsing stage done (96 total parsed files, 4402 tokens in 0 minute(s), 0.010 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/az/Dropbox/work/CPP/Accelerated_CPP' for: string.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/az/Dropbox/work/CPP/Accelerated_CPP/' for: string.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/az/Dropbox/work/CPP/Accelerated_CPP/string.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
SystemHeadersThread: /usr/ , 95270
SystemHeadersThread: /usr/include/c++/5.3.1/ , 631
SystemHeadersThread: /usr/include/c++/5.3.1/x86_64-redhat-linux/ , 46
SystemHeadersThread: /usr/include/c++/5.3.1/backward/ , 8
SystemHeadersThread: /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/ , 99
SystemHeadersThread: /usr/local/include/ , 0
SystemHeadersThread: /usr/include/ , 1706
SystemHeadersThread: Total number of paths: 7



I'm still unable to get the list of the functions for var of string type.

If i disable "SmartSense" i get a drop down with tons of options, but if i try to get the "size()" function - it is not on the list.
See attached.
« Last Edit: April 16, 2016, 06:28:29 pm by AZ »
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Multiple posting newcomer
  • *
  • Posts: 112
Re: No member functions dropdown
« Reply #14 on: April 16, 2016, 07:22:33 pm »
Resolution:

 Create a new project ( make sure no funny symbols in the path ).

 Smart sense is on - default.

 everything works beautifully.

no desire to figure out what is wrong with the old project.
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)