Releases: dotnet/vscode-csharp
Releases Β· dotnet/vscode-csharp
v2.64.7
v2.63.32
Changes in 2.63.32 (since 2.61.28)
2.63.x
- Bump xamlTools to 17.14.35723.260 (PR: #7932)
- Update Roslyn to 4.14.0-1.25074.7 (PR: #7942)
- Enable extract refactorings in LSP (PR: #76718)
- Speed up 'fix all' for 'use auto prop' by running in parallel (PR: #76905)
- Add support for converting an auto-prop to a field-backed property. (PR: #76900)
- Fix throw in generator comparer (PR: #76769)
- Do not offer the containing type when offering completion in teh base-list (PR: #76891)
- Improve handling bad metadata in EE (PR: #76878)
- Record completion of "Simple lambda parameters with modifiers" feature (PR: #76884)
- Reduce work in ConversionsBase.AddUserDefinedConversionsToExplicitCandidateSet (PR: #76835)
- Update formatOnType handler to support formatting on NewLine (PR: #76876)
- Fix new document formatting (PR: #76736)
- Initial work to collapse comments at the end of a block (PR: #76865)
- Remove explicit recursion in the json detection analyzer (#76764) (PR: #76764)
- Consider silly cyclic assignment in scoped variance (#76261) (PR: #76261)
- Fix ordering of 'params' vs 'scoped' in metadata as source (#76745) (PR: #76745)
- Change partial keyword recommender to better handle partial member syntax (#76744) (PR: #76744)
- Ensure unconverted elements are converted when on LHS (#76675) (PR: #76675)
- Proffer CssVisualDiagnosticsService brokered service from C# DevKit to C# Extension (#76737) (PR: #76737)
- Disable extract class/interface to a new file when unsupported by the workspace. (#76717) (PR: #76717)
- Fix issue parsing regex category (#76735) (PR: #76735)
- Properly simplify pattern when converting to pattern matching (#76734) (PR: #76734)
- Do not lift type parameters in extract method declared within the selected region (#76724) (PR: #76724)
- Always use .OriginalDefinition uniformly in the unread-members analyzer (#76698) (PR: #76698)
- Adding checks for mutable structs. (#76711) (PR: #76711)
- Add option for choosing stdio as the LSP communication channel (#76437) (PR: #76437)
- Support organizing imports as part of LSP document formatting (PR: #76806)
- Improve collapsing of members followed by pp directives (PR: #76837)
- Load razor assembly directly: (PR: #76808)
- Special case inlining a collection expr into a spreaded element (PR: #76823)
- Do not offer to simplify interpolations when using formattable strings (PR: #76830)
- Add support for outlining switch expressions (PR: #76827)
- Do no offer to make fields readonly if they are a struct and are written to through an indexer (PR: #76825)
- Do not offer to inline a decl into a switch arm when it is referenced outside of it. (PR: #76822)
- Fix gen-method generating into top level. (PR: #76821)
- Fix 'invert if' refactor to properly enclose #region/#endregion blocks (PR: #74145)
- Do not offer use-conditional when it would cause name collisions (PR: #76807)
- Remove unnecessary cast in one conditional expression branch, based on the other branch and outer conversion. (PR: #76798)
- Convert a return value to return type even if it has errors (PR: #76699)
- Add EmbeddedAttribute API for source generators (PR: #76583)
- Fix formatting when doing a 'fix all' with 'use auto prop' (PR: #76791)
- Initialize naming style preferences when language is added to workspace (PR: #76795)
- Support target type completion tags in object creation contexts (PR: #76786)
- Fix 'use conditional expression' where it was causing a null-ref warning. (PR: #76792)
- Keep comments on an 'else' keyword when converting to conditional expressions. (PR: #76789)
- VB: Don't capture conditional access receiver into a temp local during lowering. (PR: #76712)
- Update regex parsing to latest .Net core parsing (and diagnostic messages). (PR: #76269)
- Forbid pointer types as instance fields in records (PR: #76588)
- Field-backed properties: report diagnostic for variable named field declared in accessor (PR: #76671)
- Update 'use nameof instead of typeof' to support generic types (PR: #76780)
- Add feature to convert from an explicitly typed lambda to an implicitly typed one. (PR: #76770)
- Support modifiers with simple lambda parameters. (PR: #75400)
- Update Razor to 9.0.0-preview.25064.4 (PR: #7927)
- Wire up the UseRoslynTokenizer feature properly (#11386) (PR: #11386)
- New Razor document formatting engine (#11364) (PR: #11364)
- Fix a couple of exceptions encountered when formatting documents with preprocessor directives (#11373) (PR: #11373)
- Allow RazorProjectEngine.Process to be cancelled (#11334) (PR: #11334)
- Further refactoring of Razor tooling project system (#11320) (PR: #11320)
2.62.x
- Update Roslyn to 4.14.0-1.25060.2 (PR: #7916)
- Support Extracting method with complex flow control cosntructs in them. (PR: #76686)
- Classify the langword attribute value in DocComments (PR: #76678)
- Fix FAR/rename with method type parameters (PR: #76652)
- Fix assembly load when file path contains URI reserved chars (PR: #76617)
- Reduce allocations during checksum creation. (PR: #76524)
- Bump xamlTools to 17.13.35709.178 (PR: #7914)
v2.63.31
- Bump xamlTools to 17.14.35723.260 (PR: #7932)
- CSS Hot Reload for MAUI Blazor Hybrid is now in preview. It's enabled when C# Hot Reload is enabled.
- Update Roslyn to 4.14.0-1.25074.7 (PR: #7942)
- Enable extract refactorings in LSP (PR: #76718)
- Speed up 'fix all' for 'use auto prop' by running in parallel (PR: #76905)
- Add support for converting an auto-prop to a field-backed property. (PR: #76900)
- Fix throw in generator comparer (PR: #76769)
- Do not offer the containing type when offering completion in teh base-list (PR: #76891)
- Improve handling bad metadata in EE (PR: #76878)
- Record completion of "Simple lambda parameters with modifiers" feature (PR: #76884)
- Reduce work in ConversionsBase.AddUserDefinedConversionsToExplicitCandidateSet (PR: #76835)
- Update formatOnType handler to support formatting on NewLine (PR: #76876)
- Fix new document formatting (PR: #76736)
- Initial work to collapse comments at the end of a block (PR: #76865)
- Remove explicit recursion in the json detection analyzer (#76764) (PR: #76764)
- Consider silly cyclic assignment in scoped variance (#76261) (PR: #76261)
- Fix ordering of 'params' vs 'scoped' in metadata as source (#76745) (PR: #76745)
- Change partial keyword recommender to better handle partial member syntax (#76744) (PR: #76744)
- Ensure unconverted elements are converted when on LHS (#76675) (PR: #76675)
- Proffer CssVisualDiagnosticsService brokered service from C# DevKit to C# Extension (#76737) (PR: #76737)
- Disable extract class/interface to a new file when unsupported by the workspace. (#76717) (PR: #76717)
- Fix issue parsing regex category (#76735) (PR: #76735)
- Properly simplify pattern when converting to pattern matching (#76734) (PR: #76734)
- Do not lift type parameters in extract method declared within the selected region (#76724) (PR: #76724)
- Always use .OriginalDefinition uniformly in the unread-members analyzer (#76698) (PR: #76698)
- Adding checks for mutable structs. (#76711) (PR: #76711)
- Add option for choosing stdio as the LSP communication channel (#76437) (PR: #76437)
- Support organizing imports as part of LSP document formatting (PR: #76806)
- Improve collapsing of members followed by pp directives (PR: #76837)
- Load razor assembly directly: (PR: #76808)
- Special case inlining a collection expr into a spreaded element (PR: #76823)
- Do not offer to simplify interpolations when using formattable strings (PR: #76830)
- Add support for outlining switch expressions (PR: #76827)
- Do no offer to make fields readonly if they are a struct and are written to through an indexer (PR: #76825)
- Do not offer to inline a decl into a switch arm when it is referenced outside of it. (PR: #76822)
- Fix gen-method generating into top level. (PR: #76821)
- Fix 'invert if' refactor to properly enclose #region/#endregion blocks (PR: #74145)
- Do not offer use-conditional when it would cause name collisions (PR: #76807)
- Remove unnecessary cast in one conditional expression branch, based on the other branch and outer conversion. (PR: #76798)
- Convert a return value to return type even if it has errors (PR: #76699)
- Add EmbeddedAttribute API for source generators (PR: #76583)
- Fix formatting when doing a 'fix all' with 'use auto prop' (PR: #76791)
- Initialize naming style preferences when language is added to workspace (PR: #76795)
- Support target type completion tags in object creation contexts (PR: #76786)
- Fix 'use conditional expression' where it was causing a null-ref warning. (PR: #76792)
- Keep comments on an 'else' keyword when converting to conditional expressions. (PR: #76789)
- VB: Don't capture conditional access receiver into a temp local during lowering. (PR: #76712)
- Update regex parsing to latest .Net core parsing (and diagnostic messages). (PR: #76269)
- Forbid pointer types as instance fields in records (PR: #76588)
- Field-backed properties: report diagnostic for variable named field declared in accessor (PR: #76671)
- Update 'use nameof instead of typeof' to support generic types (PR: #76780)
- Add feature to convert from an explicitly typed lambda to an implicitly typed one. (PR: #76770)
- Support modifiers with simple lambda parameters. (PR: #75400)
- Update Razor to 9.0.0-preview.25064.4 (PR: #7927)
- Wire up the UseRoslynTokenizer feature properly (#11386) (PR: #11386)
- New Razor document formatting engine (#11364) (PR: #11364)
- Fix a couple of exceptions encountered when formatting documents with preprocessor directives (#11373) (PR: #11373)
- Allow RazorProjectEngine.Process to be cancelled (#11334) (PR: #11334)
- Further refactoring of Razor tooling project system (#11320) (PR: #11320)
v2.62.18
- Update Roslyn to 4.14.0-1.25060.2 (PR: #7916)
- Support Extracting method with complex flow control cosntructs in them. (PR: #76686)
- Classify the langword attribute value in DocComments (PR: #76678)
- Fix FAR/rename with method type parameters (PR: #76652)
- Fix assembly load when file path contains URI reserved chars (PR: #76617)
- Reduce allocations during checksum creation. (PR: #76524)
- Bump xamlTools to 17.13.35709.178 (PR: #7914)
v2.61.28
Changes in 2.61.28 (since 2.55.29)
2.61.x
- Update Razor to 9.0.0-preview.25052.3 (PR: #7904)
- Offer generate handler for
@bind-XX:after
and:set
(#11350) (PR: #11350) - Support "Generate Event Handler" on event callbacks (ie
ValueChanged
and friends) (#11347) (PR: #11347) - Fix completion at end of document (#11343) (PR: #11343)
- Fix completion in an empty document (#11344) (PR: #11344)
- Only show element hover information when hovering over an element in a
.razor
file (#11336) (PR: #11336) - Don't format collection expressions, because Roslyn doesn't either (#11326) (PR: #11326)
- Update telemetry to 17.13.28 (#11315) (PR: #11315)
- Filter out CSS002 when it appears in an "@@" (#11313) (PR: #11313)
- Improve Find All Refs results (#11279) (PR: #11279)
- Offer generate handler for
- Update Roslyn to 4.13.0-3.25051.1 (PR: #7895)
- Prefix 'unmerged changes' with 'TODO' (PR: #62319)
- Fix crash when classifying embedded test classifications (PR: #76576)
- Ensure 'remove unnecessary using' shows up before 'convert to program-main style program' (PR: #76543)
- Fixup OmniSharp fallback AnalyzerConfigOption updater (PR: #76542)
- Expose NotificationService to OmniSharp (PR: #76541)
- Do not offer inline hints for parameters that already named (PR: #76532)
- Have inline hints display aliases if appropriate (PR: #76530)
- Allow OmniSharp to provide ImplementType Options (PR: #75312)
- Update telemetry to 17.13.28 (PR: #76480)
- feat(lsp): add --pipe parameter (PR: #76351)
- Slightly reduce allocations in SymbolCompletionItem.AddSymbolInfo (PR: #76418)
- Small reduction in allocations in DateAndTimeLanguageDetector (PR: #76393)
- Cache the compilation states in compilation order to avoid recalculation (PR: #76380)
- Razor synchronize loader (PR: #76357)
- Reduce allocations from doing repeated adds into an ImmutableDictionary in SolutionCompilationState.ComputeFrozenSnapshot (PR: #76361)
- Reduce allocations in WithUsingNamespacesAndTypesBinder.GetForwardedToAssemblyInUsingNamespaces (PR: #76370)
- Remove an enumerator allocation in SymbolCompletionItem.CreateWorker (PR: #76375)
- Reduce allocations in ProjectState's ctor (PR: #76369)
- Reduce allocations in CompletionItem.GetEntireDisplayText (PR: #76373)
- Reduce allocations in AbstractSymbolCompletionProvider.UnionSymbols (PR: #76368)
- Reduce allocations in AbstractRecommendationServiceBasedCompletionProvider.GetSymbolsAsync (PR: #76365)
- Cache the MEF composition in the Roslyn LSP. (PR: #76276)
- Fix Razor Report An Issue (PR: #7894)
- Hot Reload = Fuse On (PR: #7873)
- Update Debugger Package Download Endpoints to AzureFrontDoor URL (PR: #7879)
- Update OmniSharp to 1.39.12 (PR: #7445)
- Update .NET SDKs (PR: omnisharp-roslyn/#2621)
- Update Roslyn to 4.12.0-1.24358.3 (PR: omnisharp-roslyn/#2619)
- Fix code fix construction (PR: omnisharp-roslyn/#2620)
- Remove NuGet.Packaging.Core, as it's an assembly that only contains forwarders (PR: omnisharp-roslyn/#2610)
- Fix inlay hints lambdas parameter type null reference exception (PR: omnisharp-roslyn/#2604)
- Update SDKs and Roslyn (PR: omnisharp-roslyn/#2603)
- Pass project path when performing a restore (PR: omnisharp-roslyn/#2593)
- Bump xamltools to 17.13.35703.12 (PR: #7893)
- Don't try to send dynamicInfoChanged if the server isn't running (PR: #7875)
2.60.x
- Improve performance of razor/blazor component discovery (PR: #7826)
- Update Razor to 9.0.0-preview.24605.1 (PR: #7826)
- New Code Action! Add a code action to promote a using directive (#11241) (PR: #11241)
- Add more information to dynamic file publish (#11267) (PR: #11267)
- Remove C#s using snippet from completion (#11272) (PR: #11272)
- Fix extract component whitespace handling (#11262) (PR: #11262)
- Handle aliased usings in RazorEditHelper (#11208) (PR: #11208)
- Update Debugger Packages and move macOS requirement to macOS 13 (PR: #7854)
- Fix spelling of successfully (PR: #7853)
- Update Roslyn to 4.13.0-3.24605.12 (PR: #7826)
- Fix go-to-def on an abstract explicit impl of an interface method (PR: #76238)
- Fix parameter completion item icon (PR: #76292)
- Enable LSP go to definition on string literals (PR: #76291)
- Use named pipes to connect to the BuildHost process. (PR: #76259)
- Improve Razor DynamicFile Provider (PR: #76050)
- Add option to disable LSP-based auto insert (PR: #75224)
- Report errors processing messages in the build host (PR: #76252)
- Update FAR and Go to Def to work on indexers (PR: #76220)
- Fix NFW thrown when refreshing source generated files (PR: #76240)
- Update find-refs to find references to Dispose in a using-statement (PR: #76221)
- Add support for 'find refs' finding references to 'dynamic' (PR: #76118)
- Support implementing protected members in implement interface (PR: #76178)
- Do not treat Task.Run methods as 'apparent' for 'use var' (PR: #76229)
- Support introduce variable at the top level (PR: #76218)
- Fix switch indentation for list patterns (PR: #75953)
- Keep member bodies when converting DIM property to method (PR: #76186)
- Have go-to-def flip between partial definition and implementation (PR: #76187)
- Disable 'use coalesce expression' when statements cross a PP boundary (PR: #76173)
- Support name completion on generic types (PR: #76170)
- Improve extract-local-function in the presence of pp directives (PR: #76169)
- Fix issue trying to generate fields/properties from a top level program (PR: #76161)
- Update 'introduce using' to support expression statements (PR: #76147)
- Use implicit initializer if present to generate type properties (PR: #76162)
- Fix issue with explicit interface completion and static interface members (PR: #76150)
- When converting to raw strings, do not change \r\n sequences if not explicitly requested by the user (PR: #76120)
- Exclude starting symbol when going to im...
v2.61.27
- Update Razor to 9.0.0-preview.25052.3 (PR: #7904)
- Offer generate handler for
@bind-XX:after
and:set
(#11350) (PR: #11350) - Support "Generate Event Handler" on event callbacks (ie
ValueChanged
and friends) (#11347) (PR: #11347) - Fix completion at end of document (#11343) (PR: #11343)
- Fix completion in an empty document (#11344) (PR: #11344)
- Only show element hover information when hovering over an element in a
.razor
file (#11336) (PR: #11336) - Don't format collection expressions, because Roslyn doesn't either (#11326) (PR: #11326)
- Update telemetry to 17.13.28 (#11315) (PR: #11315)
- Filter out CSS002 when it appears in an "@@" (#11313) (PR: #11313)
- Improve Find All Refs results (#11279) (PR: #11279)
- Offer generate handler for
- Update Roslyn to 4.13.0-3.25051.1 (PR: #7895)
- Prefix 'unmerged changes' with 'TODO' (PR: #62319)
- Fix crash when classifying embedded test classifications (PR: #76576)
- Ensure 'remove unnecessary using' shows up before 'convert to program-main style program' (PR: #76543)
- Fixup OmniSharp fallback AnalyzerConfigOption updater (PR: #76542)
- Expose NotificationService to OmniSharp (PR: #76541)
- Do not offer inline hints for parameters that already named (PR: #76532)
- Have inline hints display aliases if appropriate (PR: #76530)
- Allow OmniSharp to provide ImplementType Options (PR: #75312)
- Update telemetry to 17.13.28 (PR: #76480)
- feat(lsp): add --pipe parameter (PR: #76351)
- Slightly reduce allocations in SymbolCompletionItem.AddSymbolInfo (PR: #76418)
- Small reduction in allocations in DateAndTimeLanguageDetector (PR: #76393)
- Cache the compilation states in compilation order to avoid recalculation (PR: #76380)
- Razor synchronize loader (PR: #76357)
- Reduce allocations from doing repeated adds into an ImmutableDictionary in SolutionCompilationState.ComputeFrozenSnapshot (PR: #76361)
- Reduce allocations in WithUsingNamespacesAndTypesBinder.GetForwardedToAssemblyInUsingNamespaces (PR: #76370)
- Remove an enumerator allocation in SymbolCompletionItem.CreateWorker (PR: #76375)
- Reduce allocations in ProjectState's ctor (PR: #76369)
- Reduce allocations in CompletionItem.GetEntireDisplayText (PR: #76373)
- Reduce allocations in AbstractSymbolCompletionProvider.UnionSymbols (PR: #76368)
- Reduce allocations in AbstractRecommendationServiceBasedCompletionProvider.GetSymbolsAsync (PR: #76365)
- Cache the MEF composition in the Roslyn LSP. (PR: #76276)
- Fix Razor Report An Issue (PR: #7894)
- Hot Reload = Fuse On (PR: #7873)
- Update Debugger Package Download Endpoints to AzureFrontDoor URL (PR: #7879)
- Update OmniSharp to 1.39.12 (PR: #7445)
- Update .NET SDKs (PR: omnisharp-roslyn/#2621)
- Update Roslyn to 4.12.0-1.24358.3 (PR: omnisharp-roslyn/#2619)
- Fix code fix construction (PR: omnisharp-roslyn/#2620)
- Remove NuGet.Packaging.Core, as it's an assembly that only contains forwarders (PR: omnisharp-roslyn/#2610)
- Fix inlay hints lambdas parameter type null reference exception (PR: omnisharp-roslyn/#2604)
- Update SDKs and Roslyn (PR: omnisharp-roslyn/#2603)
- Pass project path when performing a restore (PR: omnisharp-roslyn/#2593)
- Bump xamltools to 17.13.35703.12 (PR: #7893)
- Don't try to send dynamicInfoChanged if the server isn't running (PR: #7875)
v2.60.26
- Improve performance of razor/blazor component discovery (PR: #7826)
- Update Razor to 9.0.0-preview.24605.1 (PR: #7826)
- New Code Action! Add a code action to promote a using directive (#11241) (PR: #11241)
- Add more information to dynamic file publish (#11267) (PR: #11267)
- Remove C#s using snippet from completion (#11272) (PR: #11272)
- Fix extract component whitespace handling (#11262) (PR: #11262)
- Handle aliased usings in RazorEditHelper (#11208) (PR: #11208)
- Update Debugger Packages and move macOS requirement to macOS 13 (PR: #7854)
- Fix spelling of successfully (PR: #7853)
- Update Roslyn to 4.13.0-3.24605.12 (PR: #7826)
- Fix go-to-def on an abstract explicit impl of an interface method (PR: #76238)
- Fix parameter completion item icon (PR: #76292)
- Enable LSP go to definition on string literals (PR: #76291)
- Use named pipes to connect to the BuildHost process. (PR: #76259)
- Improve Razor DynamicFile Provider (PR: #76050)
- Add option to disable LSP-based auto insert (PR: #75224)
- Report errors processing messages in the build host (PR: #76252)
- Update FAR and Go to Def to work on indexers (PR: #76220)
- Fix NFW thrown when refreshing source generated files (PR: #76240)
- Update find-refs to find references to Dispose in a using-statement (PR: #76221)
- Add support for 'find refs' finding references to 'dynamic' (PR: #76118)
- Support implementing protected members in implement interface (PR: #76178)
- Do not treat Task.Run methods as 'apparent' for 'use var' (PR: #76229)
- Support introduce variable at the top level (PR: #76218)
- Fix switch indentation for list patterns (PR: #75953)
- Keep member bodies when converting DIM property to method (PR: #76186)
- Have go-to-def flip between partial definition and implementation (PR: #76187)
- Disable 'use coalesce expression' when statements cross a PP boundary (PR: #76173)
- Support name completion on generic types (PR: #76170)
- Improve extract-local-function in the presence of pp directives (PR: #76169)
- Fix issue trying to generate fields/properties from a top level program (PR: #76161)
- Update 'introduce using' to support expression statements (PR: #76147)
- Use implicit initializer if present to generate type properties (PR: #76162)
- Fix issue with explicit interface completion and static interface members (PR: #76150)
- When converting to raw strings, do not change \r\n sequences if not explicitly requested by the user (PR: #76120)
- Exclude starting symbol when going to implementations if we find implementations (PR: #76125)
- Add option to disable auto insertion of documentation comments (PR: #7381)
- Bump xamltools to 17.13.35606.23 (PR: #7856)
- Restore WASM debug hook (#7843) (PR: #7844)
v2.59.14
- Update Roslyn to 4.13.0-3.24577.4 (PR: #7833)
- Delete
dotnet.dotnetPath
setting and support automatic migration to replacements (PR: #7825)- Existing
dotnet.dotnetPath
values will be migrated to the .NET Install Tool extension'sdotnetAcquisitionExtension.existingDotnetPath
setting. See this page for more details on configuring the .NET Install Tool. - The OmniSharp version of
dotnet.dotnetPath
has been migrated toomnisharp.dotnetPath
- Existing
- Bump xamltools to 17.13.35527.19 (PR: #7831)
v2.58.20
v2.57.28
- Update Razor to 9.0.0-preview.24565.1 (PR: [#7793])(#7793)
- Update Roslyn to 4.13.0-2.24565.3 (PR: #7792)
- Add support for go to type definition (PR: #75819)
- Reduce formatting allocations when scrolling (PR: #75912)
- Improve go-to-impl with error conditions (PR: #75913)
- Update 'use simple using statement' to support global statements (PR: #75921)
- Fix case where we were erroneously offering to convert a dictionary to use a collection expression. (PR: #75897)
- Recover better when a user uses commas in a for-statement instead of semicolons (PR: #75632)
- Do not run 'remove unnecessary imports' on generated code (PR: #74762)
- improve goto-def on an invalid override (PR: #75901)
- Fix formatting of simplify-linq-expression (PR: #75860)
- Add new line before 'where' constraints in Quick Info (PR: #60545)
- Increase default server start timeout to 2minutes (PR: #7788)
- Update Razor to 9.0.0-preview.24561.3 (PR: #7748)
- Add feature flag to turn on the new Roslyn tokenizer (PR: #11185)
- Fix Razor preview panel button colors to have more visible contrast ratio (PR: #7766)
- Bump xamltools to 17.13.35513.19 (PR: #7777)