JustCode 2011.2 916 Version Notes

Subscribe for the Telerik product updates RSS feed

JustCode Q2 2011 SP1 Release Notes (v2011.2.916)

Major highlights

  • Support for the new Async CTP in C# and VB.NET
  • Test Runner: MbUnit3 and Gallio support
  • Test Runner: Updated MSpec
  • C# Formatter: Improved wrapping and space formatters
  • New Refactoring: Introduce Constant
  • Improved XML/XAML support
  • Option for Automatic decompilation on metadata members and classes

Improvements

  • C# Formatter: introduce options for Min/Max new lines after file header
  • C# Formatter: introduce options for Min/Max new lines after methods & constructors
  • C# Formatter: format sizeof and typeof statements
  • Extract class from parameters: append new class highest in hierarchy to be visible to derived types
  • Support opening metadata files (fixes for opening files which are not project files)
  • Extract Interface: make available for generic methods with type parameters
  • Introduce Parameter now works on method and constructor invocation
  • New Quick-Fix: create property for unused field
  • New Quick-Fix: convert static member to instance if there is this/base usage in it
  • New Quick-Fix: field can be made read-only
  • New Cleaning Step: field can be made read-only
  • New Quick-Hint: Convert If to Switch statement
  • Option for running the analysis process 64-bit
  • JustCode Options: added message to top right corner when solution shared settings are found
  • JustCode Options: added warning when browsing overridden by the shared settings

Fixes

  • Fixes for Refactorings, Quick-Fixes, Quick-Hints:
    • Unused Variable Warning: disable for catch clause in VB and JS
    • Introduce Field: don't replace the expression in static members
    • Introduce Field: choose appropriate modifier for the new field when the expression is in the initializer of read-only or const field
    • Introduce Field: disable for optional parameter default values or for constructor initializers
    • Introduce Variable: fix when enclosing variable declaration is const
    • Pull Member to Base Type: don't show 'select type' if there is only one type
    • Generate Equality Members: added null check in the equals override
    • Improved Extract Class from Parameters
    • Move To Parameter: fix availability for For Statement in VB
    • Convert If to Conditional Expression: Fix - disable for VB when there are further else parts
    • Add Stubs: fixed inserting class member between comment and previous member when on same line which breaks code in VB
  • Fixes for C# Formatter:
    • Performance improvements
    • Fixed wrong indentation with nested using blocks
    • Fixed unwrapping when destination line contains comment
    • Fixed new line formatter for arguments parenthesis in case there are no arguments (only the two parenthesis)
    • Add parenthesis when in-lining: added more cases where it shouldn't
    • Fixed wrapping - always remove spaces and tabs between the nodes that are wrapped
    • Fixed parameter and for header wrap providers to take into account current indentation when calculating indent size
    • Fixed bug with incorrect formatting when doing "introduce variable"
    • Fixed bug with incorrect indentations in case of wrap in object creation statement
    • Fixed wrong indentation of disabled code by preprocessor directives (now disabled code is left as-is)
    • Array initializer wrap algorithm improvements
    • Brace position formatter indentation improvements
    • Fixed bug with incorrect indentations of array initializer when nested in method invocation arguments
    • Fixed bug with formatting the whole file on semicolon hit
    • Fixed bug for incorrect indentation of open brace (when open brace is on the same line as the identifier)
    • Improved result of "Preserve new lines when wrapping" option
  • Fixes for Visual Aid:
    • Fixed bug with Visual Aid not available after an open file is renamed
    • Fixed: Pressing Ctrl+Tilde on place where visual aid is not available blocks the arrow buttons until escape is pressed
    • Fixed NullReferenceException in the Visual Aid
  • Fixes for Code Analysis:
    • Good Code Red VB: Static method invocation on null-able type
    • Do not show warning "Field can be made read-only" if the field is static and initialized in a non static constructor
  • Other fixes:
    • Restored some lost keyboard shortcuts in the JustCode menu
    • Fixed suggested namespace for a type in a web site project starts with . -> .Foo.Bar
    • Removed preserving window states by default (explicit opt-in is required on every toolWindow creation)
    • Fixed exception when doing "refresh" in find results window
    • Fixed NullReferenceException in Go To Definition for types
    • Fixed NullReferenceException - Locate in Solution Explorer with no open solution
    • Fixed a bug in collapse all commands
  • Fixes for Decompiler:
    • Fixed exception - do not decompile delegates
    • Decompilation improvements
    • Other bug fixes