T O P I C R E V I E W |
GKarRacer |
Posted - Sep 30 2009 : 6:36:05 PM When you select a function name (C++) in the suggestion box it adds the appropriate function name to the source file followed by parentheses and then positions the cursor in one of two places depending on the parameter list. If the function has no parameters, then the cursor is positioned after the closing parenthesis, but if it does have parameters, then the cursor is positioned between the parentheses (so you can add values). This is normal and is a good thing.
Would it be possible to extend the check, so that if the function has parameters and all of them (i.e. the first one) has a default value specified, then the cursor is positioned after the closing parenthesis (as if it had no parameters)?
There are lots of functions like this and I find myself constantly having to move past the parenthesis. Generally, it is only on rare occasions that I have to actually type in a parameter to override the defaults, so it'd be easy to reposition on those cases.
I don't know how easy that would be to implement. I imagine only the first parameter needs to be checked as if it has a default than all of them have to have one.
Hopefully I made myself clear enough. I can give some examples if need be. |
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Oct 03 2011 : 7:37:03 PM Unfortunately no movement yet, but this is still on the list of features we are considering adding. It has not been forgotten. |
GKarRacer |
Posted - Sep 28 2011 : 2:44:48 PM Has there been any renewed thought on this one? I'd love to have this implemented.
|
feline |
Posted - Oct 01 2009 : 10:06:09 AM You have explained quite clearly, thank you This is a very interesting idea, and it makes a lot of sense. I have put in a feature request to see what our developers make of it:
case=33033 |
|
|