Releases: dotnet/vscode-csharp
Releases Β· dotnet/vscode-csharp
v2.72.22
2.72.x
- Revert xamlTools to 17.14.35913.250 (PR: #8121)
- Update Roslyn to 4.14.0-3.25178.1 (PR: #8103)
- Merge
null conditional assignment
to main (PR: #77867) - Merge
features/extensions
intomain
(PR: #77851) - Set the default namespace for the project and proper folders for documents (PR: #77787)
- Fix move to namespace offering for primary constructor (PR: #77751)
- Rework analyzer assembly loading (PR: #77004)
- Improve raw string completion (PR: #77742)
- Avoid adding duplicate suppressors to the host analyzer arrays (PR: #77062)
- Cleanup and make semantic token processing and testing code more consistent (PR: #77684)
- Fix generation of attribute with array constant (PR: #77661)
- Merge
- Bump Razor to (PR: #8096)
2.71.x
- Bump xamlTools to 17.14.35920.284 (PR: #8083)
- Localization (PR: #8084)
- Update wording on Razor Report Issue(PR: #8081)
- Use the new SDK install experience when available.(PR: #8080)
- Only enable Generate Assets command when the extension is activated.(PR: #8079)
- Expose
sendRequestWithProgress
as experimental API(PR: #8074)
v2.70.15
v2.69.25
Changes in 2.69.25 (since 2.63)
2.69.x
- Bump razor to 9.0.0-preview.25156.2 (PR: #8047)
- Bump xamlTools to 17.14.35904.287 (PR: #8042)
- Update Roslyn to 4.14.0-3.25156.1 (PR: #8049)
- Don't use an implicit-object if the lang version doesn't support it (PR: #77437)
- Fix issue where we were changing semantics when converting to a collection expr. (PR: #77417)
- Detect and emit more idiomatic null check patterns (PR: #77412)
- Partial events and constructors: IDE (PR: #77337)
- Simplify keyword recommenders. (PR: #77396)
- Remove async/await (PR: #77397)
- Preserve encoding during DocumentState updates (PR: #77354)
- Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if not needed (PR: #77334)
- Handle ModuleCancellationTokenExpression in AbstractFlow visitor (PR: #77310)
- PERF: Reduce the number of nodes walked during import completion commit. (PR: #77305)
- Allow expression body refactorings on non empty selections (PR: #76969)
- Partial events and constructors: public API (PR: #77202)
- Refresh diagnostics when fading options change (PR: #77322)
- Reduce allocations during completion in FilterToVisibleAndBrowsableSymbols (PR: #77315)
- Change override completion to select text after updating the buffer. (PR: #76983)
- Fix false positive 'Unnecessary assignment of a value' (PR: #77297)
2.68.x
- Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
- Don't send invalid ranges for diagnostics if they do not map (#11555) (PR: #11555)
- Fix file path service, and integration tests (#11556) (PR: #11556)
- Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (#11526) (PR: #11526)
- Fix parsing of quotes in attribute names (#11543) (PR: #11543)
- Bump xamlTools to 17.14.35828.13 (PR: #8032)
- Ignore preview versions when locating the .NET runtime (PR: #8043)
2.67.x
- Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
- Don't send invalid ranges for diagnostics if they do not map (#11555) (PR: #11555)
- Fix file path service, and integration tests (#11556) (PR: #11556)
- Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (#11526) (PR: #11526)
- Fix parsing of quotes in attribute names (#11543) (PR: #11543)
- Bump xamlTools to 17.14.35821.62 (PR: #8001)
- Update Roslyn to 4.14.0-2.25120.5 (PR: #7984)
- Switch TextDocumentState.GetTextVersionAsync to ValueTask to reduce allocations. (PR: #77213)
- Add an option to ignore aliases when moving using directives outside a namespace (PR: #77291)
- Fill some gaps in the LSP (PR: #77289)
- Ensure diagnostics refresh when source generators run in balanced mode (PR: #77271)
- Fix override completion when attribute below (PR: #77242)
- Fix crash in 'introduce variable' when converting an object creation expression to an implicit object creation expression (PR: #77279)
- Fix Quick Info nullability display for backing fields (PR: #77240)
- Properly pass progress object along in fix all provider (PR: #77243)
- Remove need to use semantics in the 'move type' code refactoring provider. (PR: #77244)
- Do not offer primary constructor parameters when offering to generate Equals/GetHashCode (PR: #77235)
- Rename feature to 'Add or remove accessibility modifiers' (PR: #77234)
- Have distinct messages for adding vs. removing accessibility modifiers (PR: #77188)
- Update 'use interpolated string' refactoring to support fix all (PR: #77209)
- Reduce allocations in SymbolCompletionItem.GetSupportedPlatforms (PR: #77168)
- Classify string fields with embedded languages if we can see their values passed to a StringSyntax api (PR: #77199)
- Add analyzer redirecting API (PR: #74820)
- Fix race during shutdown of the BuildHost server (PR: #77151)
- Fix workspace command execution (PR: #77152)
- Add Microsoft.CodeAnalysis.Contracts source package (PR: #76997)
- Detect data section string literal hash collisions (PR: #77061)
- Return LSP diagnostics with their reported severity. (PR: #77145)
- Fix syntax generation of explict checked operator from symbol (PR: #77102)
- Add new workspace event that gives handlers the opportunity to be processed immediately (PR: #76932)
- Optimize DiagnosticService on NetCore (PR: #77126)
- Simplify caching api between CodeAnalysisService and DiagnosticAnalysisService (PR: #77094)
- Manage information diagnostic severity on the client-side (PR: #7984)
- Update Razor to 9.0.0-preview.25121.2 (PR: #8010)
- Fix formatting of multi-line expressions in Html attributes (#11528) (PR: #11528)
- Stop attribute name parsing at transition (#11520) (PR: #11520)
- Use different completion trigger character set for VSCode (#11446) (PR: #11446)
- Update Telemetry package (#11468) (PR: #11468)
- Don't hold onto Roslyn projects longer than necessary (#11458) (PR: #11458)
- Fix formatting of escaped at signs (#11462) (PR: #11462)
- Code action to offer to wrap Html attributes (#11422) (PR: #11422)
- Make sure we go through GetAbsolutePosition to handle LSP edge cases (#11441) (PR: #11441)
- Make log levels match LogLevel.cs (#11436) (PR: #11436)
- Fix on type formatting line delta calculations (#11435) (PR: #11435)
- Clean up and rationalize imports in the compiler (#11409) (PR: #11409)
- Fix typo in setting description (#11423) (PR: #11423)
- Bump xamlTools to 17.14.35813.246 (PR: #7993)
- Update the debugger to 2.66.0 (PR: #7988)
- Fix the regular expression to read RID value. (PR: #7994)
2.65.x
v2.69.22
- Bump razor to 9.0.0-preview.25156.2 (PR: #8047)
- Bump xamlTools to 17.14.35904.287 (PR: #8042)
- Update Roslyn to 4.14.0-3.25156.1 (PR: #8049)
- Don't use an implicit-object if the lang version doesn't support it (PR: #77437)
- Fix issue where we were changing semantics when converting to a collection expr. (PR: #77417)
- Detect and emit more idiomatic null check patterns (PR: #77412)
- Partial events and constructors: IDE (PR: #77337)
- Simplify keyword recommenders. (PR: #77396)
- Remove async/await (PR: #77397)
- Preserve encoding during DocumentState updates (PR: #77354)
- Don't realize the SourceText in SyntaxTree.OverlapsHiddenPosition if not needed (PR: #77334)
- Handle ModuleCancellationTokenExpression in AbstractFlow visitor (PR: #77310)
- PERF: Reduce the number of nodes walked during import completion commit. (PR: #77305)
- Allow expression body refactorings on non empty selections (PR: #76969)
- Partial events and constructors: public API (PR: #77202)
- Refresh diagnostics when fading options change (PR: #77322)
- Reduce allocations during completion in FilterToVisibleAndBrowsableSymbols (PR: #77315)
- Change override completion to select text after updating the buffer. (PR: #76983)
- Fix false positive 'Unnecessary assignment of a value' (PR: #77297)
v2.68.46
- Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
- Don't send invalid ranges for diagnostics if they do not map (PR: #11555)
- Fix file path service, and integration tests (PR: #11556)
- Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (PR: #11526)
- Fix parsing of quotes in attribute names (PR: #11543)
- Bump xamlTools to 17.14.35828.13 (PR: #8032)
- Ignore preview versions when locating the .NET runtime (PR: #8043)
v2.67.20
- Update Razor to 9.0.0-preview.25125.9 (PR: #8027)
- Don't send invalid ranges for diagnostics if they do not map (PR: #11555)
- Fix file path service, and integration tests (PR: #11556)
- Add ParserOptions and CodeGenerationOptions properties to RazorCodeDocument and rationalize options configuration (PR: #11526)
- Fix parsing of quotes in attribute names (PR: #11543)
- Bump xamlTools to 17.14.35821.62 (PR: #8001)
- Update Roslyn to 4.14.0-2.25120.5 (PR: #7984)
- Switch TextDocumentState.GetTextVersionAsync to ValueTask to reduce allocations. (PR: #77213)
- Add an option to ignore aliases when moving using directives outside a namespace (PR: #77291)
- Fill some gaps in the LSP (PR: #77289)
- Ensure diagnostics refresh when source generators run in balanced mode (PR: #77271)
- Fix override completion when attribute below (PR: #77242)
- Fix crash in 'introduce variable' when converting an object creation expression to an implicit object creation expression (PR: #77279)
- Fix Quick Info nullability display for backing fields (PR: #77240)
- Properly pass progress object along in fix all provider (PR: #77243)
- Remove need to use semantics in the 'move type' code refactoring provider. (PR: #77244)
- Do not offer primary constructor parameters when offering to generate Equals/GetHashCode (PR: #77235)
- Rename feature to 'Add or remove accessibility modifiers' (PR: #77234)
- Have distinct messages for adding vs. removing accessibility modifiers (PR: #77188)
- Update 'use interpolated string' refactoring to support fix all (PR: #77209)
- Reduce allocations in SymbolCompletionItem.GetSupportedPlatforms (PR: #77168)
- Classify string fields with embedded languages if we can see their values passed to a StringSyntax api (PR: #77199)
- Add analyzer redirecting API (PR: #74820)
- Fix race during shutdown of the BuildHost server (PR: #77151)
- Fix workspace command execution (PR: #77152)
- Add Microsoft.CodeAnalysis.Contracts source package (PR: #76997)
- Detect data section string literal hash collisions (PR: #77061)
- Return LSP diagnostics with their reported severity. (PR: #77145)
- Fix syntax generation of explict checked operator from symbol (PR: #77102)
- Add new workspace event that gives handlers the opportunity to be processed immediately (PR: #76932)
- Optimize DiagnosticService on NetCore (PR: #77126)
- Simplify caching api between CodeAnalysisService and DiagnosticAnalysisService (PR: #77094)
- Manage information diagnostic severity on the client-side (PR: #7984)
- Update Razor to 9.0.0-preview.25121.2 (PR: #8010)
- Fix formatting of multi-line expressions in Html attributes (PR: #11528)
- Stop attribute name parsing at transition (PR: #11520)
- Use different completion trigger character set for VSCode (PR: #11446)
- Update Telemetry package (PR: #11468)
- Don't hold onto Roslyn projects longer than necessary (PR: #11458)
- Fix formatting of escaped at signs (PR: #11462)
- Code action to offer to wrap Html attributes (PR: #11422)
- Make sure we go through GetAbsolutePosition to handle LSP edge cases (PR: #11441)
- Make log levels match LogLevel.cs (PR: #11436)
- Fix on type formatting line delta calculations (PR: #11435)
- Clean up and rationalize imports in the compiler (PR: #11409)
- Fix typo in setting description (PR: #11423)
- Bump xamlTools to 17.14.35813.246 (PR: #7993)
- Update the debugger to 2.66.0 (PR: #7988)
- Fix the regular expression to read RID value. (PR: #7994)
v2.65.29
- Update Roslyn LSP to run on .NET 9 (PR: #7946)
- Update Roslyn to 4.14.0-2.25106.12 (PR: #7969)
- Maintain whitespace when converting to switch expression (PR: #77083)
- Fix extra whitespace insertion for completion text edits (PR: #77071)
- Realize less of the syntax tree during AbstractSemanticModelReuseLanguageService.GetPreviousBodyNode (PR: #77032)
- Fix issue loading project with relative path globs (PR: #76961)
- Fix: Ensure DOTNET_ROOT is reset user defined value during test execution (PR: #76819)
- Update Roslyn LSP server to target .NET 9 (PR: #76938)
- Update ICSharpCode.Decompiler to 8.2.0.7535 (PR: #71837)
- Reduce CPU costs under AnalyzerExecutor.ExecuteSyntaxNodeActions (PR: #76894)
- Add code snippets for C# expression-bodied properties (PR: #5683)
- Sync whitespace options even when detectIndentation is on (PR: #7965)
- Bump Razor (PR: #7940)
Bump xamltools to 17.14.35807.11(PR: #7976)
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)