The Telerik JustCode 2012 Q1 service pack has been released, and with it comes improvements to help you begin writing JustCode extensions.

Project Template

Our previous release of JustCode included a project template that included three extension examples for navigation, code marking / fixes, and refactoring. This is accessed from the Telerik menu under Installed Templates when creating a new project.

NewProject

Running this project would copy the assembly to the Libraries\UserExtensions folder in the JustCode installation path. This had the unfortunate side effect of applying the extensions anytime you ran Visual Studio, which would cause the assembly to be locked and hindered the ability to continue working in the extension project until the assembly was removed. We fixed this by utilizing the debug options in the project’s properties.

ProjectOptions

When you debug a JustCode extension project, it launches Visual Studio with a switch for JustCode to load extensions in a specific directory.

Item Templates

The project template is a great starting point, but it led overuse of copy/paste when creating new extensions in the same project. To alleviate this problem, we created item templates for each of the supported extension types.

AddNewItem

These templates provide the skeleton of each extension type… eliminating the need to copy/paste!

To Boldly Go Where No One Has Gone Before

Opening the API gives you more flexibility than ever before, enabling JustCode to be specialized for any project. Want to learn more? Here are links to available articles on creating JustCode extensions!

Wait, There’s More!

Improvements to the extension API wasn’t the only thing included in the service pack. We also added support for Visual Studio 11 and improved the formatter. Be sure to update your installation of JustCode today!


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.

Related Posts

Comments