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

Support the plugin in Intellij IDEA #87

Open
nbirillo opened this issue Jan 14, 2022 · 0 comments
Open

Support the plugin in Intellij IDEA #87

nbirillo opened this issue Jan 14, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nbirillo
Copy link
Collaborator

Create an Intellij IDEA plugin to make it easier to use the Reflekt plugin: add an inspection for searching the Reflekt and SmartReflekt calls and describe what of the part will be replaced at the compile time.

The main reason for it: it can be difficult for users to understand clearly what of the part from the query will be run at the run-time in the composite queries, e.g.:

SmartReflekt.functions<() -> Boolean>().filter { it.isTopLevel && it.name == "fooBoolean" }.resolve().onEach { it() }
        .map { it.toString() }.toSet()

This example will be replaced into something like this:

listOf(list_of_functions).onEach { it() }.map { it.toString() }.toSet()

And the last part will be executed at the run-time

@nbirillo nbirillo added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant