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

In Visual studio Add-In from context menu, when i click on it I need to replace already selected hardcoded string to without some othervalue with any double quotes.How can I achieve it?

$
0
0

I have an application where I am creating visual studio add-in. My requirement is from the Add-in manager they will select the add-in named "MyAddIn". I am using VS 2010, C#.

in the sample application my code will be like this.

String str="Hello";

When I highlight this "Hello" string , right click on it , I will get context menu then clicked on it I should replace "Hello" value with some other value (for example     Work.GetResourceString.ToString();) should be replaced with any double quotes.

Finally my output will be as below.

String str=Work.GetResourceString.ToString();

will it be done?.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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