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

fix: stop using project components and constructor injection #402

Merged
merged 1 commit into from
May 7, 2023

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented May 5, 2023

InfinitestHighlightingPassFactory is declared as a project component and these should be migrated to services. The Jetbrains marketplace flagged that it uses constructor injection and refused the new version of the plugin.
Since we need it to register from somewhere, create it in the InfinitestToolWindowFactory

Fixes #401

InfinitestHighlightingPassFactory is declared as a project component and
these should be migrated to services. The Jetbrains marketplace flagged
that is uses constructor injection and refused the new version of the
plugin.
Since we need it to register from somewhere create it in the
InfinitestToolWindowFactory
@gtoison gtoison added the comp:infinitest-intellij Issues related to Infintest for IntelliJ (and other Jetbrains IDEs) label May 5, 2023
@gtoison
Copy link
Contributor Author

gtoison commented May 6, 2023

Hello @szpak , this seems to work fine but it would be great if you could try out that change!

@szpak
Copy link
Contributor

szpak commented May 6, 2023

I gave it a quick try and it seems to work in my reference project.

@gtoison
Copy link
Contributor Author

gtoison commented May 7, 2023

Thanks a lot for testing, I didn't want to break things
With this change the plugin should hopefully pass the checks of the Jetbrains marketplace

@gtoison gtoison closed this May 7, 2023
@gtoison gtoison reopened this May 7, 2023
@gtoison gtoison merged commit cdd572c into master May 7, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:infinitest-intellij Issues related to Infintest for IntelliJ (and other Jetbrains IDEs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InfinitestHighlightingPassFactory uses constructor injection
2 participants