minman / browse-word-at-caret Goto Github PK
View Code? Open in Web Editor NEWNavigation plugin for IntelliJ
Home Page: http://plugins.jetbrains.com/plugin/?id=201
License: Other
Navigation plugin for IntelliJ
Home Page: http://plugins.jetbrains.com/plugin/?id=201
License: Other
Current version of plugin doesn't detect non-latin words (russian in my case)
Attached a patch that fixes it
Original issue reported on code.google.com by [email protected]
on 12 Jan 2015 at 12:15
Attachments:
finalize issue 9
official feature
configurable via Settings > Editor > Appearance
Original issue reported on code.google.com by [email protected]
on 23 Mar 2013 at 4:34
Would it be possible to highlight results on all opened tabs? For example, I may have two opened tabs of same source code file and I want to see it on both tabs.
Hi,
I got an issue reported in IntelliJ ; sorry I'm not sure what went wrong here
or how to reproduce it. Plus the following stacktrace also point at some
IntelliJ code.
Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=browsewordatcaret.BWA
CEditorComponent$1@57365198,notifier=null,catchExceptions=false,when=13534957890
76] on apple.awt.CToolkit@45dc1f76: (9972,10003)
java.lang.AssertionError: (9972,10003)
at com.intellij.openapi.editor.impl.RedBlackTree.deleteNode(RedBlackTree.java:146)
at com.intellij.openapi.editor.impl.IntervalTreeImpl.deleteNode(IntervalTreeImpl.java:939)
at com.intellij.openapi.editor.impl.IntervalTreeImpl.removeNode(IntervalTreeImpl.java:928)
at com.intellij.openapi.editor.impl.IntervalTreeImpl$IntervalNode.a(IntervalTreeImpl.java:134)
at com.intellij.openapi.editor.impl.IntervalTreeImpl$IntervalNode.access$1400(IntervalTreeImpl.java:51)
at com.intellij.openapi.editor.impl.IntervalTreeImpl.removeInterval(IntervalTreeImpl.java:915)
at com.intellij.openapi.editor.impl.MarkupModelImpl.removeHighlighter(MarkupModelImpl.java:180)
at browsewordatcaret.BWACEditorComponent$1.run(BWACEditorComponent.java:65)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I'm using IntelliJ 12 EAP build 122.746 with your plugin BrowseWordAtCaret at
version 2.3.3.
Under JDK 1.6_037 on OSX 10.8
Cheers
Original issue reported on code.google.com by [email protected]
on 21 Nov 2012 at 11:11
since 2.3.1 (issue 2)
Original issue reported on code.google.com by [email protected]
on 4 Jun 2012 at 8:27
Hello.
When I deselected the word, the highlighted color remained for half a second and then was removed.
It confuses my eyes.
I think it should be removed immediately Like Notepad++
Please fix this ๐
Regards
Switch to jetbrains build in color schemes implementation
Original issue reported on code.google.com by [email protected]
on 10 Mar 2014 at 7:56
2.3.6
highlight something in debug output window
use clear button -> exception
Original issue reported on code.google.com by [email protected]
on 4 Apr 2013 at 12:04
1. Select some text
2. Click on the highlight next to the ScrollBar
3. -> Cursor gets set before the selected text -> selection is lost -> all the
highlights of other occurences of the text are lost, too.
Original issue reported on code.google.com by [email protected]
on 17 Oct 2012 at 9:23
What steps will reproduce the problem?
1. Download newer EAP (i used
http://blog.jetbrains.com/phpstorm/2014/03/phpstorm-8-early-access-program-start
ed/)
2. Use Alt+Shift and left mouse click to place another cursor
What is the expected output? What do you see instead?
Expected: Everything is fine and dandy
Actual: A notice pops up and tells me BrowseWordAtCaret crashed
What version of the product are you using? On what operating system?
8.0.0 EAP, Linux
Please provide any additional information below.
browsewordatcaret.BWACEditorComponent.caretAdded(Lcom/intellij/openapi/editor/ev
ent/CaretEvent;)V:
browsewordatcaret.BWACEditorComponent.caretAdded(Lcom/intellij/openapi/editor/ev
ent/CaretEvent;)V
java.lang.AbstractMethodError:
browsewordatcaret.BWACEditorComponent.caretAdded(Lcom/intellij/openapi/editor/ev
ent/CaretEvent;)V
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:90)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:67)
at com.sun.proxy.$Proxy28.caretAdded(Unknown Source)
at com.intellij.openapi.editor.impl.CaretModelImpl.fireCaretAdded(CaretModelImpl.java:489)
at com.intellij.openapi.editor.impl.CaretModelImpl.addCaret(CaretModelImpl.java:300)
at com.intellij.openapi.editor.impl.CaretModelImpl.addCaret(CaretModelImpl.java:280)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.f(EditorImpl.java:5671)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.access$10600(EditorImpl.java:5448)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter$1.run(EditorImpl.java:5514)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:124)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.a(EditorImpl.java:5519)
at com.intellij.openapi.editor.impl.EditorImpl$MyMouseAdapter.mousePressed(EditorImpl.java:5454)
at java.awt.Component.processMouseEvent(Component.java:6502)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Original issue reported on code.google.com by [email protected]
on 7 Mar 2014 at 8:28
feature to auto highlight word under caret
Original issue reported on code.google.com by [email protected]
on 29 Jan 2013 at 6:10
Caret and scroll jumps, but focus is in the old position - meaning if you you try use keyboard keys to move caret from newly jumped position then it jumps back and starts from initial location, not where current caret is.
Plugin version: 3.0.5
Pycharm 2021.2.2. Build #PY-212.5284.44
PS. Thanks for amazing plugin, hope this is easy fix.
What steps will reproduce the problem?
1. You are at the last occurrence of a word in a file.
2. You press the "browse to next" shortcut
What is the expected output? What do you see instead?
I expect to wrap around the end of the file and go to the first occurrence. (If
this is confusing maybe you could set it so that you have to press the "browse
to next" shortcut twice in this case).
Instead nothing happens.
What version of the product are you using? On what operating system?
IntelliJ 13.1.2 on MacOSX.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Jul 2014 at 2:43
I have a fresh install of WebStorm, and just installed the BrowseWordAtCaret plugin - when pressing Ctrl+Alt+Up/Down, nothing happens...
I even removed the "next / Previous Occurance" controls just in case there was a conflict.
Does this plugin no longer work? :(
WebStorm 2017.2.4
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:
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:
Thanks for your time and effort.
I just started using the plugin today, and it works great! There is just one thing that doesn't work as it would be expected. When I select only half a word, and hit Ctrl+Alt+arrow, I would expect it to find the next instance of that word fraction, not the whole word. This is especially true when I am searching for the next instance of a word that is in a camel-case variable, etc.
It does not highlight any results on right-side panel (where we see yellow warnings stripes, for example). And it does not show highlight results on CodeGlance plugin panel
The plugin defaults to searching single words, I'd love the ability to search
for more, eg I select a class in HTML:
<div class="some-class"></div>
and select `some-class` but upon pressing alt+ctrl+up it only selects either
`some` or `class`.
Would it be possible to for example call the default select word at caret
before searching, so the selection would expand to closest whole expression.
Basically I'd love to use this as the default `highlight selected text`
notepad++ functionality plus the ability to traverse through occurrences, or
should I use something else entirely?
Original issue reported on code.google.com by Raveren
on 17 May 2012 at 12:51
See attached picture.
Original issue reported on code.google.com by Raveren
on 8 Aug 2012 at 7:55
Attachments:
test
Original issue reported on code.google.com by [email protected]
on 21 Nov 2012 at 3:42
How about adding support for browsing single characters?
Especially the ability to navigate among operators and quote characters like:
', ", (, ), [, ], {, } would be very helpful.
Additional: when navigating among braces and compounds like (, ), {, } it would
be helpful to be able to jump not only to occurrences of that same character,
but also to the corresponding counterpart character.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2014 at 8:36
IntelliJ Plugin Verifier
4 deprecated API usages
BrowseWordAtCaret 3.0.4 uses deprecated API, which may be removed in future releases leading to binary and source code incompatibilitiesDeprecated methods usages (3)
- BaseComponent.disposeComponent() (1)
- BaseComponent.initComponent() (1)
- EditorActionHandler.execute(Editor, DataContext) (1)
Deprecated interface usage (1)
- ApplicationComponent (1)
eg.
wyh wyh-a
it can't distinguish.
although I know it can recognize between wyh and wyha, but I also wish u can add a clear feature, case sensitive and whole word, thanks~
When I browse word at caret, my computer beeps. is there a way to disable the
beeping?
Original issue reported on code.google.com by [email protected]
on 8 Apr 2014 at 12:14
If I have several occurrences of the same property in the different methods of the class - this plugin highlights only occurrences in the current method.
Moreover - if I have occurrences of the same property in the same method but in different blocks - this plugin highlights only occurrences in the same block.
This looks a great plugin to highlight word at caret, could you also add adding a carat at the matched word, that would be really amazing to have.. just like emacs multi cursor package.
Thank you for this awesome plugin.
I'm using IDEA 2019.3
I'm using BrowseWordAtCaret 3.0.4 in Rider 2019.3, so that I can get matching selection behavior that I was used to in Visual Studio (with the Productivity Power Tools extension).
When the selection begins or ends with non-alphanumeric characters, the matches (elsewhere in code) disappear. This prevents me from being able to select entire lines (from the left most column) or to simply end a selection with an operator, semicolon, or other punctuation.
It would be great if the plugin was updated to allow non-alphanumeric characters (including whitespace) to begin and end a selection.
Last year, I started the Rider Forum: Highlighting matching selected text thread on the Rider Support forum about the text selection behavior, and I just recently added a comment with an Animated GIF showing the current BrowseWordAtCaret behavior. The original post includes a screenshot of the behavior I'm looking for, which is available in Visual Studio (with the free Productivity Power Tools extension from Microsoft DevLabs).
As an added bonus, it would be ideal if the whitespace at the beginning and end of each line (or maybe all whitespace) was ignored or fudged so that selecting the entire first line with a lot of starting whitespace would also select the lines with different beginning and trailing whitespace ... and the line with more spaces between the =
and 4
... and lines that include \t
tabs vs spaces.
var x = 4;
var x = 4;
var x = 4;
Thanks!
I would love this to work across multiple files.
I love this plugin and its new availability on phpStorm, but I'm used to ctrl+c
copying entire line, not the word at caret, I'd love to have the old
functionality back.
Original issue reported on code.google.com by Raveren
on 17 May 2012 at 12:46
What steps will reproduce the problem?
1. Install latest version of plugin 2.3.5 for IJ Ultimate 11.1
2. Navigate to a word in the file using arrow keys, a field for example
3. Attempt to browse to the next word using ctrl+alt+up / down
What is the expected output? What do you see instead?
Expected: The field / word at my caret is highlighted and I'm taken to the next
occurrence of the field / word.
Actual: Nothing happens
What version of the product are you using? On what operating system?
2.3.5, Windows 7 Pro, IJ 11.1
Please provide any additional information below.
Attempted to re-install the plugin and remove conflicting keymap bindings,
neither helped.
Selecting the entire word at the caret did resolve the issue. Stated another
way, if I were to select the entire field name and THEN issue the ctrl+alt+UP /
DOWN commands, the plugin worked as expected. The previous version was working
fine, so I'm assuming it's a minor regression.
Also wanted to say thanks for the plugin, as soon as it broke it was
immediately missed.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2013 at 11:15
no idea how to reproduced it...
Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.Timer$DoP
ostEvent@1c05e77,notifier=null,catchExceptions=false,when=1359715690387] on
sun.awt.windows.WToolkit@1586cbd: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at browsewordatcaret.BWACEditorComponent$4.actionPerformed(BWACEditorComponent.java:114)
at javax.swing.Timer.fireActionPerformed(Timer.java:291)
at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Original issue reported on code.google.com by [email protected]
on 1 Feb 2013 at 11:39
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 24 Feb 2013 at 6:55
Since Leda project (IntelliJ IDEA 12) when loading a project, there is an
exception in the WordAtCaret plugins.
Leda: http://confluence.jetbrains.net/display/IDEADEV/IDEA+12+EAP
Original issue reported on code.google.com by [email protected]
on 2 Aug 2012 at 6:32
Attachments:
Option for wrap around. introduced with issue 19
Original issue reported on code.google.com by [email protected]
on 28 Aug 2014 at 9:02
I would like to know if there is a way to do always on. Currently I have to trigger it for each file I open and if I close I file I have to reenable it each time I open that file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.