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
 Alt+G not working with C++/CLI property
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschroedl
Tomato Guru

USA
107 Posts

Posted - Jan 18 2012 :  10:18:28 AM  Show Profile  Reply with Quote
This looks similar to topic 10521 but I have a simple repro case. I'm using VAX 10.6.1862.0.

I am unable to use Alt+G with the cursor over a property function declaration in the .h file. It will not offer to take me to the .cpp file. Using F12 does offer the .cpp file but I prefer to use Alt+G whenever possible.

VS2010 Steps:
1. File > New > Project... Visual C++, CLR. Name it VAXTest
2. Vaxtest.h


// VAXTest.h

#pragma once

using namespace System;

namespace VAXTest {

	public ref class Class1
	{
		property String^ Caption { String^ get(); }
	};
}


3. VAXTest.cpp

// This is the main DLL file.

#include "stdafx.h"

#include "VAXTest.h"

String^ VAXTest::Class1::Caption::get()
{
	return "Testing 123...";
}

4. In the .cpp file, VAssistX > Tools > Reparse Current File just to be sure.
5. In the .h file put cursor on get() and press Alt+G

I only get suggestions from our global boost headers.

feline
Whole Tomato Software

United Kingdom
19076 Posts

Posted - Jan 18 2012 :  1:55:52 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=64099

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000