Releases: dotnet/vscode-csharp
Releases · dotnet/vscode-csharp
v1.7.0
What's New in 1.7
Syntax Hightlighting
- Introduced a brand new TextMate grammar written from scratch that provides much more robust C# syntax highlighting. (#101, #225, #268, #316, #674, #706, #731, #746, #782, #802, #816, #829, #830, #861, #1078, #1084, #1086, #1091, #1096, #1097, #1106, #1115)
- The C# TextMate grammar has a new home! Issues and contributions are welcome at https://github.com/dotnet/csharp-tmLanguage.
Project Support
- Updated with the latest changes for .NET Core .csproj projects. (omnisharp-roslyn#738)
- Automatic package restore and out-of-date notifications implemented for .NET Core .csproj projects. (#770)
- Correctly update project when dotnet restore is performed on a .NET Core .csproj project. (#1114)
- Properly handle .csproj projects in .sln files that were added via .NET CLI commands. (omnisharp-roslyn#741)
- Fix
dotnet restoreVisual Studio Code command to execute for .csproj .NET Core projects. (#1175) - Respect
nowarnin project.json projects. (omnisharp#734) (Contributed by @filipw) - Fix problem with project.json projects that wrap assemblies. (#424)
Debugging
- Enable debugger support for Zorin OS 12. (#1160) (Contributed by @mkaziz)
- Added off-road support for Windows Subsystem for Linux (NOTE: requires newer version of Windows than have been publicly released yet)
- Fixed issue with debugger pause and multithreaded call stacks (#1107 and #1105)
C# Scripting
- Support resolving
#rreferences from the GAC. (omnisharp-roslyn#721) (Contributed by @filipw) - Include System.ValueTuple in C# scripts implicitly. (omnisharp-roslyn#722) (Contributed by @filipw)
Code Actions
- 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)
Completion List
- 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)
Other Updates and Fixes
- Add schema validation for omnisharp.json files. (#1082) (Contributed by @Thaina)
- Add support for auto-closing and surrounding characters. (#749, #842) (Contributed by @filipw)
- 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)
- Add new values to the
omnisharp.loggingleveloption to allow more granualar control of OmniSharp logging. (#993) (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)
Known Issues
- Running and debugging of tests are not supported in .csproj-based .NET Core projects. However, there will still be clickable "run test" and "debug test" indicators above test methods. (#1100)
- When opening a .csproj-based .NET Core project in VS Code, the C# extension will not activate until a C# file is opened in the editor. (#1150)
v1.7.0-beta5
v1.7.0-beta4
- 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
- Correctly update project when dotnet restore is performed on a .NET Core .csproj project. (#1114)
- Add new values to the
omnisharp.loggingleveloption to allow more granualar control of OmniSharp logging. (#993) (Contributed by @filipw) - Fix
dotnet restoreVisual Studio Code command to handle .csproj .NET Core projects. (#1175)
v1.7.0-beta2
- 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
nowarnin project.json projects (omnisharp#734) (Contributed by @filipw) - Enable debugger support for Zorin OS 12 (#1160) (Contributed by @mkaziz)
- Support resolving
#rreferences 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
v1.6.2
v1.6.1
v1.6.0
What's New in 1.6
C# Scripting
- Roslyn scripting support in CSX files! (#23, omnisharp-roslyn#659) (Contributed by @filipw)
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 theCS1701warning 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
intandstring. (#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
/autocompleterequest to OmniSharp server in location where no completion items are available. (#980) - Add
omnisharp.maxProjectResultssetting 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.insertSpacesandeditor.tabSizesettings are passed to OmniSharp for formatting. Note that this behavior can be controlled with theomnisharp.useEditorFormattingSettingsoption, which defaults to true. (#1055) (Contributed by @filipw)
v1.6-beta7
- Update 'tasks.json' and 'launch.json' generation to support .NET Core .csproj projects. (#767)
- Ensure that the
editor.insertSpacesandeditor.tabSizesettings are passed to OmniSharp for formatting. Note that this behavior can be controlled with theomnisharp.useEditorFormattingSettingsoption, which defaults to true. (#1055) (Contributed by @filipw)