Releases: dotnet/vscode-csharp
Releases · dotnet/vscode-csharp
2.88.42
- Enable Razor Cohosting "on" by default (PR: #8469)
- Bump Roslyn to 5.0.0-2.25405.5 (PR: #8493)
- Fix file-based programs getting stuck in the host workspace(PR: #79730)
- Fixed irregular spacing between list items(PR: #79388)
- Introduce helper to ensure span mapping is consistent everywhere(PR: #79729)
- Fix formatting in use-auto-prop when attributes are present(PR: #79735)
- Razor span mapping in LSP for cohosting(PR: #79677)
- Handle concurrent requests to update workspace contents and workspace SG info.(PR: #79628)
- Update debugger.contracts to 18.0.0-beta.25379.1(PR: #79661)
- Fix logging when item counts change in LoadedProject(PR: #79640)
- File-based program directive diagnostics in editor(PR: #79421)
- Fixup quick info for suppressed nullable operations.(PR: #79636)
- Rename Razor source generated documents in all scenarios, and map edits(PR: #79604)
- Fix formatting of CDATA sections in quick info(PR: #79627)
- Add diagnostic provider for clients without dynamic registration(PR: #77984)
- Fix eol handling on the last token in a file when formatting code actions(PR: #79602)
- Reduce allocations during CommonCompletionItem.Create(PR: #79591)
- Add metadata documents to the MAS workspace upfront(PR: #78886)
- Update debugger contracts to 18.0.0-beta.25353.1(PR: #79277)
- Include comments written above local variables when getting quick info for them.(PR: #79580)
- Modify LSP folding ranges to account for AutoCollapse(PR: #79551)
- Have 'use explicit type' add usings as necessary to minimally qualify the type(PR: #79574)
- Fix issue where we weren't properly adding elastic trivia to newly generated members(PR: #79571)
- Properly handle optional arguments when converting a local function to a method.(PR: #79531)
- Fix issue with 'use explicit type' and nullable tuples(PR: #79544)
- Fix name qualification when moving a using alias outside of a file scoped namespace(PR: #79540)
- Allow add using to work on Razor generated documents(PR: #79530)
- Fix 'this' keyword not being recomended where allowed(PR: #79514)
- Fix 'switch' keyword recomendations after an expression(PR: #79515)
- Suggest proper 'Async'-suffixed name for Task-returning symbols(PR: #79518)
- Locate usable MSBuild when launching .NET Core BuildHost (PR: #79494
- Bump Razor to 10.0.0-preview.25403.1 (PR: #8485)
- Fix issue acquiring components when using proxies (PR: #8457)
- Support activating the extension with limited support in untrusted workspaces (PR: #8435)
- Report specific c# settings in issue template (PR: #8433)
- Update OmniSharp to 1.39.14 (PR: #8492)
- Update Roslyn to 4.14.0-3.25168.13 (PR: omnisharp-roslyn/#2664)
2.87.31
Changes in 2.87.31 (since 2.84.19)
2.87.x
- Bump Roslyn to 5.0.0-2.25371.17 (PR: #8436)
- Fix exception in additional file diagnostics (PR: #79501)
- Simplify stale project handling in hot reload(PR: #79386)
- Fix static extension method not showing up on enum type(PR: #79454)
- Update 'use auto property' to respect user options around
this.
for property access.(PR: #79405) - Fix make-readonly with spans.(PR: #79393)
- Change how trailing trivia is preserved in use-auto-prop(PR: #79425)
- Special case a few well-known immutable types in use-auto-prop(PR: #79422)
- Preserve comments when switching to auto props(PR: #79420)
- Support interpolated string handlers in extension blocks(PR: #78425)
- Offer 'implement interface' when inside a type's body(PR: #79382)
- EnC support for project level changes(PR: #79239)
- Ensure generated types come after top level statements(PR: #79378)
- Allow user to still create a new field/prop when offering to initialize an existing prop(PR: #79376)
- Fix crash in replace property with methods(PR: #79358)
- Fix issue offering to remove nullable cast in a ternary expression(PR: #79355)
- Fix 'use var' with spans(PR: #79348)
- Fix not offering to remove unnecessary nullable pragmas(PR: #79356)
- Fix crash in use-null-prop fixer(PR: #79340)
- Update debugger to v2.86.0(PR: #8424)
- Bump Razor to 10.0.0-preview.25368.1 (PR: #8430)
2.86.x
- Bump Roslyn to 5.0.0-1.25361.2 (PR: #8416)
- Fix issue with diagnostics when renaming a file (case change only) (PR: #79298)
- Allow rename to (optionally) process source generated documents(PR: #78984)
- Initial support for adding obsolete attributes to primary constructors(PR: #79271)
- Allow the Razor extension to report telemetry (and initialize)(PR: #79254)
- Use same location for 'use implicit object' as we do for 'use collection expression'.(PR: #79265)
- Use the miscellaneous files project name for rich misc projects(PR: #79267)
- Razor: Don't double register for document sync(PR: #79241)
- Allow LanguageServerProjectSystems to load into more than one workspace(PR: #78975)
- Improve diagnostic for ambiguous predefined type(PR: #79196)
- Fix renaming constructor via alias(PR: #79175)
- Speed up performance of remove-unused-imports fix all(PR: #79173)
- Improve performance in metadata-to-project-reference conversion(PR: #79163)
- Fix issue where we offered to use a collection expression when teh user didn't have a viable Add method(PR: #79157)
- Don't load the razor redirector unless it could actually be a razor assembly(PR: #79154)
- Tweak clarity rules for parentheses where ?? is involved(PR: #79159)
- Avoid hitting object pool when not needed(PR: #79158)
- Merge 'extension operators' into 'main'(PR: #79151)
- Extensions: interceptors(PR: #79010)
- Small but trivial allocation improvement in FileWatchedReferenceFactory.StopWatchingReference(PR: #79140)
- Slight allocation reduction in CommandLineParser.FlattenArgs (PR: #79139)
- Fix promptForDevKitDebugConfigurations without CDK installed (PR: #8390)
- Remove Razor ForceRuntimeCodeGeneration flag (PR: #8398)
- Bump Razor to 10.0.0-preview.25329.6 (PR: #8413)
- Use snippet InsertText in directive attributes to insert equals and quotes (PR: #12010)
- Fix edit mapping for Html documents (PR: #12027)
- Don't show HTML snippets in style, script, or html comment blocks (PR: #12021)
- Allow our VS Code extension to report telemetry (through Roslyn) (PR: #12015)
- Hard code ForceRuntimeCodeGeneration feature flag in all cases (PR: #12007)
- Report cohost status in initialize telemetry (PR: #12001)
- Implement "Extract to Foo.razor.css" code action (PR: #11989)
- Filter all html diagnostics out if they're reported in a comment (PR: #12002)
- Analyzer redirector (PR: #11972)
- Partial fix for #7678 (PR: #11681)
- Simplify tag to self-closing code action (PR: #11802)
- Bind directive attribute
event
parameter HTML event completions (PR: #11804) - Allow Razor completion items on deletion (PR: #11991)
2.85.x
- Bump Roslyn to 5.0.0-1.25326.2 (PR: #8386)
- Fix nullable oblivious quick info (PR: #79102)
- Clear provider on disposal (PR: #79128)
- Improve performance of fix all that only changes syntax (PR: #79108)
- Convert to regular constructor for partial types (PR: #79092)
- Fix roslyn test modifiers in semantic tokens (PR: #79070)
- Fix restore for 'dotnet run app.cs' in IDE (PR: #78990)
- Bump Razor to 10.0.0-preview.25329.6 (PR: #8392)
- Fix formatting issue with code block opening braces (PR: #11969)
2.87.26
- Bump Roslyn to 5.0.0-2.25371.17 (PR: #8436)
- Fix exception in additional file diagnostics (PR: #79501)
- Simplify stale project handling in hot reload(PR: #79386)
- Fix static extension method not showing up on enum type(PR: #79454)
- Update 'use auto property' to respect user options around
this.
for property access.(PR: #79405) - Fix make-readonly with spans.(PR: #79393)
- Change how trailing trivia is preserved in use-auto-prop(PR: #79425)
- Special case a few well-known immutable types in use-auto-prop(PR: #79422)
- Preserve comments when switching to auto props(PR: #79420)
- Support interpolated string handlers in extension blocks(PR: #78425)
- Offer 'implement interface' when inside a type's body(PR: #79382)
- EnC support for project level changes(PR: #79239)
- Ensure generated types come after top level statements(PR: #79378)
- Allow user to still create a new field/prop when offering to initialize an existing prop(PR: #79376)
- Fix crash in replace property with methods(PR: #79358)
- Fix issue offering to remove nullable cast in a ternary expression(PR: #79355)
- Fix 'use var' with spans(PR: #79348)
- Fix not offering to remove unnecessary nullable pragmas(PR: #79356)
- Fix crash in use-null-prop fixer(PR: #79340)
- Update debugger to v2.86.0(PR: #8424)
- Bump Razor to 10.0.0-preview.25368.1 (PR: #8430)
2.86.19
- Bump Roslyn to 5.0.0-1.25361.2 (PR: #8416)
- Fix issue with diagnostics when renaming a file (case change only) (PR: #79298)
- Allow rename to (optionally) process source generated documents(PR: #78984)
- Initial support for adding obsolete attributes to primary constructors(PR: #79271)
- Allow the Razor extension to report telemetry (and initialize)(PR: #79254)
- Use same location for 'use implicit object' as we do for 'use collection expression'.(PR: #79265)
- Use the miscellaneous files project name for rich misc projects(PR: #79267)
- Razor: Don't double register for document sync(PR: #79241)
- Allow LanguageServerProjectSystems to load into more than one workspace(PR: #78975)
- Improve diagnostic for ambiguous predefined type(PR: #79196)
- Fix renaming constructor via alias(PR: #79175)
- Speed up performance of remove-unused-imports fix all(PR: #79173)
- Improve performance in metadata-to-project-reference conversion(PR: #79163)
- Fix issue where we offered to use a collection expression when teh user didn't have a viable Add method(PR: #79157)
- Don't load the razor redirector unless it could actually be a razor assembly(PR: #79154)
- Tweak clarity rules for parentheses where ?? is involved(PR: #79159)
- Avoid hitting object pool when not needed(PR: #79158)
- Merge 'extension operators' into 'main'(PR: #79151)
- Extensions: interceptors(PR: #79010)
- Small but trivial allocation improvement in FileWatchedReferenceFactory.StopWatchingReference(PR: #79140)
- Slight allocation reduction in CommandLineParser.FlattenArgs (PR: #79139)
- Fix promptForDevKitDebugConfigurations without CDK installed (PR: #8390)
- Remove Razor ForceRuntimeCodeGeneration flag (PR: #8398)
- Bump Razor to 10.0.0-preview.25329.6 (PR: #8413)
- Use snippet InsertText in directive attributes to insert equals and quotes (PR: #12010)
- Fix edit mapping for Html documents (PR: #12027)
- Don't show HTML snippets in style, script, or html comment blocks (PR: #12021)
- Allow our VS Code extension to report telemetry (through Roslyn) (PR: #12015)
- Hard code ForceRuntimeCodeGeneration feature flag in all cases (PR: #12007)
- Report cohost status in initialize telemetry (PR: #12001)
- Implement "Extract to Foo.razor.css" code action (PR: #11989)
- Filter all html diagnostics out if they're reported in a comment (PR: #12002)
- Analyzer redirector (PR: #11972)
- Partial fix for #7678 (PR: #11681)
- Simplify tag to self-closing code action (PR: #11802)
- Bind directive attribute
event
parameter HTML event completions (PR: #11804) - Allow Razor completion items on deletion (PR: #11991)
2.84.19
Changes in 2.84.19 (since 2.80.16)
2.84.x
- Bump Roslyn to 5.0.0-1.25319.11 (PR: #8380)
- Preserve trailing directives when converting a Program.Main program to top level statements. (#79062) (PR: #79062)
- Do not offer add parameter on a type that cannot become a parameter (#79060) (PR: #79060)
- Razor assembly redirector (#78852) (PR: #78852)
- Add refactoring to sort imports (#79041) (PR: #79041)
- Fix a couple of issues with committing and diagnostic reporting (#79018) (PR: #79018)
- Update 'use null propagation' to understand more patterns (#78992) (PR: #78992)
- Pull in shared source for core roslyn capacilities into roslyn-analyzer packages. (#79024) (PR: #79024)
- Inline Method Refactoring - Fix bug for field with multiple declarations (#78988) (PR: #78988)
- Fix locating startup objects (#78972) (PR: #78972)
- Do not make unnecessarily simplification changes in sync-namespace. (#78969) (PR: #78969)
- Add a layer of constraint filtering for 'add import for extension methods' completion. (#78923) (PR: #78923)
- Bump Razor to 10.0.0-preview.25322.1 (PR: #8380)
- Make completion capabilities checks more robust (#11964) (PR: #11964)
- Fix overly aggressive delegated completion (#11965) (PR: #11965)
- Simply the code that generates edits to insert using directives (#11948) (PR: #11948)
- Fix override completion in VS Code for Cohosting (#11938) (PR: #11938)
- Include namespace in extracted component (#11915) (PR: #11915)
- Fix a few bugs around formatting explicit expressions (#11906) (PR: #11906)
- Handle when Roslyn removes newlines while formatting (#11911) (PR: #11911)
- Fix issue where the open brace node includes leading newline (#11908) (PR: #11908)
2.83.x
- Bump Roslyn to 5.0.0-1.25312.6 (PR: #8364)
- Fix deadlock if an MSBuild task is writing to stdout(PR: #78927)
- Add more ETW events to trace assembly loading(PR: #78840)
- Switch behavior of "Go to definition" and "Go to implementation" for partial members(PR: #78857)
- Fix await completion in an async iterator(PR: #78823)
- Add a fallback path when launching the BuildHost(PR: #78826)
- Fix LSP references for using alias(PR: #78819)
2.82.x
- Bump Roslyn to 5.0.0-1.25302.10 (PR: #8347)
- Directly create virtual project when dotnet run-api is missing for now(PR: #78788)
- Ensure sln load uses project absolute paths(PR: #78772)
- Switch return to continue(PR: #78781)
- Fix cast before we unsubscribe(PR: #78776)
- Don't refresh dynamic files under a lock(PR: #78775)
- Invoke
dotnet run-api
to obtain virtual project(PR: #78648) - Always log language server PID(PR: #78722)
- LSP: Fix batch builds for file-based programs and fix
"dotnet.projects.binaryLogPath"
throwing an exception(PR: #78644) - Support local functions in outline/breadcrumbs(PR: #78605)
- Fix angle brackets in generics in hover(PR: #78621)
2.81.x
- Bump Razor to 10.0.0-preview.25279.1 (PR: #8336)
- Don't produce RazorSourceDocuments for imports with incorrect file paths (#11897) (PR: #11897)
- Fixes one of the cases in directive attribute completion (#11896) (PR: #11896)
- Reduce costs in ComponentDirectiveVisitor.VisitRazorDirective (#11881) (PR: #11881)
- Compiler: Rationalize nodes, tokens, visitors, walkers, and rewriters, oh my! (#11853) (PR: #11853)
- Reduce allocations in TagHelperParseTreeRewriter.Rewrite (#11882) (PR: #11882)
- Propagate DynamicallyAccessedMembersAttribute to type inference method (#11856) (PR: #11856)
- Tooling: Don't throw exceptions when generating code for file rooted outside of project (#11864) (PR: #11864)
- Ensure @model types have a mapping in razor pages (#11844) (PR: #11844)
- Fix aligned buffer write (#11861) (PR: #11861)
- Update Debugger Packages to v2.81.0(PR: #8329)
- Localization changes (PR: #8327)
2.84.18
2.84.x
- Bump Roslyn to 5.0.0-1.25319.11 (PR: #8380)
- Preserve trailing directives when converting a Program.Main program to top level statements. (#79062) (PR: #79062)
- Do not offer add parameter on a type that cannot become a parameter (#79060) (PR: #79060)
- Razor assembly redirector (#78852) (PR: #78852)
- Add refactoring to sort imports (#79041) (PR: #79041)
- Fix a couple of issues with committing and diagnostic reporting (#79018) (PR: #79018)
- Update 'use null propagation' to understand more patterns (#78992) (PR: #78992)
- Pull in shared source for core roslyn capacilities into roslyn-analyzer packages. (#79024) (PR: #79024)
- Inline Method Refactoring - Fix bug for field with multiple declarations (#78988) (PR: #78988)
- Fix locating startup objects (#78972) (PR: #78972)
- Do not make unnecessarily simplification changes in sync-namespace. (#78969) (PR: #78969)
- Add a layer of constraint filtering for 'add import for extension methods' completion. (#78923) (PR: #78923)
- Bump Razor to 10.0.0-preview.25322.1 (PR: #8380)
- Make completion capabilities checks more robust (#11964) (PR: #11964)
- Fix overly aggressive delegated completion (#11965) (PR: #11965)
- Simply the code that generates edits to insert using directives (#11948) (PR: #11948)
- Fix override completion in VS Code for Cohosting (#11938) (PR: #11938)
- Include namespace in extracted component (#11915) (PR: #11915)
- Fix a few bugs around formatting explicit expressions (#11906) (PR: #11906)
- Handle when Roslyn removes newlines while formatting (#11911) (PR: #11911)
- Fix issue where the open brace node includes leading newline (#11908) (PR: #11908)
v2.83.5
2.83.x
- Bump Roslyn to 5.0.0-1.25312.6 (PR: #8364)
- Fix deadlock if an MSBuild task is writing to stdout(PR: #78927)
- Add more ETW events to trace assembly loading(PR: #78840)
- Switch behavior of "Go to definition" and "Go to implementation" for partial members(PR: #78857)
- Fix await completion in an async iterator(PR: #78823)
- Add a fallback path when launching the BuildHost(PR: #78826)
- Fix LSP references for using alias(PR: #78819)
v2.82.12
2.82.x
- Bump Roslyn to 5.0.0-1.25302.10 (PR: #8347)
- Directly create virtual project when dotnet run-api is missing for now(PR: #78788)
- Ensure sln load uses project absolute paths(PR: #78772)
- Switch return to continue(PR: #78781)
- Fix cast before we unsubscribe(PR: #78776)
- Don't refresh dynamic files under a lock(PR: #78775)
- Invoke
dotnet run-api
to obtain virtual project(PR: #78648) - Always log language server PID(PR: #78722)
- LSP: Fix batch builds for file-based programs and fix
"dotnet.projects.binaryLogPath"
throwing an exception(PR: #78644) - Support local functions in outline/breadcrumbs(PR: #78605)
- Fix angle brackets in generics in hover(PR: #78621)
v2.81.17
2.81.x
- Bump Razor to 10.0.0-preview.25279.1 (PR: #8336)
- Don't produce RazorSourceDocuments for imports with incorrect file paths (#11897) (PR: #11897)
- Fixes one of the cases in directive attribute completion (#11896) (PR: #11896)
- Reduce costs in ComponentDirectiveVisitor.VisitRazorDirective (#11881) (PR: #11881)
- Compiler: Rationalize nodes, tokens, visitors, walkers, and rewriters, oh my! (#11853) (PR: #11853)
- Reduce allocations in TagHelperParseTreeRewriter.Rewrite (#11882) (PR: #11882)
- Propagate DynamicallyAccessedMembersAttribute to type inference method (#11856) (PR: #11856)
- Tooling: Don't throw exceptions when generating code for file rooted outside of project (#11864) (PR: #11864)
- Ensure @model types have a mapping in razor pages (#11844) (PR: #11844)
- Fix aligned buffer write (#11861) (PR: #11861)
- Update Debugger Packages to v2.81.0(PR: #8329)
- Localization changes (PR: #8327)
v2.80.16
Changes in 2.80.16 (since 2.76.27)
2.80.x
- Fix license link in marketplace (PR: #8318)
- Localization (PR: #8309)
- Re-enabling and stabilizing completion tests (PR: #8306)
2.79.x
- Bump Roslyn to 5.0.0-1.25266.2 (PR: #8298)
2.78.x
- Bump Roslyn to 5.0.0-1.25263.3 (PR: #8287)
- File based programs IDE support(PR: #78488)
- Gracefully handle span mapping failing(PR: #78520)
- Cancel running requests when the connection terminates(PR: #78525)
- Cache extension method import info per project ID(PR: #78542)
- Fix crash in 'introduce variable' on top-level statements(PR: #78507)
- Fix information logs getting logged as debug in VSCode(PR: #78522)
- Shorten log category name(PR: #78526)
- Reduce allocations during SourceGeneration(PR: #78403)
- Fix razor redirect(PR: #78448)
- Bump Razor to 10.0.0-preview.25262.1 (PR: #8283)
2.77.x
- Bump xamlTools to 17.14.36106.43 (PR: #8260)
- Bump Razor to 10.0.0-preview.25256.6 (PR: #8259)
- Improve document handling in VS Code and cohosting (#11825) (PR: #11825)
- Use new select and order method (#11826) (PR: #11826)
- Make it so validation happens after filtering and normalization (#11811) (PR: #11811)
- Port remaining cohosting endpoints to VS Code (#11815) (PR: #11815)
- Fix cohost semantic tokens in VS Code (#11816) (PR: #11816)
- Fix some hardcoded values in cohosting (#11817) (PR: #11817)
- Add new shared SelectXXXAsArray helpers (#11796) (PR: #11796)