Skip to content

Split codehelper code fixes into separate assembly#135

Merged
ThadHouse merged 9 commits into
mainfrom
split-codefix-project
Jun 2, 2026
Merged

Split codehelper code fixes into separate assembly#135
ThadHouse merged 9 commits into
mainfrom
split-codefix-project

Conversation

@ThadHouse

Copy link
Copy Markdown
Member

Summary

Splits the codehelper compiler extensions so Roslyn 5 extended analyzer rules do not require suppressing RS1038.

  • keeps WPILib.CodeHelpers as the common analyzer/shared assembly with only Microsoft.CodeAnalysis.Common
  • adds C# and Visual Basic generator assemblies for compiler-specific references
  • moves the code fix provider into WPILib.CodeHelpers.CodeFixes
  • updates local analyzer project references and codehelper tests for the new assemblies

Validation

  • dotnet build WPILib.sln --no-restore -v:minimal
  • dotnet test codehelp/CodeHelpers.Test/CodeHelpers.Test.csproj --no-restore -v:minimal
  • dotnet test WPILib.sln --no-restore -v:minimal

Notes

This PR is based on dotnet10 because it depends on the Roslyn/package updates from that branch.

@ThadHouse ThadHouse force-pushed the split-codefix-project branch 2 times, most recently from 45b9087 to 4bc4053 Compare June 1, 2026 23:46
@ThadHouse ThadHouse force-pushed the split-codefix-project branch from 4bc4053 to 95eef96 Compare June 1, 2026 23:53
ThadHouse added 2 commits June 1, 2026 16:58
# Conflicts:
#	Directory.Packages.props
#	codehelp/CodeHelpers.Core/WPILib.CodeHelpers.Core.csproj
#	codehelp/CodeHelpers.Test/CodeHelpers.Test.csproj
#	src/Directory.Build.props
@ThadHouse ThadHouse marked this pull request as ready for review June 2, 2026 00:00
@ThadHouse ThadHouse changed the base branch from dotnet10 to main June 2, 2026 00:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 96ef7ee0f0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codehelp/CodeHelpers.VisualBasic/WPILib.CodeHelpers.VisualBasic.csproj Outdated
@ThadHouse

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ThadHouse ThadHouse merged commit 8b2e595 into main Jun 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant