From information in a previous thread I managed to get Eclipse's Content Assist feature working with some parts of the STL.
However, today I was working with streams and strings and content assist doesn't work. The same project still works fine with vectors. Does anyone know what the trick is for getting it to work on streams and strings. I can manually type everything and it compiles and runs fine I just don't get any suggestions for any members.
(If you are interested in how to get the STL pieces like vector working, I wrote the results up in a blog entry here: http://syncor.blogspot.com/2009/08/gali ... d-stl.html
How to get Eclipse's Content Assist with Strings and Streams
Re: How to get Eclipse's Content Assist with Strings and Streams
Yep, looks like something wrong with PATH to GCC for ENVIRONMENTS. Don't know why.
Anyway, you can always manually set whatever it can't find. To see unresolved includes go to "Project/Index/Search for unresolved includes". In my case it was:
I remember you need exact steps, so see screenshots below =)
Best regards.
Anyway, you can always manually set whatever it can't find. To see unresolved includes go to "Project/Index/Search for unresolved includes". In my case it was:
Code: Select all
C:\nburn\gcc-m68k\m68k-elf\include\c++\4.2.1
C:\nburn\gcc-m68k\m68k-elf\include\c++\4.2.1\m68k-elf
C:\nburn\gcc-m68k\lib\gcc\m68k-elf\4.2.1\include
Best regards.
- Attachments
-
- Check for unresolved includes.
- screen5.png (18.09 KiB) Viewed 4334 times
-
- Additional includes.
- screen3.png (194.02 KiB) Viewed 4337 times
-
- Code assist suggestion for std::string
- screen4.png (152 KiB) Viewed 4337 times
Re: How to get Eclipse's Content Assist with Strings and Streams
fanat9,
Thanks again. Adding the "lib" path seemed to do the trick for me. Much nicer now.
Tod
Thanks again. Adding the "lib" path seemed to do the trick for me. Much nicer now.
Tod