NTypewriter Versions Save

File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.

v0.5.8

2 months ago
  • Type.AllReferencedTypes extended to return also types from implemented interfaces #114 by @christophdebaene

Added to the API:

IMethod:

  • IsInitOnly

IProperty:

  • GetMethod
  • SetMethod

ISymbolBase:

  • IsInternal
  • IsPrivate
  • IsPrivateProtected
  • IsProtected
  • IsProtectedInternal

v0.5.5

3 months ago

This version introduces Lambda filters for *.nt templates rendered by NTypewriter editor for Visual Studio.

instead of writing this:

for class in data.Classes | Symbols.WhereNameStartsWith "Pro"

you can write lambda function using c# syntax:

for class in data.Classes | Where 'x => x.Name.StartsWith("Pro")'

Lambda filters are not supported (yet) on other platforms (NTypewriter.SourceGenerator, NTypewriter.Online).

v0.5.1

4 months ago

NTypewriter editor for Visual Studio:

  • fixed problem with creating "Output" window on newer versions of VS, that was caused by a thread race condition, and in a few scenarios may lead to a deadlock, and not creating NTypewriter output panel at all

NTypewriter.SourceGenerator:

  • fixed problem with compiling user code from CLI with dotnet build

v0.4.5

9 months ago
updated nuget from to
Scriban 5.7.0 5.9.0
WebView2 1.0.1901.177 1.0.1938.49

The newest version of Scriban allows to use string interpolation inside templates.

v0.4.4

10 months ago
  • #83 - add IEnum.UnderlyingType
  • Allow to use Regex (from System.Text.RegularExpressions) in .nt.cs files #84 by @tanguy-c
  • #85 - introduce ITypedConstant for representing attribute argument value
updated nuget from to
Scriban 5.5.0 5.7.0
WebView2 1.0.1343.22 1.0.1901.177

v0.4.3

11 months ago
  • fix #80 Dynamic property throws error
  • Track generator stats/info per unique assembly name and output directory #79 by @amdavie

v0.4.2

1 year ago
  • fix for #78 Attributes generate values that are region dependent

v0.4.1

1 year ago

NTypewriter has gotten SourceGenerator, which means *.nt templates can be rendered anywhere from now.

v0.4.0

1 year ago
  • obsolete NTEditorFileAttribute was removed

v0.3.9

1 year ago

#65 - IType.IsCollection returns false for IList<T> #66 - No access to template output