apache / apache/grails-intellij-plugin

On a grails project, the controller views list is ordered by the length of the name of the gsp

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

Description

What steps will reproduce the issue?
1.Create a grails project (version doesn't matter)
2.Create a controller, create methods with different length names and generate the views
3.Click on the controller Views menu

What is the expected result?
It should list all the gsps in alphabetically order

What happens instead?
It lists all the gsps but order them by the length of the gsp name, is difficult to locate the gsp if there are many on the same controller (don't ask me to break down the controller)_⚠️ attachment `Screen Shot 2020-06-05 at 11.54.52.png` was not included in the export_

---

*1 attachment(s) referenced here (`Screen Shot 2020-06-05 at 11.54.52.png`) are not part of the CSV export.*
*Imported from [IDEA-242639](https://youtrack.jetbrains.com/issue/IDEA-242639) · Type: Bug · 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

Reproduce the ordering in an IntelliJ IDEA Grails project by creating a controller with methods whose names have different lengths and generating views. Start from the controller Views menu implementation and trace how its GSP entries are sorted. Done means the views are listed alphabetically rather than by GSP name length.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.