Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Broken #include filename completion with hyphens

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
igence-stevefolly Posted - Jan 13 2012 : 06:47:38 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 13 2012 : 7:25:04 PM
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.
igence-stevefolly Posted - Jan 13 2012 : 09:41:19 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000