IDEA has an inspection to automatically transform task XXX()
to tasks.register()
.
But if this syntax is used, you can no longer run commands from the .gradle
source file: there's no gutter icon and nor will the "Run/Run context configuration" keyboard shortcut work.
Note that I can still run tasks from the Gradle tool view - just not from the editor.
Is there any config item or plugin or something I need to tweak to make this work again?
Version: IntelliJ IDEA 2023.2.2 (Ultimate Edition)
There is an existing YouTrack Issue for this:
which you can upvote and comment on to raise its' priority for the developers.