browse-word-at-caret icon indicating copy to clipboard operation
browse-word-at-caret copied to clipboard

Highlight Word at Caret not working

Open RoEngel opened this issue 3 years ago • 3 comments

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.

RoEngel avatar Dec 30 '21 16:12 RoEngel

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.

minman avatar Dec 30 '21 16:12 minman

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.

RoEngel avatar Dec 31 '21 00:12 RoEngel

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 avatar Dec 31 '21 17:12 minman