Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Enum-GotoDefinition suggests forward declarations

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
Kastenfrosch Posted - Sep 05 2017 : 03:19:04 AM

enum class MyEnum : int
{
	MyValue = 0,
};

enum class MyEnum : int;


int main()
{
	MyEnum a;
}


When I use the GotoDefinition-Feature, i am shown two suggestions: The definition and the forward declaration.

When I do the same with a class, I directly jump to the definition, as all forward declarations are ignored.

Is it possible to get the same behaviour for Enums?
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Sep 05 2017 : 05:04:37 AM
Thank you for bringing this to our attention:

case=110857

The two behaviour is definitely inconsistent. We're also planning to implement a goto that always goes directly to the implementation:

case=66885

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