Skip to content

Releases: dotnet/vscode-csharp

v1.7.0-beta5

08 Feb 01:16
Compare
Choose a tag to compare
v1.7.0-beta5 Pre-release
Pre-release
  • Fix regression introduced in v1.7.0-beta4 where the extension would fail to launch 'dotnet restore' for project.json projects (#1199)
  • Update to latest debugger bits (#1200)

v1.7.0-beta4

06 Feb 20:41
Compare
Choose a tag to compare
v1.7.0-beta4 Pre-release
Pre-release
  • Automatic package restore and out-of-date notifications implemented for .NET Core .csproj projects. (#770)
  • Fix problem with project.json projects that wrap assemblies. (#424)
  • Fixed code actions that add files, such as "Move Type to File". (#975)
  • Properly surface code actions that have "nested code actions". This allows "generate type" to work properly. (#302)
  • Don't display the Remove Unnecessary Usings code action unless it is relevant. (omnisharp-roslyn#742)
  • Don't show the Extract Interface refactoring as it requires a dialog that does not exist in VS Code. (#925)
  • Add support for auto-closing and surrounding characters. (#749, #842) (Contributed by @filipw)
  • Don't display the "some projects have trouble loading" message if projects only contain warnings. (#707)
  • Update Mono detection logic to succeed even if another shell is set as the default (e.g. zsh). (#1031)

v1.7.0-beta3

03 Feb 14:39
Compare
Choose a tag to compare
v1.7.0-beta3 Pre-release
Pre-release
  • Correctly update project when dotnet restore is performed on a .NET Core .csproj project. (#1114)
  • Add new values to the omnisharp.logginglevel option to allow more granualar control of OmniSharp logging. (#993) (Contributed by @filipw)
  • Fix dotnet restore Visual Studio Code command to handle .csproj .NET Core projects. (#1175)

v1.7.0-beta2

31 Jan 23:21
Compare
Choose a tag to compare
v1.7.0-beta2 Pre-release
Pre-release
  • Updated with the latest changes for .NET Core .csproj projects. (omnisharp-roslyn#738)
  • Properly handle .csproj projects in .sln files that were added via .NET CLI commands. (omnisharp-roslyn#741)
  • Respect nowarn in project.json projects (omnisharp#734) (Contributed by @filipw)
  • Enable debugger support for Zorin OS 12 (#1160) (Contributed by @mkaziz)
  • Support resolving #r references from the GAC (omnisharp-roslyn#721) (Contributed by @filipw)
  • Include System.ValueTuple in C# scripts implicitly (omnisharp-roslyn#722) (Contributed by @filipw)
  • A namespace icon should be displayed for namespaces in the completion list. (#1125) (Contributed by @filipw)
  • Add icons for several symbol kinds in the completion list, fixing many symbols that incorrectly displayed a property "wrench" icon. (#1145)
  • Add schema validation for omnisharp.json files. (#1082) (Contributed by @Thaina)
  • Fix running and debugging of tests defined in nested classes. (#743, #1151)
  • Fix error when 'tasks.json' does not contain a 'tasks' node, or contains os-specific 'tasks' nodes. (#1140)
  • Better detection of Windows architecture (x86 or x64) when determining extension dependencies to download. The detection logic now uses well-known environment variables rather than launching 'wmic'. (#1110, #1125)
  • Improvements to the OmniSharp Log (#1155)

v1.7.0-beta1

21 Jan 00:51
Compare
Choose a tag to compare
v1.7.0-beta1 Pre-release
Pre-release
  • Greatly improved C# syntax highlighting (#1115)
  • Fixes to debugger remote attach support which for a line ending issue on Windows and zsh
  • Fix async break (#1105) and multithreaded call stack issues (#1107)

v1.6.2

25 Dec 04:18
Compare
Choose a tag to compare
  • Fix performance issue when editing type names containing multiple generic type parameters. (#1088, #1086)

v1.6.1

22 Dec 20:58
Compare
Choose a tag to compare
  • Fix crash when tasks.json contains comments. (#1074)

v1.6.0

21 Dec 20:11
Compare
Choose a tag to compare

What's New in 1.6

C# Scripting

Project Support

  • Support for latest .NET Core .csproj projects updates. (omnisharp-roslyn#705)
  • Update 'tasks.json' and 'launch.json' generation to support .NET Core .csproj projects. (#767)
  • Properly support <NoWarn> in MSBuild projects and specifically ignore the CS1701 warning in .NET Core MSBuild projects. (#967)
  • Fix global.json-based project search to also the top-level folders specified by the "projects" property and not just their children. (#904 and #962)

Debugging

  • Update the debugger so that the debugger itself runs on .NET Core 1.1. This change:
    • Enables debugger support for additional Linux distributions - Ubuntu 16.10, openSUSE 42, Fedora 24
    • Brings support for running all supported distros on top of Linux Kernel >= 4.6
  • Enable debugger support for Arch Linux (#564)
  • Improve debugger install errors for macOS without openSSL symlinks (#986), and x86 Windows (#998).
  • Improve debugger performance using precompiled debugger binaries (#896, #971).

Syntax Highlighting

  • Tons of great syntax highlighting fixes and support! (All contributed by @ivanz)
    • Fix for field declarations. (#757)
    • Fix for generic types with multiple type parameters. (#960)
    • Proper support for interpolated strings (verbatim and non-verbatim). (#852)
    • Fix for multi-line properties. (#854)
    • Fixes for events, nested type references (e.g. Root.IInterface<Something.Nested>), variable declarations, nested classes, and fields spanning multiple lines

Hover Tooltips

  • Improve display of hover tool tips for built-in C# types, such as int and string. (#250) (Contributed by @filipw)
  • Improve display of hover tool tips for nested classes. (#394) (Contributed by @filipw)
  • Fix spacing in hover tool tips around <paramref/> in XML doc comments. (#672) (Contributed by @filipw)

Other Updates and Fixes

  • Support for running/debugging NUnit tests (#996) (Contributed by @HexWrench)
  • Fix exception thrown when sending /autocomplete request to OmniSharp server in location where no completion items are available. (#980)
  • Add omnisharp.maxProjectResults setting to control the maximum number of projects to display in the 'Select Project' dropdown. The default is 250. (#875) (Contributed by @filipw)
  • Fix signature help display for constructors. (#36) (Contributed by @filipw)
  • Ensure that the editor.insertSpaces and editor.tabSize settings are passed to OmniSharp for formatting. Note that this behavior can be controlled with the omnisharp.useEditorFormattingSettings option, which defaults to true. (#1055) (Contributed by @filipw)

v1.6-beta7

21 Dec 02:44
Compare
Choose a tag to compare
v1.6-beta7 Pre-release
Pre-release
  • Update 'tasks.json' and 'launch.json' generation to support .NET Core .csproj projects. (#767)
  • Ensure that the editor.insertSpaces and editor.tabSize settings are passed to OmniSharp for formatting. Note that this behavior can be controlled with the omnisharp.useEditorFormattingSettings option, which defaults to true. (#1055) (Contributed by @filipw)

v1.6-beta6

16 Dec 23:49
Compare
Choose a tag to compare
v1.6-beta6 Pre-release
Pre-release
  • Fix (again!) for UriFormatException that can happen during project load with .NET Core csproj projects on Windows. (#1050)
  • Fix problem where errors would be reported in newly-created .NET Core web project. (#1049)