Author |
Topic |
|
tom_seddon
Tomato Guru
162 Posts |
Posted - May 03 2004 : 7:47:45 PM
|
C++.
If I'm typing in the definition for a member function that's been declared in its class, (most of the time) when I enter the opening bracket for the definition VAX pops up a box suggesting the parameter list. But if I press space, the parameter list goes away. This is annoying, since it is fairly common to require a space after "opening" symbols, and even more galling because VAX inserts a space at the end... please, it should make up its mind!
But this behaviour is pretty hit or miss compared with VS.NET anyway. Sometimes, on entering the opening bracket, I simply get a bland tool tip telling me what the parameter list is. Sometimes I get the parameter list suggestion. For best results, it seems you have to select the function from the right popup list (see below) after typing the ::, at which point VAX works it out reliably.
Regarding the "right" popup list: after typing the "::" after the class name, I get what appears to be unadorned VS.NET intellisense ('whizzing' purple box against the function name). Then if I cancel the popup with Esc, then press Ctrl+Space, I get what appears to be a VAX-enhanced VS.NET popup list -- whizzing purple box again, but this time with the function name in bold. If I cancel that one, then type the first letter of the function name, I get a proper tomatoey VAX popup.
I have to use the VAX-enhanced (?) popup or the proper VAX popup to get the parameter list suggestion. This appears to be related to VAX's inserting () automatically, as if I use the VS.NET intellisense popup no brackets are inserted.
I hope that makes some sense :-/ |
|
support
Whole Tomato Software
5566 Posts |
Posted - May 04 2004 : 11:52:16 PM
|
When the parameter list appears after typing the opening parenthesis (the list with the *{} icon,) you might notice the item in the list is not selected. You need to down-arrow to select, then press Tab or Enter. Our regular parameter info appears. Type the closing parenthesis.
We agree forcing a down-arrow is not consistent with other listboxes, but we implemented the behavor for a reason. People want to insert a Return before starting to type parameters. Their Return was accepting the parameter list and they complained loudly. The problem is, we now have something not consistent. We are likely to suggest the parameter list and highlight the suggestion. Those who complain will need to press ESC.
We acknowledge parameter lists do not always appear. They appear only the caret is between (), ie not when you have just a left paren. This is a bug.
ixBug=26
As of build 1233, the popup list after :: is always from default Intellisense. We consider this a bug, or "feature deprivation." We must let MS handle :: at global scope due to speed issues (listbox can be large), but VA X should handle Foo:: listboxes.
ixBug=9 |
Whole Tomato Software, Inc. |
|
|
tom_seddon
Tomato Guru
162 Posts |
Posted - May 06 2004 : 4:09:38 PM
|
Yes, it seems to work better if I ensure the cursor is between (). Could the suggestion, when expanded, include any leading space from the parameter list? Currently it leaves any trailing spaces but removes the leading ones, hence my "make up its mind" comment :)
(I'm agnostic about pressing the down arrow to get at the suggestion box. It saves me enough time (err... when it appears!) that I don't begrudge another key press.)
|
|
|
|
Topic |
|
|
|