Skip to content

Serilog Syntax Highlighting v0.6.2

Choose a tag to compare

@github-actions github-actions released this 09 Sep 08:00

Installation

Download the attached VSIX file and double-click to install in Visual Studio 2022.

What's Changed

Fixed

  • Multi-line template navigation for early properties in verbatim strings
    • Navigation from early template properties (like {AppName}, {Version}, {Environment}) now works correctly in multi-line verbatim strings
    • Fixed ReconstructMultiLineTemplate search range to properly find string termination beyond initial 5-line limit
    • Extended search range from currentLine + 5 to Math.Max(currentLine + 5, serilogCallLine + 20) for better coverage
    • Resolves issue where navigation worked for later properties but failed for early ones in long multi-line templates

Requirements

  • Visual Studio 2022 (17.0) or later
  • .NET Framework 4.7.2 or later

Full Changelog: https://github.com/willibrandon/serilog-syntax/blob/main/CHANGELOG.md