Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Option for default paremeter's comment block

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
slicer4ever Posted - Sep 25 2011 : 9:07:37 PM
hello, i was wondering if it would be possible to include an option to disable the default behavior when auto-completing a function which is declared with default prameters.

example:

#include <stdio.h>

int foo(int x=0);

//int foo(int x/*=0*/){ <--Normal behavior.
int foo(int x){ //<--Behavior i would prefer.
   printf("%d\\n", x):
}

int main(int argc, char **argv){
   foo(1);
   return 0;
}

i'm banking on the fact that hopefully adding a simple boolean check in your code is all that would really need to be done to disable/enable such behavior.

thanks for the great product otherwise=-).
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Jun 26 2014 : 01:50:19 AM
case=3495 is implemented in build 2042 (see Refactoring page of VA Options dialog).
accord Posted - Sep 26 2011 : 1:07:36 PM
We are considering adding an option for this, at some point.

case=3495

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