Today, colleagues in the group sent a coding effect of the article, is recently in the programmer Circle Popular Atom plug-in.
It's pretty cool, but shaking the screen is a headache and it's useless to see.
Some say that the advantage is "instant feedback", and some have said that it makes boring coding interesting.
The fun of writing code is the idea that hitting the keyboard is pretty cool, and most of that is writing repetitive code, or showing off in front of a new person.
I've done a similar interesting plugin before, to Visual Studio. For example, code to listen to music, to embed the Watercress FM in VS, or to encourage, for example, the user each time to save the code to give encouragement words, such as: dry beautiful, continue to maintain, good changes and so on.
Today special turn over the original write something, a sigh of regret, think later with the chance to use vs less, better take this opportunity to leave something to chat table memorial.
At that time in the company to do banking front-end system, that is, you go to the bank counter when the teller used the software.
The whole project is very large, the number of participants, mixed, the whole project using plug-in development, to ensure that new employees can also quickly write transactions (banks to each business as a transaction), so the project structure is so.
You see the T2000 and so on is every transaction, I can say just a deposit business there is 200+ a deal?
Traditional plug-in development, need to create a project for each transaction, such as our project, when on-line has nearly 800 transactions, a solution to create a 800+ project, the effect should be quite worth seeing.
You can combine transactions of the same business under one item and separate folders, but this time the problem comes up, how to generate a separate dynamic link library (DLL) for each transaction.
The idea of making a plug-in to VS is generated. The idea is simple, to manipulate the csproj file (vs project file, which is XML), except to select the Transaction folder, remove all other folders, and then call MSBuild to compile.
Of course, a lot of engineering transactions can also be right-click on the project, choose Compile or batch compilation, in order to facilitate the solution on the right click also provides the compilation of all transactions.
Compile trading function is the most basic function of this plugin, because the transaction development workload is huge, this use T4 template to do new trading function.
For the new transaction, I also provided a new Trading wizard, although the final use of a few people, but this feature is my own advocate, so has been modified.
Compile and new basic is the core of the plug-in two features, then want to do the deployment and release, so with the following menu.
To say release, you have to mention Automatic Updates.
There are a number of problems with manual publishing, and using the tools we can control that the developer must upgrade the version number, and then do the appropriate version control.
It is worth mentioning that the original was unable to solve the positioning of each transaction who sent, unable to track the responsibility of the person, the first idea is to use the account system, but the participants are too messy, cost too much.
It is also accidental, when chatting with colleagues to mention that everyone has SVN account, if you can get everyone's svn account problem is good to do.
This project took nearly three months and was a very memorable project for me in this company. It's been a year since we left the office, and it's no longer used because of a change in the Internet company. NET development, the editor also changed from VS to Sublime (although I was Vim party), now look back at the original project, in the case of serious lack of domestic information can do so, during the period spent a lot of effort.
Just hope that the former colleagues in the use of this plugin do not encounter problems when using the plugin curse the developers at the time, because I know that any software, as long as someone use, absolutely will have problems. This project from the end to my departure, only experienced half a year, far from the maturity of a software.
Finally, in the plugin I left an egg, although I have left, but the code is everywhere I leave comments, when your mouse moved to my name, you will find.
The plugin I've ever done