apache / apache/grails-intellij-plugin

Template integration with scaffolding for controller methods

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
enhancement imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

It would be good to have more granular access to "controller" methods (list, show,...).

Perhaps 'Generate' (i.e. Alt-ins) to add default operations to an already scaffolded controller. For example, if I have
class FooController {
def scaffold = Foo
}

It could be helpful to have a way to insert at least a template for any of the standard methods (list/show/edit/update/create/delete). This is probably a mix of Idea templates, and grails script output (integrating with gant?).

---

*Imported from [IDEA-48386](https://youtrack.jetbrains.com/issue/IDEA-48386) · Type: Feature · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing controller scaffolding flow and the Generate (Alt-ins) entry point, then compare how Idea templates and Grails script output are integrated. Done means an already scaffolded controller can request templates for list, show, edit, update, create, and delete methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.