I wrote about creating JustCode extensions when it was a new feature, and we have improved it based upon our experiences and your feedback.

To get started, open the Create New Project dialog and navigate to the Telerik options under Installed. Select C# Visual Studio JustCode Extension. The previous project type, C# JustCode extension, is still available for backwards compatibility.

image

Give your new extensions project a name, choose the location, then press OK. A project is created based on our new template. It has several example extensions included to help guide you. The difference with the old approach is that instead of building a DLL it now builds a VSIX package (which is a Visual Studio extension) that contains the extension module. JustCode loads all extensions of this kind so you can now easily distribute your JustCode extensions using the Visual Studio Gallery.

image

After you have created your custom features for JustCode, compile the solution. A VSIX package is created in the bin folder.

image

If you run the solution, the Experimental Visual Studio will start with the VSIX package loaded. If you want to install your extensions into the default hive (configuration) of Visual Studio, open the VSIX package by double-clicking on it.

image

Complete the installation steps and you are good to go. Wasn’t that easy?

If you want more examples of JustCode extensions, visit our extensions page. Be sure to check out our extensions project on GitHub. If you make anything cool and want to share it with the world, let us know; may feature your extension on the extensions page!


Chris is a technical evangelist for JustCode and a C# MVP. He is currently celebrating the Q3 2012 release of JustCode in Bulgaria with a bottle of rakia, a gift from the JustCode team. One must wonder how he was able to compose this blog article given the circumstances.


About the Author

Chris Eargle

is a Microsoft C# MVP with over a decade of experience designing and developing enterprise applications, and he runs the local .NET User Group: the Columbia Enterprise Developers Guild. He is a frequent guest of conferences and community events promoting best practices and new technologies. Chris is a native Carolinian; his family settled the Dutch Form region of South Carolina in 1752. He currently resides in Columbia with his wife, Binyue, his dog, Laika, and his three cats: Meeko, Tigger, and Sookie. Amazingly, they all get along... except for Meeko, who is by no means meek.

Comments

Comments are disabled in preview mode.