Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - May 19 2004 : 9:53:10 PM
|
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
|
I agree, capitals are usually being written intentionally and it should be respected. |
Cezariusz Marek https://midicat.net/ |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - May 20 2004 : 05:15:30 AM
|
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
|
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - May 20 2004 : 07:57:37 AM
|
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 |
|
|
Cezariusz
Tomato Guru
Poland
244 Posts |
Posted - May 20 2004 : 09:06:04 AM
|
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/ |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - May 20 2004 : 11:22:17 AM
|
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
|
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - May 20 2004 : 11:26:56 AM
|
I'm with Stephen - false positives are better than false negatives in this case...
|
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - May 20 2004 : 11:39:21 AM
|
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. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - May 20 2004 : 12:17:29 PM
|
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 |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - May 20 2004 : 12:32:25 PM
|
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
|
|
|
Ondrej Spanel
Senior Member
40 Posts |
Posted - Jun 09 2004 : 06:02:09 AM
|
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.
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jun 09 2004 : 7:14:43 PM
|
case=118 |
Whole Tomato Software, Inc. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jun 10 2004 : 7:04:49 PM
|
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. |
|
|
|
Topic |
|