Add dotnet extension - #7098
Open
Gambl3r08 wants to merge 5 commits into
Open
Add dotnet extension#7098Gambl3r08 wants to merge 5 commits into
Gambl3r08 wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the .NET extension: https://github.com/Gambl3r08/zed-dotnet
What it provides
dotnetlocator that turnsdotnet runtasks into build-then-debug (assembly resolved viadotnet msbuild -getProperty:TargetPath), plus adebugger.scmfor inlinevalues.
--autoLoadProjects), 47 semantic token rules (XML doc comments, embeddedregex/JSON), runnables for tests/
Main, tasks, snippets..csproj/.fsproj/.vbproj/.props/.targets/.slnx/nuget.config, with outline and package-management tasks..razor/.cshtml(grammar embedsfull C#); routing to Roslyn co-hosting is wired for users who supply a
matched server pair.
Overlap with the existing
csharpextensionPer the guidelines I first contributed the debugging support upstream:
zed-extensions/csharp#95 (complete, CI-green, unreviewed so far; related to
the stalled zed-extensions/csharp#43 and issue zed-extensions/csharp#12).
This extension's remaining scope — Razor, unified MSBuild, debugging integrated
with runnables and tasks — does not fit as incremental PRs to a C#-only
extension. Both can coexist; if #95 lands upstream, this extension still
provides the rest.
Tree-sitter queries are validated by
cargo testagainst the pinned grammarrevisions; the Roslyn path and a full netcoredbg debug session have been
exercised against real projects.