Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VA X 1208 : method parameter auto completion bug
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenC
Tomato Guru

Germany
339 Posts

Posted - Dec 18 2003 :  12:57:28 PM  Show Profile
Hi,

method parameter auto completion is working much better now.

Two things left:

1) after selecting the method parameter tooltip, the method parameters are inserted correctly *but* the completion tooltip appears again. So I can press tab, tab, tab and get three identical parameter lists appended.

2) the const modifier for methods is ignored when auto completing method parameters.

Bye,
SvenC

support
Whole Tomato Software

5566 Posts

Posted - Dec 18 2003 :  5:55:30 PM  Show Profile
We suspect problem #1 occurs only when defining a method with one argument. We expect this fix in build 1209.

We cannot reproduce problem #2. VA X suggests const in our test cases. Can you provide an example of what fails?

Whole Tomato Software, Inc.
Go to Top of Page

SvenC
Tomato Guru

Germany
339 Posts

Posted - Dec 19 2003 :  03:26:21 AM  Show Profile
In VS.NET 2003:

MyClass.h
############################################
#pragma once

class MyClass
{
public:
int foo(long a, double b, const char* c) const;
};
############################################


In MyClass.cpp

// a) type int MyClass::f
// b) auto complete method
// c) select the provided proto type
// -> results in

int MyClass::foo(long a, double b, const char* c)

// "see" the missing const modifier for method foo at
// the end of the line

HTH,
SvenC
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000