A Look Behind Code Snippet Studio
- Posted: Sep 12, 2016 at 6:00AM
- 2 comments
Loading user information from Channel 9
Something went wrong getting user information from Channel 9
Loading user information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Do I have to say it? Or can I just [Insert Greg's Standard Love of Snippets Snippet Here]?
Microsoft MVP Alessandro Del Sole and the creator of the Code Snippet Studio, was recently interviewed by Syncfusion, providing a different and cool behind baseball look at him and the app...
Alessandro Del Sole, Microsoft MVP and an author for multiple titles in Syncfusion’s Succinctly e-book series, demonstrates his open-source Code Snippet Studio project in this video. Code Snippet Studio was built using tools from Essential Studio for WPF on our free Community License, which is available to individual developers and small businesses meeting certain criteria.
The full transcript for this video is below.
Whitney Hill: Thank you for taking the time to sit with me today. Would you like to introduce yourself, and tell us your name, your industry, technologies you like to use and what inspires you in your work?
Alessandro Del Sole: Yes of course, and thanks for inviting me first of all. My name is Alessandro Del Sole and I am a senior .NET developer and trainer, and consultant. I work for a company based in Italy called Brain-Sys, and I have been a Microsoft Most Valuable Professional since 2008. I used to be a Visual Basic MVP, then the MVP program has been reorganized and now I am under the Visual Studio & Development Technologies category.
I have been voted MVP of the year five times; I am also a Microsoft Certified Professional and Microsoft Specialist for C#, and I am an author for Syncfusion’s Succinctly series. I wrote four e-books so far, but I’m working on a new e-book that will be coming up in a few months. I also like writing technical articles; I wrote a number of articles for important websites such as MSDN Magazine, InformIT, Visual Basic Developer Center and so on. I also like to produce instructional videos, and Windows Store Applications – and you can find me on Twitter @progalex.
WH: That sounds great, I mean would you be able to show us your project in action?
ADS: Yes. Yes, so we have a couple versions of this tool. One is an extension for Visual Studio and one is a stand-alone application. So one important consideration at this point is that if developers want to use Essential Studio for WPF they can do it both for stand-alone WPF applications and in Visual Studio extensions which are based on WPF, basically.
So, a great opportunity that Visual Studio has been offering since many years, since 2005, is the ability of using the so-called IntelliSense code snippets. Let me show how this works. Let’s create just a very simple, very simple project.
Okay. So, one of the things developers do the most is, trying to reuse their existing code. So they take their code snippets and save them somewhere. Because of this, Microsoft introduced an important option into Visual Studio, which is the availability of the code snippets. I can right-click, select “Insert Snippet”, and then I can select from one of the available code snippets library, and I can create my own. So for instance, I can scroll a list and select a ready-to-use code snippet. Then I can also replace the highlighted text with a different type name or a different identifier and so on. So the biggest benefit of this is that you can create your own code snippets that can be plugged into the code editor.
WH: Okay, so can you tell us a bit about the long-term benefits or results that you saw using Essential Studio to build your project?
ADS: Yes. First of all, I saved a lot of time. I think that if I had to build my own Syntax Editor control, I would probably – it would probably take me many months. There are some free, open-source controls for syntax editing but they are not the same. Here you have full word completion support, a number of languages that are supported out of the box, you also have a context menu that is precise for editing such as increasing indentation, decreasing, or line commenting. This is the first benefit I got from using this kind of control in this project.
If you're interested in saving time, go check it out... Code Snippet Studio on GitHub
Here’s a few more links you might find interesting: