CodeSmith Generator 7.0

New Features

  • Added support for VS 2013.
  • Added support for SQL Azure.
  • Added bracket matching functionality to the Template Editor.
  • Added Syntax Highlighting for the following Languages: Assembly, INI, Lua, Markdown, MSIL, PowerShell, Ruby, RTF, VBScript, XAML.
  • Added support for Delimiter Auto-Complete and Curly Brace Auto-Indent.
  • Added the ability to Control+Click to go to definition including support for the ability to open code behinds.
  • Added IntelliSense support for Array Indexers, Xml and XSD files.
  • Added IntelliSense support for the new C# 5.0 and VB 11.0 syntax. Please note that templates are still compiled as .NET 4.0. If you wish to use the async / await functionality, you must add a template reference toMicrosoft.CompilerServices.AsyncTargetingPack.
  • Added support for Format Document and Format Selection.
  • Added file extension mapping for the following file types: ColdFusion, CoffeeScript, Command, Dart, Erlang, F#, JSON, LESS, TypeScript, XSD and XSLT.
  • Updated the code navigation drop downs by adding support for modifiers, method parameters and property parameters.
  • Added support for a native Windows 8 metro theme.
  • Added 13 Bootstrap 3.0 ActiveSnippets.
  • Added a new TypeScript ActiveSnippet that will generate TypeScript classes from a json document (local or remote).
  • Added the ability to consume merged MapCollections. StringUtil.ToPlural() and StringUtil.ToSingular() now use merged a MapCollection.
  • Added the ability to control the current theme from Generator Explorer.
  • Added the ability to reset the docking layout from Generator Studio.
  • Added the ability to open the options dialog from Generator Explorer.
  • Added method overloads to StringUtil IsPlural and IsSingular that allows you to specify a plural overrides MapCollection.
  • Updated the PLINQO and CSLA Frameworks to target .NET 4.5 and VS 2012/2013.

Bug Fixes

  • Fixed a bug where the DataObjectBase.FullName property was only returning the Name (E.G., ColumnName) value. FullName now includes the owner information (E.G., Owner.Table.ColumnName).
  • Fixed a threading bug in SqlSchemaProvider where an incorrect major version number could be returned causing the wrong script to be executed.
  • Fixed a bug where Property Directive descriptions do not appear in IntelliPrompt.
  • Fixed a bug where the Editor font and colors would be displayed incorrectly after changing the Visual Studio theme in Visual Studio 2012 and 2013.
  • Fixed a bug where Quick Info and IntelliPrompt fonts were displayed incorrectly.
  • Fixed a bug where renaming a file in Template Explorer did not update the file path inside of the template editor.
  • Fixed a bug where tabs inside of Template Editor did not properly display the files read-only status.
  • Fixed a bug where an Unauthorized Access Exception could be thrown when trying to save a generated document.
  • Fixed a bug where calling the Save method on MapCollection was not ensuring that the directory was created before saving the file to an invalid file path.
  • Fixed a bug where MapCollection.ToString() returned an empty string instead of the actual content.
  • Fixed a bug where an XmlProperty with invalid XSD schema’s would throw an unhandled exception.
  • Fixed a few bugs where the Indention features would not work as expected.
  • Fixed a bug where the Property Grid could throw an exception when the multiply key was pressed.
  • Fixed a bug where the Template Explorer wouldn’t automatically refresh in some scenarios.
  • Fixed a bug where the DB2zOSSchemaProvider would only return views if the FilterViews property was specified in configuration.
  • Fixed a bug where ActiveSnippetConfiguration may not be initialized when a new instance of ActiveSnippetGenerator was created.
  • Fixed a formatting bug where PropertySet.ToString() wasn’t being indented.
  • Fixed various bugs with StringUtil where IsPlural, IsSingular, ToSpacedWords was not handling null or empty strings properly.
  • Fixed a bug where StringUtil ToPascalCase and ToCamelCase methods were not returning the correct results for strings that contained single character words (E.G., a_b_c_MyMethod).
  • Fixed a bug that was preventing Template Explorer to be themed in some circumstances.
  • The CodeTemplate ResponseEncoding attribute has been depreciated as it doesn’t make sense to have two encoding attributes. We will continue to fallback to any defined ResponseEncoding attribute values for backwards compatibility.
  • Fixed a bug where a reloaded source document from disk could be shown as an empty document.
  • Fixed a bug where StringUtil ToPlural and ToSingular methods were not respecting the input strings casing.
  • Fixed a bug where StringUtil IsPlural and IsSingular methods returned incorrect results if the input was not lower cased.
  • Updated the SQLAnywhereSchemaProvider to also return user database tables and views.
  • Many more minor bug fixes.

Performance Enhancements

  • Improved performance of parsing templates. Some very large templates can see up to a 2500% improvement. NetTiers parsing is 30% faster.
  • Improved the start up time of the Generator Studio and Visual Studio integration.
  • Fixed a performance bug in SqlSchemaProvider.
  • Fixed a bug where calling SaveAs multiple times on a single document would cause Generator Studio to become unresponsive.
  • Many more minor performance improvements.

Usability Enhancements

  • Major usability improvements to the Find and Replace dialogs.
  • Added the ability to open the properties window using the F4 key inside of Studio.
  • Updated the find next dialog to behave like the Visual Studio Find dialog (F3 keyboard support, Escape to close and more).
  • Added the ability to open recent files from within the Generator Studio File menu.
  • Added SchemaExplorer to the default list of assembly references for code behind files.
  • Fixed a backwards compatibility bug where a template would not compile if the file name started with a digit.
  • Updated the default file extensions that a document could be created with based on the valued defined in the templates TargetLanguage attribute value.
  • Fixed a bug where the execute template dialog would allow a user to generate a template that was unable to compile.
  • Fixed a bug where the Template Editor would not receive focus when switching between documents.
  • Fixed a bug where a Generator Project File could be saved with the incorrect file extension if the file name contained a period.
  • Fixed a bug where a crash could occur when trying to regenerate a saved generated document.
  • Fixed a bug where template and generated documents were not being opened or saved with the correct encoding.
  • Fixed a bug where fixed template errors would not be removed from the error window until the template was recompiled.
  • Fixed a bug where template errors were not being highlighted for in memory documents.

Download Now