-
Notifications
You must be signed in to change notification settings - Fork 77
WIP: Rename suggestion list for rename dialog #579
Conversation
Do you have ReSharper? You could try to mimick & guess their name suggestion behavior. |
Yep that's the plan. But we'll starting small and improve |
How it's supposed to work? I thought there will be a drop-down list in Rename dialog. |
Yes there will be a suggestion list in rename dialog. I already asked Reed
|
I squashed all the commits since I accidentilly included some wrong dlls. |
this is now an observable, but it needs careful review. |
This PR is getting better and better. @forki What's wrong with your Github account? I don't see you in the list of contributors in this project anymore. |
@forki Just sent you a PR on your branch which does some cleanup of the UI - should make it easier to play around with, especially since up and down arrow and mouse let you use the suggestions now. |
@dungpa I changed my github mail address and had to add the original address as secondary mail. seems to work again |
@ReedCopsey I think I did the stuff we talked about. |
@forki: I have a few questions:
|
@dungpa I can chime in here - since I've discussed this with @forki ... Part of the problem is how the thesaurus works - it doesn't really give you a way to prioritize - you just get a list of suggestions with no idea of whether they're good or bad. The current plan is to shrink the window so we only show the "manual" and spell check suggestions by default. A "Suggest more" button/option will pull up the thesaurus based suggestions (which is what makes the list huge). I'm thinking that I'll have the window increase in size if you click "Suggest more". We were going to switch to this since the thesaurus results are typically not that useful - but the others are far more relevant nearly 100% of the time. The last set of commits is leading the way to me being able to change the UI in that direction. |
Good idea. Spelling correction is often what you want. Thesaurus-based suggestion is nice to have. I would love to see filtering of thesaurus-based suggestions as well; the number of suggestions is simply too big. |
Maybe make it intellisense-like and show a small number of suggestions initially. Than, if user scroll down the list to the end, we add some more items, and so on. It'd be like "endless page" that's used by google to show search images result. |
The thesaurus will be hidden behind a button. It produces some good terms Another problem are camelHumpsIdentifiers. At the moment we try to suggest
|
I'm not sure I agree about only doing on "part" of the camelHump - you'd never know which part should be suggested... I think we should start with just hiding the thesaurus, and see how nice we can get it at that point. If it's still seems "bad", we can look into other options. We could maybe do the top 3 for each camelHumpSection, then have a "Show even more..." option to get the rest or something like that...? |
It's not ready yet. The UI part is still missing. |
@ReedCopsey how can we proceed? |
- spell checking - thesaurus
I rebased it |
We should finally do something with it :) |
The PR has been here for too long. I don't think we have resources to revive it. Closing. |
This is WIP but I want to collect feedback from the beginning