Telerik blogs
  • Release

    JustCode Q3 Typing Assistance Improvements

    We designed the typing assistance feature of JustCode to increase your productivity by saving you keystrokes without getting in your way. In this release, we enhanced this feature, making it faster and better than ever. Brace positioning When you press enter between opening and closing brace, JustCode positions the braces correctly and inserts an empty line so you can begin typing immediately. Previously, JustCode used the formatting feature to position braces correctly, and this was sometimes slow. The brace positioning no longer relies on the formatter, and the result is extremely fast. Wrap statement in braces When you add an open brace at the beginning of...
    November 05, 2012
  • Productivity

    Mocking LINQ Queries

    Unit testing LINQ queries can be really challenging. This requires a deep knowledge of how LINQ queries work and how they filter results based on predicate values.  While I am adopting test first development approach, it is most likely that I want to verify the behavior of a query for correctness. In this post, I will show how easy it is to mock a LINQ query using JustMock for a given context. First, let me build up the context with a simple entity class for Employee that has two properties: Next, I created a dummy context that inherits the LINQ to SQL...
    November 02, 2012
  • Productivity

    Abstracting Dependencies with JustMock

    Unit tests are most effective when the System Under Test is isolated from its dependencies.  The best way to isolate your code (and make your code more SOLID) is through dependency injection. But even if you follow the rules of SOLID and inject all of the necessary dependencies in as interfaces, you are still faced with the fact that you depend on them. In order to test your code, something concrete has to be passed into the code in order for it to even compile.  Your production code will most likely use a factory to create concrete instances of the dependent interfaces, but that...
    October 31, 2012
  • Productivity

    Decompile with a Bang!

    JustDecompile Q3 2012 Is Here It is hard to believe that less than year has gone by since we officially released JustDecompile. This is the second release cycle since that time, and we have added features worth celebrating! JustDecompile API is Open Create your own plugin and supercharge the power of JustDecompile. The JustDecompile API is now open and fully documented, making it easier than ever to harness the power of JustDecompile’s decompilation engine.  There are currently two plugins available: Reflexil, for assembly editing and De4Dot, for deobfuscating obfuscated assemblies. These plugins and their source code are available on the JustDecompile plugins page....
    October 26, 2012
  • Release

    JustCode Keyboard Shortcuts Profiles

    Most of the commands in Telerik JustCode are assigned keyboard shortcuts, granting the speed and convenience you expect from a quality productivity tool. This is, of course, a very important and often overlooked feature. For Q3 2012, we decided to improve the way in which JustCode approaches shortcuts by creating keyboard shortcuts profiles and related enhancements. The purpose of JustCode’s keyboard shortcuts profiles Before the introduction of keyboard shortcuts profiles, JustCode only had one predefined set of shortcuts for its commands. Visual Studio silently applied these shortcuts during its first execution after the installation of JustCode. This behavior proved to be inconvenient to many...
    October 24, 2012