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

Highlight Word at Caret not working #34

Closed
RoEngel opened this issue Dec 30, 2021 · 3 comments
Closed

Highlight Word at Caret not working #34

RoEngel opened this issue Dec 30, 2021 · 3 comments

Comments

@RoEngel
Copy link

RoEngel commented Dec 30, 2021

The word at the caret isn't highlighted/selected.

Expected behavior:
When moving the cart to the next word, the previous and current selected word should be selected and when typing, what's typed should be applied everywhere the word was present and selected.

Actual behavior:
When moving the cart to the next word, the caret just jumps to the next occurrence, and when typing the letters are just applied to where the caret is (normal behavior)

Attempted solutions:

  1. Selected/Checked --> View|Highlight Word at Caret. Didn't change the behavior.
  2. Selected all the checkboxes at --> Settings|Editor|General|Appearance. Didn't solve the issue.

PS:
I don't think it changes anything but I did assign new shortcuts to the plugin since the original ones conflicted with my current ones.

Plugin version: 3.0.5
Android Studio version:

image

Thanks for your time and effort.

@minman
Copy link
Owner

minman commented Dec 30, 2021

The plugin is intended for navigation only, not for inline editing of all occurrences. For that, the built-in rename (Shift F6) does the job very well.

@RoEngel
Copy link
Author

RoEngel commented Dec 31, 2021

Regardless of the editing option, it's supposed to highlight/select all occurrences, no?
If that's it's correct, then it's not doing that.
BTW, I've been using this extension for a long time (great extension) and I f I remember correctly, when selecting all occurrences of a text, it would add multiple carets and enable editing in multiple locations.
I think it was this extension that did that.

@minman
Copy link
Owner

minman commented Dec 31, 2021

Yes, it does highlight all occurrences. Can you please check your color config? .... because I can't reproduce.
image
btw: I've never had something like 'set multiple carets'. IntelliJ already do that, see Edit|Find|Select All Occurrences

@minman minman closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants