selected
selected copied to clipboard
Feature Request: Highlight without marking the whole word.
Hey,
first I would like to thank you for your package. It is a very useful add-on for atom.
There is only one disadvantage: You have to mark the whole word. So you either do a double click, or if you are a mouse-hater, you do a ctrl+shift + →.
Anyway it would be nice if words also get highlighted if the cursor is inside a word, so you don't have to highlight them. Just like the highlighting of matching brackets in bracket matcher.
Best Philipp
Duplicate -> https://github.com/richrace/highlight-selected/issues/111 please delete this issue.
In the package settings does unticking Only Highlight Whole Words
solve this?
No, actually I have no idea what that option does.
Say I have a word: someReallUsefulMethod
with that option selected, to get the highlight you'd have to select the whole word.
With that option disabled you could select Use
and only that part would have the highlight box, and would look for any other occurrences of Use
elsewhere in your file.
That is not exactly what issue #111 and I suggest. Let's say we have the following code:
variable1 = []
variable2 = []
variable3 = []
for it in varia|ble2:
do something
The | marks the location of the text cursor, not the mouse cursor.
Now variable2
in line 2 should be highlighted.
This should happen live while working with the code.
The marking of the word is an unnecessary step, that takes both time to execute and get used to.
Kind of like in the following gif from the refactor package, without the editing part.
Duplicate: #96