Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Broken #include filename completion with hyphens
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

igence-stevefolly
New Member

United Kingdom
4 Posts

Posted - Jan 13 2012 :  06:47:38 AM  Show Profile  Reply with Quote
Hi,

Ctrl-space completion usually works great on C++ #include filenames, apart from when there is a hyphen in the filename. Example:

With a file "Example-Header.h" in the project, start typing

#include "Exam

... and a drop down appears with Example-Header.h as a possibility.

However, continue to type "ple-Hea", and press Escape to clear the suggestion list. Then press ctrl-space for the completion suggestion list, and now it's suggesting symbols instead of files.

Also, usually pressing backspace will also bring up the suggestion list for more completions, but if you've already typed a hyphen in the filename then that suggestion list isn't displayed.

I think this might be partly related to case 19564 which was fixed, but it looks like it didn't capture all problem cases of hyphens in filenames.

Thanks.

igence-stevefolly
New Member

United Kingdom
4 Posts

Posted - Jan 13 2012 :  09:41:19 AM  Show Profile  Reply with Quote
I'm seeing this in build 1856; not tried 1862, but can't see anything in the change log that might suggest it's been fixed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Jan 13 2012 :  7:25:04 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=63981

As you expected, the same problem happens in VA 1862. Hopefully this is not to difficult for you to work around.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000