Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: allow to customize the order of suggestions for "translate and replace" #5760

Open
AndroidDeveloperLB opened this issue May 28, 2024 · 3 comments
Labels
feature request ✨ Feature Request

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented May 28, 2024

Feature/Enhancement Description

I've noticed that many times, when I choose this feature, it offers multiple suggestions, but the most normal one that looks like the original is somewhere in the middle of the list.

Proposed Solution

I'd prefer it to be the first one (top of the list).
Please offer to customize the order of what's offered.
This is especially important when translating a comment.

Example:

//Если изменился размер картинки

I'd expect the first ones to be offered would be:

//If the image size has changed

Or

//if the image size has changed

But not:

ifTheImageSizeHasChanged

Additional Information

Here's a video of what I mean:

studio64_2024-05-28_23-21-40.zip

Perhaps it would be better if the plugin tried to stay on the same style, first. Meaning if there are spaces, leave it with spaces.

@AndroidDeveloperLB AndroidDeveloperLB added the feature request ✨ Feature Request label May 28, 2024
@AndroidDeveloperLB
Copy link
Author

AndroidDeveloperLB commented May 28, 2024

Oh I think I know what's going on here.

I had CTRL+SHIFT+X set already to a different plugin of changing text style of selected text :
https://plugins.jetbrains.com/plugin/2162-string-manipulation

And this plugin here took over and use this combination too.
So the IDE tries to use both somehow...

Am I correct?

EDIT: after changing the key combination, it still had this issue. So it's not related to the other plugin, even though it is indeed weird...
So I think this is still something I'd like to change here.

@AndroidDeveloperLB
Copy link
Author

It seems the selection also often ruins what's below it.

Watch:
studio64_2024-05-29_01-02-10.zip

So please improve and fix this feature.

@YiiGuxing
Copy link
Owner

Thank you for your useful suggestions. I will gradually optimize and improve this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request ✨ Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants