Author Topic: Completion not working with std::string  (Read 4886 times)

daveallen

  • Community Member
  • Posts: 8
  • Hero Points: 0
Completion not working with std::string
« on: April 27, 2009, 08:25:33 pm »
This works in SE 13, but not in 14 (with or without the latest hotfix).  I'm using Linux, both FC6 and ubuntu 9.04.

If I type the following code:

Code: [Select]
std::basic_string<char> b;
b.

I get a popup with the correct members: allocator_type, append(), assign(), at(), etc.

But if I use this instead:

Code: [Select]
std::string s;
s.

I get a popup with a ton of non-string stuff:  __abs, __acos, __add_grouping(), etc.

std::wstring seems to behave correctly, as do other STL types (std::list, std::vector, std::auto_ptr, etc).

I've tried with a fresh configuration and the cpp sample project to make sure there's nothing in my normal codebase that could be messing up the definition of "string".

zrow

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Re: Completion not working with std::string
« Reply #1 on: May 23, 2009, 09:47:01 am »
I encountered the same problem.

I'm using the SE14.0.0.7 + MinGW in Windows XP.

How to do it?
Thanks


« Last Edit: May 23, 2009, 09:49:18 am by zrow »

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: Completion not working with std::string
« Reply #2 on: May 26, 2009, 06:04:59 pm »
I have filed a defect for this and we'll see what we can do to fix this.

swells

  • Community Member
  • Posts: 12
  • Hero Points: 0
Re: Completion not working with std::string
« Reply #3 on: June 16, 2009, 10:43:20 pm »
I'm having the same issue with std::string and completion.

SlickEdit Version 14.0.0.7 for Linux

Thanks!

-Scott

daveallen

  • Community Member
  • Posts: 8
  • Hero Points: 0
Re: Completion not working with std::string
« Reply #4 on: June 17, 2009, 05:43:08 am »
This did get fixed for me in one of the 14.0.1.2 hotfixes (I forget which one, but it's definitely working for me now).

rajkej

  • Senior Community Member
  • Posts: 330
  • Hero Points: 13
Re: Completion not working with std::string
« Reply #5 on: June 17, 2009, 01:26:15 pm »
I filed a bug on this a while back and was told it was scheduled for 14.0.2. I'm running on a MAC.

swells

  • Community Member
  • Posts: 12
  • Hero Points: 0
Re: Completion not working with std::string
« Reply #6 on: July 31, 2009, 02:30:49 pm »
Yeah, the upgrade fixed the problem, thanks.