SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: Jeremy on April 05, 2011, 03:27:21 PM
-
I use C/C++ as well as some STL containers, etc. Is there any way to get slickedit to auto-complete functions in these languages/containers easily?
For example:
std::string tmp;
tmp.assign("blahblahblah");
Where if I typed tmp and then the period it would give me a list of possible functions and narrow it down as I type and possibly complete it if I had enough characters entered. Maybe it's doable and I just am ignorant of how to do so. Thanks in advance for any help.
-
Seems to work for me. I pasted your code into another sample (see attached file).
I typed "tmp." and then took the screen shot. SlickEdit doesn't filter the results, but if you keep typing it selects the first match. So, I typed "as" and it selected "assign()". Then I hit tab to complete the selection. See STLcompletionAfter.jpg.
Let us know if that works for you.
-
Wow. I can't get this to work at all. The only options I get are len and start as properties. No functions available. Does this have to do with the fact that I'm using a class that inherits from a class that has the #include <string>? BTW, thank you for your quick response.
-
So I went next door to a friend's office who uses SE as well. His STL, or at least std::string completion works perfectly. I feel like I'm taking crazy pills. Any ideas for my completion-challenged self? :)
-
Note that I had this problem with 15.0.1.3 (I was completely hot-fixed up-to-date). Then I upgraded to 16b1, b2, b3 and am now using b4.
-
What compiler are you working with? Have you tagged the runtime libraries for it? If not, go to Tools > Tag Files, then click the "Auto Tag" button.
You need to be working in a project of the correct type to access those tagged libraries. What project type are you using?
-
i already posted a similiar post for slickedit 14 , and now i'm using 15 and still stl doesnt work here either.
under fedora 12 & 14..
tagged everything over 1000 times , only stl does not work , even though string works for some reason but i guess it got something to do with templates..
-
Any chance you can create a small MSVS solution that exhibits this problem and send it to us? If we can see, we can probably fix it.