Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi I am just learning but tend to interest in Estimating projects, I did work as a VB programmer years ago...But now into c#..
So when there are a lot of dims and figures when writing a class it tends to get a bit boaring with hundreds of get and set and again set statements,so I have made a tool in which
you add a list of variables one at a time(as many as you like) and click a few options and it send the variables to 3 different areas in mass , One gives a list of variables ,two gives a list of get and set etc and three gives a list of set(variables).
You then press a button and it puts the select list into clipboard after which you simply paste into your code.
Not that remarkable you may say but if you have hundreds of variables a considerable time saver.

The problem is I dont not as yet know how to make it as a plugin for visual studio
and so it runs as a seperate exe.
I cannot find any way to produce appended text into any form of textbox which would for example leave a space and carriage return in C# as escape characters only seem to operate when one prints(how naff) But you can however in VB, and so I have written it in VB to use in C#.

To me that sounds mad in the extreme, so my question to you is how do you write a plugin/tool to work within the c# text editer ,I know there are examples on msdn but are quite complicated to understand....

The Script/code is available should it be of use to anyone Please post a request and I will make it available Brian
Posted
Updated 2-Jun-11 12:47pm
v3
Comments
Steven.Pinto2000 2-Jun-11 12:12pm    
Can you give the msdn link

As a suggestion, rather than raising this as a question, consider makign it a Tip/Trick[^] or an Article[^].
The difference is a matter of degree. A small item would be a Tip, a longer explanation of how it works, etc, would be an Article. Given the scope of this, I would suggest a Tip/Trick would probably be appropriate.

Have a look at the Articles and Tips on the site (menu at the top of the page: "Articles") and decide! Good luck!
 
Share this answer
 
Did you view this link[^]? Maybe it can help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900