T O P I C R E V I E W |
jwiesemann |
Posted - May 12 2011 : 03:51:13 AM Hi,
in below example VA will complete the name with superflous parentheses:
----
#define _( text ) L##text
class wxString { public: wxString( const wchar_t * ); };
namespace jwx { class ResText { public: ResText(const wxString& keydomain, const wxString& key, const wxString& defaulttext);
/// Get resource text const wxString& Get() const;
}; }
jwx::ResText ArgText(_("CommandLine"), _("SwitchText"), _("Write default texts to file"));
void main() { Ar } ---
When placing the cursor after the "Ar" and typing "g" VA will suggest "ArgText". When hitting tab it will complete to "ArgText()". But there is no operator () for this static object. (I was rather about to type ".Get" but first have to delete the parentheses.)
Joachim |
1 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - May 12 2011 : 9:49:25 PM I am seeing the same effect here. I have put in a bug report for this:
case=57420
Thank you for the clear description. |
|
|