Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Alt+G not working with C++/CLI property

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
jschroedl Posted - Jan 18 2012 : 10:18:28 AM
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.

1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 18 2012 : 1:55:52 PM
I am seeing the same effect here. Thank you for the clear description.

case=64099

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