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
 Feature Requests
 Capitals and suggestion lists
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 19 2004 :  9:53:10 PM  Show Profile
When typing capitals, the suggestion list should suppress items which do not match the capital part.

VAX annoyed me just now when I tried to type FILETIME and after typing FILE it still insisted to suggest "FileTimeToSystemTime" and "FileTimeToLocalTime".

Cezariusz
Tomato Guru

Poland
244 Posts

Posted - May 20 2004 :  04:37:14 AM  Show Profile
I agree, capitals are usually being written intentionally and it should be respected.

Cezariusz Marek
https://midicat.net/
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - May 20 2004 :  05:15:30 AM  Show Profile
I'm not sure about this. Most of the time it would probably be an improvement, but sometimes I get confused about the case I (or other programmers) used. Is it LogFile or Logfile, for example? If I type LogFile, I would still like to be offered Logfile.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 20 2004 :  07:57:37 AM  Show Profile
initially this sounds good, but Stephen is correct, when you aren't sure about the correct case of the word you are typing...

Uniwares, your example is all caps. personally i use a mix of capitals and underscores for #define's and enums. how about checking case if the symbol is all upper case and underscores so far?

so PATH_ would get the small suggestion list, while path_ and Path_ would get the same longer completion list.

zen is the art of being at one with the two'ness
Go to Top of Page

Cezariusz
Tomato Guru

Poland
244 Posts

Posted - May 20 2004 :  09:06:04 AM  Show Profile
Stephen, if you are unsure, you could just type logfile, to get all the completions, like LogFile, Logfile, logFile. Just when typing Log you would only get Logfile and LogFile.

Cezariusz Marek
https://midicat.net/
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - May 20 2004 :  11:22:17 AM  Show Profile
I understand that, but I might think it was LogFile, type LogF, and get nothing. Generally I'd rather get false positives in the list than false negatives.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - May 20 2004 :  11:26:56 AM  Show Profile
I'm with Stephen - false positives are better than false negatives in this case...
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 20 2004 :  11:39:21 AM  Show Profile
Personally I'd really prefer to have capitals treated as significant. More often than not, I'm typing API struct names which are all caps, than trying to figure out what the name of function is that someone else wrote.
And for these rare cases, one can still Ctrl+Space to get the full list.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 20 2004 :  12:17:29 PM  Show Profile
hence my suggestion for treating words all in caps differently, as Uniwares would like. how does this sound to other people?

zen is the art of being at one with the two'ness
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - May 20 2004 :  12:32:25 PM  Show Profile
I would be happy with all caps only matching words which start with all caps.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

Ondrej Spanel
Senior Member

40 Posts

Posted - Jun 09 2004 :  06:02:09 AM  Show Profile
quote:
When typing capitals, the suggestion list should suppress items which do not match the capital part.


I would like this as well. I am used to type in the correct case anyway. If you think there is a significant number of people who are used to work case insensitive, perhaps adding an option for case sensitivity could help.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 09 2004 :  7:14:43 PM  Show Profile
case=118

Whole Tomato Software, Inc.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 10 2004 :  7:04:49 PM  Show Profile
Here is a common piece of code.....
LRESULT ToolTipWrapper::DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam){
return CWnd::DefWindowProc( w ); // when typing w, VA X knows that wParam is much more likely to be typed, as opposed to WPARAM;
}

Build 1240 will fix a bug where if the suggestion list contained WPARAM and wParam, typing "w" would suggest "wParam" and typing "wp" switch to "WPARAM".

This should help everyone.

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000