k-pet-group / BlueJ-Greenfoot

BlueJ and Greenfoot
Other
94 stars 32 forks source link

BlueJ : find class functionality in the class diagram #2193

Closed neilccbrown closed 1 year ago

neilccbrown commented 2 years ago

In GitLab by @PwtKCL on Sep 22, 2022, 08:38

Discuss the need & feasibility - suggestion from a student in our support email (22/09/2022)

"But I would like to ask for a feature to find/ locate a class by class name. Actually, I am a student so I have about 100 java classes for practice. The class icons in the BlueJ workspace often get overlapped and the names are thus covered. I would be glad if you manage to include this feature in your next BlueJ version. "

neilccbrown commented 2 years ago

In GitLab by @PwtKCL on Sep 22, 2022, 14:31

Following group discussion: the implementation of some sort of search mechanism is OK. Possible ways to do it: 1) typing letters when the main BlueJ window has focus trigger the selection and put-in-view of the first class starting with the typed sequences of letter. Similar to file system explorer in Mac. Passed a time threshold the next hit is considered to be starting again from the first letter. 2) other more complex tool search similar to IntelliJ double shift search, to allow the search of a class not necessarily from the start of its name.

Option 1 was favoured at the time of meeting - we can confirm the choice when starting implementation of this functionality