Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for reacting to collected replacements #40

Merged
merged 5 commits into from
Sep 4, 2024

Conversation

lukebemish
Copy link
Contributor

@lukebemish lukebemish commented Aug 31, 2024

This API allows plugins to get at a list of collected replacements for each file. For an example use case, I am making a plugin that records line number shifts in JST-modified source files. The cli Replacement class was removed since it seemed to be an unused duplicate of the api Replacement class that just caused issues importing the latter into SourceFileProcessor

@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Sep 1, 2024
@sciwhiz12 sciwhiz12 requested review from shartte and Matyrobbrt and removed request for shartte September 1, 2024 17:10
@lukebemish lukebemish requested a review from shartte September 2, 2024 01:11
@shartte shartte merged commit adf2e86 into neoforged:main Sep 4, 2024
2 checks passed
@neoforged-releases
Copy link

🚀 This PR has been released as JavaSourceTransformer version 1.0.67.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants