Releases: dotnet/vscode-csharp
Releases Β· dotnet/vscode-csharp
v2.94.41-prerelease
2.94.x
- Add completion for razor components in settings (PR: #8680)
- Add copilot instructions (PR: #8676)
- Fix up changelog (PR: #8677)
- Bump Razor to 10.0.0-preview.25503.1 (PR: #8679)
- Ensure RazorVSInternalCompletionParams is used for serialization of completion requests (PR: #12271)
- Fix update changelog script (PR: #8671)
- Update RoslynCopilot url to 18.0.797-alpha (PR: #8652)
- Fix GH action (PR: #8662)
- Adds a new GH action to update the CHANGELOG (PR: #8658)
- Do not run legacy Razor tests in CI (PR: #8656)
- Update third party notices for currently shipped version (PR: #8653)
- Bump xamlTools to 18.0.11023.10 (PR: #8669)
- Bump Roslyn to 5.1.0-1.25475.3 (PR: #8665)
- Fix index out of bounds producing diagnostic in error recovery scenario (PR: #80391)
- Fix pp directives when converting block bodies to expression bodies (PR: #80401)
- Fix renaming of type parameters used in object creation expressions (PR: #80403)
- Add timing data for Proposal Adjuster fixers (PR: #80406)
- Update ManagedHotReloadLanguageServiceBridge.cs to avoid raising not implement exception when projects is empty (PR: #80408)
- Install roslyn-tools (PR: #8663)
- Bump tar-fs from 2.1.3 to 2.1.4 (PR: #8661)
- Add copilot setup steps (PR: #8655)
- Update pipeline and packaging excludes (PR: #8654)
- Add new telemetry fields (PR: #8673)
- Bump Roslyn to 5.1.0-1.25506.3 (PR: #8673)
- Improve error recovery when object initializer uses ':' instead of '=' (PR: #80553)
- Support
field
keyword in EE. (PR: #80515) - Log a debug message for ContentModified exceptions. (PR: #80549)
- Update proposal adjuster to acquire feature flags from VS (PR: #80541)
- Add telemetry indicating when file-based programs are used (PR: #80538)
- Fix thread safety issue in BuildServerConnection.TryCreateServer environment variable handling (PR: #80498)
- Extensions: refine tracking of used imports (PR: #80485)
- Disambiguate extension methods in "ambiguous call" error message when they have the same name but are from different assemblies (PR: #80453)
- Block file-local EmbeddedAttribute definitions. (PR: #80501)
- Extension block members do not have
this
parameter (PR: #80457) - Handle some scenarios where attributes applied in local functions or lambdas within extension blocks were missing in metadata (PR: #80464)
- Unset other DOTNET_ROOT env vars when launching apphosts (PR: #80492)
- Add friendlier error message on an explicit implementation when the return type is wrong (PR: #8037
- Extensions: add Name property on embedded ExtensionMarkerAttribute (PR: #80456)
- Avoid implicit null checks while narrowing type for
or
patterns (PR: #80348)
v2.93.22
2.93.x
- Bump Roslyn to 5.0.0-2.25472.11 (PR: #8646)
- Fix handling edits in types nested in reloadable types(PR: #80360)
- Remove CS1998 warning entirely and remove dependent C# code fix providers(PR: #80144)
- Only restore based on assets file changes if the actual content changed(PR: #80341)
- Fix issue where build artifacts were added in source tree (PR: #80324)
- Allow clients to send range ending at the line after the last line in the document(PR: #80310)
- Don't show Razor diagnostics in Full Solution Analysis(PR: #80296)
- Log project context in which document was found(PR: #80202)
- Bump Razor to 10.0.0-preview.25472.6 (PR: #8639)
v2.93.21-prerelease
2.93.x
- Bump Roslyn to 5.0.0-2.25472.11 (PR: #8646)
- Fix handling edits in types nested in reloadable types(PR: #80360)
- Remove CS1998 warning entirely and remove dependent C# code fix providers(PR: #80144)
- Only restore based on assets file changes if the actual content changed(PR: #80341)
- Fix issue where build artifacts were added in source tree (PR: #80324)
- Allow clients to send range ending at the line after the last line in the document(PR: #80310)
- Don't show Razor diagnostics in Full Solution Analysis(PR: #80296)
- Log project context in which document was found(PR: #80202)
- Bump Razor to 10.0.0-preview.25472.6 (PR: #8639)
v2.92.18-prerelease
v2.91.30-prerelease
2.91.x
- Bump Roslyn to 5.0.0-2.25458.10 (PR: #8588)
- Move brace adjustment on enter to on auto insert in LSP(PR: #80075)
- Avoid throwing when obsolete overload of GetUpdatesAsync is invoked with empty array(PR: #80161)
- Bump patch version of MSBuild packages(PR: #80156)
- Include category in Hot Reload log messages(PR: #80160)
- Store client's version for open docs (PR: #80064)
- Pass global properties and the binary log path via RPC to BuildHost (PR: #80094)
- Don't switch runtime / design time solutions if cohosting is on (PR: #80065)
- Allow Razor to get task list items for a document (PR: #80102)
- Update debugger packages, move to PortableInterop IMetadataImport (PR: #80063)
- Fix issue reporting diagnostic in additional file when diagnostic produced by a source generator (PR: #80071)
- Always run the razor generator even in balanced mode (PR: #79510)
- Bump Razor to 10.0.0-preview.25454.5 (PR: #8590)
- Do not create a proxy agent if proxy url is empty string. (PR: #8580)
- Use aka.ms link for ARM32 Linux help page (PR: #8574)
- Update Debugger to 2.90.0 (PR: #8572)
v2.90.60
2.90.x
- Register the CSharp context provider with Copilot Chat as well. (PR: #8565)
- Improve the limited activation experience (PR: #8564)
- Do not create a proxy agent if proxy url is empty string. (PR: #8564)
- Bump Roslyn to 5.0.0-2.25428.10 (PR: #8576)
- Fix issue reporting workspace diagnostics in Razor files (PR: #80071)
- Cache project analyzers (PR: #80050)
- Cache diagnostic analyzer computation (PR: #80045)
- Generate
init
accessor for required properties insidereadonly struct
s (PR: #80004) - Allow Razor cohosting to work with non-Razor SDK projects (PR: #79953)
- Update 'use expr body' to be a purely syntactic analyzer (PR: #79979)
- Implement "Simplify property accessor" feature (PR: #79754)
- Allow Razor to hook up the source generator in misc files (PR: #79891)
- Bump Razor to 10.0.0-preview.25424.9 (PR: #8559)
- Allow Razor cohosting to work with non-Razor SDK projects (PR: #12118)
- Allow the source generator to produce results for miscellaneous files (PR: #12106)
- Fix range formatting in the presence of K&R braces (PR: #12121)
- Add codelens endpoints and services for cohosting (PR: #12078)
- Support Go To Def for Mvc tag helpers in cohosting (PR: #12102)
- Add missing
global::
prefix in a@ref
scenario (PR: #12107)
v2.90.51-prerelease
2.90.x
- Bump Roslyn to 5.0.0-2.25424.1 (PR: #8559)
- Generate
init
accessor for required properties insidereadonly struct
s (PR: #80004) - Allow Razor cohosting to work with non-Razor SDK projects (PR: #79953)
- Update 'use expr body' to be a purely syntactic analyzer (PR: #79979)
- Implement "Simplify property accessor" feature (PR: #79754)
- Allow Razor to hook up the source generator in misc files (PR: #79891)
- Generate
- Bump Razor to 10.0.0-preview.25424.9 (PR: #8559)
- Allow Razor cohosting to work with non-Razor SDK projects (PR: #12118)
- Allow the source generator to produce results for miscellaneous files (PR: #12106)
- Fix range formatting in the presence of K&R braces (PR: #12121)
- Add codelens endpoints and services for cohosting (PR: #12078)
- Support Go To Def for Mvc tag helpers in cohosting (PR: #12102)
- Add missing
global::
prefix in a@ref
scenario (PR: #12107)
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)