The formatter in Telerik JustCode is one of its many great features. Its main goal is to let you define and enforce your code style across your projects. It is a very important part of the product as it is used in many other places as well (for example typing assistance and refactorings).
The JustCode formatter is very configurable. You can find its options in the Code Style section of the JustCode options dialog:
You can also configure JustCode to share the Code Style options per solution. To do that, go to the Options Sharing page in the Options.
The formatter is triggered in several ways. The most trivial case is when you execute it manually from the Format Code command (Ctrl+Alt+F by default). It is also used by our refactorings, quick-fixes, templates, code generation, etc. It can also be executed as a cleaning step in the JustCode code cleaning feature.
As we already mentioned, JustCode has an extensive set of code style options. To make it easy to configure we have separated them in sections. First, we have the supported languages then a logical separation of the different code style options. Of course not all of these sections are present in each language:
This was the first part of series of blog posts for JustCode formatter. We hope it will put some light on the JustCode formatter. There will be more blog post about Code Style options in details and Options sharing. Your feedback is welcome and appreciated. Write to us in forum or support.
Borislav Kulov he has more than 10 years of experience in the development field. Borislav is a motorcycle enthusiast and in his free time he enjoys swimming and other sports.
Subscribe to be the first to get our expert-written articles and tutorials for developers!