Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 'Create Implementation' generate false code

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
azur Posted - Jul 19 2017 : 10:11:58 AM
H-File:

void f // F(x) should have a comment
  (int x);


Quick Actions and Refactorings (VA) --> Create Implementation

CPP-File:

void f(x) should have a comment * / (int x)
{

}


expected result something like this:

void f(x) /* should have a comment */ (int x)
{

}


3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 20 2017 : 03:18:30 AM
Thank you for the update, and I have added this second example to the case, to make sure it is also handled properly when this is fixed.
azur Posted - Jul 19 2017 : 12:19:45 PM
I often declare like this ('Create Implementation' works fine):
int doSomething // this function do something
( int param1    // first parameter
, int param2    // second parameter 
);

Today I had to code like this:
int doSomething // this function do something
();
int doSomething // this function do something (one parameter)
(int param1);
int doSomething // this function do something (two parameter)
(int param1
,int param2);


So I catch the issue. But it's no problem.
feline Posted - Jul 19 2017 : 11:32:43 AM
I am seeing the same effect here. Thank you for the clear description.

case=109825

Do you have a lot of code that is formatted like this? I have never seen the comment placed there before.

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