Sometimes appears this arrow so I cannot see if breakpoint is installed. Does it possible with some shortcut remove this arrow?
Thanks.
I think the yellow arrow is the search results icon. It know it sounds silly :/. You should just be able to close the search pane and the arrow will go. Does that fix it?
The arrow will go away if you close the search result, not the search view. If you press the X or XX on the search view, it will hide/remove the yellow arrow.
On Eclipse Help --> Help Contents --> Search icons.
Select the Editor area marker link, and you will see that the yellow icon is the "Search Result" icon. Whenever you do a search and the result is found, the icon shows which line it found it in.
Window | Show View | Search Click Xx icon in the Search view. Clearing the search will remove the arrows.
We have another way to check if any break point is installed at a line without masking arrow icon. It's just hovering mouse over arrow icon, Eclipse will display a popup to claim what are set (include break point) at this line.
Another way to clear the arrow is to:
Locate the Show Previous Searches icon on the Search pane's toolbar (looks like a flashlight-with-document icon that has an attached Dropdown arrow)
Click on that icon's Dropdown arrow
Select the Clear History menu item
This will clear your search history for the current session and remove all the yellow arrows in the editor without having to close the search tab completely.
The easiest way to clear the arrow (without turning them off entirely) is to simply perform another search.
I tried other approaches (closing the search pane, closing the file) and nothing worked.
Related
I have an icon in my application and I made it clickable (When I click the icon, some action is called), but the problem is, you have to be really accurate. On the other hand the menu icon (the 3 dots) has a bigger "range" and when you click little bit outside, it is still working. Is there any way to achieve the same thing at the app icon? Or is there any better way to make a clickable icon in the upper left corner than using app icon?
Add padding to the icon, the more padding you add to it, the more clickable area you ll get!
Try to put a transparent button over your icon. Don't forget to make it unclickable and put enabled to false, so it doesn't intercepts the click intended for the icon.
When I type dot and press ctrl+space, I see a pop-up with list of possible methods.
when I press ctrl+q i see another pop-up with javadoc for the selected method.
The problem is half of the popup is on the one screen and second half is on another screen. it's unreadable. how to make the pop-up stay on one screen?
ubuntu 14.04, mate, 2 monitors (extended desktop), intellij 2016.1.1
The pin is your friend!
Press that pin in the top right corner to "Open as tool window"!
From that moment on, the documentation will always appear in that specific window. Just resize it and place it somewhere in your screen where it does not interfere with other things. From that moment on, every time you press Ctrl + Q the documentation will appear in that window.
Also, note you can change the font size:
But it may be more handy to drag the popup with the mouse:
First I apologize if my English is not very good. it's my 4th language :P:P.
I have a java program (which I run using NetBeans) that open a graphic window (application), when I restore this window then I do a right click on its button in the toolbar it shows a menu that contains a button to close the window (like it does for every window XD), I want to add another button or text to re-size the window to [30,30],(example: we add text "send window to [30,30]" and when we click on it it resize the window to 30,30) cause when I do a remote connection from home I can't see the window its big and it appears in the 2nd screen. I don't know how to write this in Java. I'll be grateful for any help. If I didn't explain the problem well please don't hesitate to ask me and i'll explain it other way. :)
Thank you and have a lovely day everyone :):)
Eclipse shows JavaDoc help in a tooltip window when I hover with the mouse over a symbol. This is great, but it would be better if I could pop up this tooltip from the keyboard when the cursor is on the symbol. Is there a shortcut which does this?
I found Shift-F2 which opens external JavaDoc and I do not want that. I'd like to pop up the same tooltip with the keyboard which is shown on mouse hover.
Edit: Thanks, that was quick. :) I accepted the quickest answer.
Try pressing only F2 when cursor is on that word. It will open the same popup dialog as you get when you hover on it.
Move the cursor on a method/class/variable and press F2.
In Netbeans 7.3 the shortcut is Ctrl + Shift + Space
See the original answer at:
How to see Javadoc documentation on mouse hover in NetBeans?
I have a JTabPane, and i have added a MoustListener to it(for tab's title).
When i press right click, a popup menu is created.
i need to make it invisible when i press the mouse button in any place of window. how can i do this??
(the MouseListener is applied only for tab's title.)
i need to make it invisible when i
press the mouse button in any place of
window. how can i do this??
This is the default behavour of a JPopupMenu so you don't have to do anything special.
Read the JPopupMenu API and you will find a link to the Swing tutorial on "How to Use Menus". The tutorial contains a working example of using a popup menu. Compare your code with the tutorial to see whats different. We can't help you because we don't know what your code is like.
If you need more help post your SSCCE.
in the good old days what I did to solve this problem was to register a mouse listener with ALL the components.
you can write a fairly simple function that recursively traverses a top level container and do it.
this was with Java 1.1, so maybe there is a better option today.
One way off the top of my head would be to grab the coordinates of the clicks, and then have another method to determine if the clicks are on the tab, or inside of the content area of the tabs.