Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to control the Method node' displayName in classView?

$
0
0

For example, if I have a C# file in the solution explorer and I click on the file node's name, the name becomes editable. And when I finish editing the name, the file is automatically renamed. 

In ClassView window, I have a Class1, Class1 have Method1, as following:

-Class1

----Method1()

when I bring up the method's context menu and select Rename, the name becomes editable. In this state, the method's name display"Method1". Because we have overwrite the method of . IVsSimpleObjectList2.GetProperty.

But if i click on the Method1's name, the name becomes editable. In editable state, the method1's name display " Method1()" which have left/rightBrackets, my expected result is "Method1",

so i want to know which method i can overwrited or any other solutions?

Thanks !

Michael.Tang


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>