This is probably a little out of scope but I am hoping that someone has gotten this to work. A code line like this: boost::filesystem::path working_path_a( boost::filesystem::current_path() ); ...causes vstudio 2005 intellisense to stop working. It says this 'No additional Information Available' at the bottom. Anything before that line and intellisense works fine and anything after it doesn't. Any help would be greatly appreciated. As a relatively new user to boost having this feature really helps out. Thanks, Graham
Graham Reitz wrote:
This is probably a little out of scope but I am hoping that someone has gotten this to work.
A code line like this:
boost::filesystem::path working_path_a( boost::filesystem::current_path() );
...causes vstudio 2005 intellisense to stop working. It says this 'No additional Information Available' at the bottom.
Anything before that line and intellisense works fine and anything after it doesn't.
Any help would be greatly appreciated. As a relatively new user to boost having this feature really helps out.
Thanks, Graham
Intellisense is a misnomer (/pace/ Bill Gates) in my opinion, as it is not intelligent and sometimes makes no sense. I find that it fails to find members of elements of an array of class instantiations. For example: class MyClass { public: //for the sake of example int member; }; MyClass x; MyClass y[10]; x.member = 1; y[0].member = 2; Typing the dot after the x will suggest "member", but Intellisense fails to do so when you type "y[0].", I seem to recall. So I'm sorry to say that I think this might be an Intellisense issue rather than a Boost one. I hope someone can say otherwise, but sometimes Intellisense isn't up to the job and you have to type things out by hand. Or have I misunderstood? Are you saying that Intellisense stops working altogether when you use filesystem::path, and then refuses to work on any other code that you type in?
Thanks Paul.
Or have I misunderstood? Are you saying that Intellisense stops working altogether when you use filesystem::path, and then refuses to work on any other code that you type in?
Yes, that's correct. Anything before the line of code, in the original
post, works (i.e. if I do std::[intellisense works]) but after (i.e.
std::[no intellisense]) and it doesn't.
Also, I didn't mean to imply this is a boost issue, it certainly isn't. But
was wondering if other folks have the same issue(s) or know a workaround.
Thanks again,
Graham
On 4/19/07, Paul Giaccone
Graham Reitz wrote:
This is probably a little out of scope but I am hoping that someone has gotten this to work.
A code line like this:
boost::filesystem::path working_path_a( boost::filesystem::current_path() );
...causes vstudio 2005 intellisense to stop working. It says this 'No additional Information Available' at the bottom.
Anything before that line and intellisense works fine and anything after it doesn't.
Any help would be greatly appreciated. As a relatively new user to boost having this feature really helps out.
Thanks, Graham
Intellisense is a misnomer (/pace/ Bill Gates) in my opinion, as it is not intelligent and sometimes makes no sense. I find that it fails to find members of elements of an array of class instantiations. For example:
class MyClass { public: //for the sake of example int member; };
MyClass x; MyClass y[10];
x.member = 1; y[0].member = 2;
Typing the dot after the x will suggest "member", but Intellisense fails to do so when you type "y[0].", I seem to recall.
So I'm sorry to say that I think this might be an Intellisense issue rather than a Boost one. I hope someone can say otherwise, but sometimes Intellisense isn't up to the job and you have to type things out by hand.
Or have I misunderstood? Are you saying that Intellisense stops working altogether when you use filesystem::path, and then refuses to work on any other code that you type in?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I've also seen this occur with BGL. Before I make a call to connected_components, it's fine. Afterwards, intellisense no longer works. Maybe VS has an issue with reading hpp? Just my wild guess... ________________________________ From: Graham Reitz [mailto:graham.cpp@gmail.com] Sent: Thursday, April 19, 2007 6:55 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost and Intellisense... Thanks Paul.
Or have I misunderstood? Are you saying that Intellisense stops working altogether when you use filesystem::path, and then refuses to work on any other code that you type in?
Yes, that's correct. Anything before the line of code, in the original post, works ( i.e. if I do std::[intellisense works]) but after (i.e. std::[no intellisense]) and it doesn't. Also, I didn't mean to imply this is a boost issue, it certainly isn't. But was wondering if other folks have the same issue(s) or know a workaround. Thanks again, Graham
Graham Reitz wrote:
Thanks Paul.
Or have I misunderstood? Are you saying that Intellisense stops working altogether when you use filesystem::path, and then refuses to work on any other code that you type in?
Yes, that's correct. Anything before the line of code, in the original post, works ( i.e. if I do std::[intellisense works]) but after (i.e. std::[no intellisense]) and it doesn't.
Also, I didn't mean to imply this is a boost issue, it certainly isn't. But was wondering if other folks have the same issue(s) or know a workaround.
Hi, actually you're "lucky", because when i use boost::bind, intellisense usually crashes :( I don't know if its any better with the service pack 1 for vs2005, but if you haven't already, maybe you could try installing it. -- Regards, dave
David Klein wrote:
Hi,
actually you're "lucky", because when i use boost::bind, intellisense usually crashes :(
I use several boost libraries (including bind), vs2003 and Visual Assist X. Visual Assist X provides an improved Intellisense that works quite well. You can download a free 30-day trial version at www.wholetomato.com. -- Johan Råde
Johan,
Thanks! Visual Assist X is awesome! I just gave it a try with my boost
example and so far so good. It has a 30 day trial, like you stated, so
that will give me plenty of time to put it through the ringer.
Kindly,
Graham
On 4/19/07, Johan Råde
David Klein wrote:
Hi,
actually you're "lucky", because when i use boost::bind, intellisense usually crashes :(
I use several boost libraries (including bind), vs2003 and Visual Assist X. Visual Assist X provides an improved Intellisense that works quite well. You can download a free 30-day trial version at www.wholetomato.com.
-- Johan Råde
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On 21/04/07, Graham Reitz
Johan,
Thanks! Visual Assist X is awesome! I just gave it a try with my boost example and so far so good. It has a 30 day trial, like you stated, so that will give me plenty of time to put it through the ringer.
Kindly, Graham
If you do find issues with Visual Assist, please report them to Whole Tomato - I've found them very responsive to bug reports, especially if you have a good repro case - and Boost does seem to exercise the parser and winkle out bugs pretty effectively. Stuart Dootson
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Peter Dimov Sent: Thursday, April 19, 2007 11:59 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost and Intellisense...
David Klein wrote:
Hi,
actually you're "lucky", because when i use boost::bind, intellisense usually crashes :(
My experience is that boost::bind by itself is OK, but as soon as you include the lambda::bind header, typing 'bind(' becomes a not very good idea. :-)
Also function<...> somehow becomes function_base<...>. I stopped using VS a while back though.
Sohail Somani wrote:
David Klein wrote:
Hi,
actually you're "lucky", because when i use boost::bind, intellisense usually crashes :(
My experience is that boost::bind by itself is OK, but as soon as you include the lambda::bind header, typing 'bind(' becomes a not very good idea. :-)
Also function<...> somehow becomes function_base<...>. I stopped using VS a while back though.
Personally I had to delete the intellisense dll file to disable it as vs2005 would say updating intellisense forever and use 100% of a processor. Visual Assist continually releases updates that improve it's handling of templates and it works great for me.
participants (9)
-
David Klein
-
Ferng, Andrew D
-
Graham Reitz
-
Johan Råde
-
Michael Marcin
-
Paul Giaccone
-
Peter Dimov
-
Sohail Somani
-
Stuart Dootson