Add conditional breakpoint in Intellij without gutter - intellij-idea

I prefer not to display gutter icons - they are to me simply distracting. However, I may need to do so (?) for Conditional Breakpoints ?
There does not seem to be any action available for Add Conditional Breakpoint .. The following reference - along with others viewed - only refer to right clicking on the red breakpoint gutter icon.. None mention a menu / keyboard action for same. Did I miss it?
https://www.eviltester.com/2016/08/convert-breakpoint-into-conditional.html
Update : Here are the options for breakpoint from Actions popup dialog - none speak to me as being related to `conditional breakpoint':
My version is Ultimate 2018.3

Hit CtrlshiftA (or ⌘shiftA on Mac) and type "breakpoint".
You'll find two actions named "Toggle line breakpoint" (allowing to add or remove a breakpoint), and "Edit breakpoint" (allowing to edit the breakpoint you added, to add a condition for example).
Note: The "Edit breakpoint" action only appears if there is a breakpoint to edit on that line.

CTRL+SHIFT+F8 opens a dialog where you can create new or edit existing breakpoints without touching the gutter.
See https://www.jetbrains.com/help/idea/using-breakpoints.html

Related

Pycharm - How do I set the page margin? [duplicate]

The other day I mis-clicked on and mis-dragged something probably and then the left "side bar" of the editor window got wider than normal.
Since this happened by mis-clicking and dragging, I don't know how to reset it back to the normal width. It simply doesn't respond when I try to click and drag the borderline. Didn't find anything related in Settings either.
It's not possible to change the gutter width at the moment. It adjusts itself automatically when needed (e.g. there is a gutter icon for override method and a breakpoint on the same line).
Looking at your screenshot, the width is actually standard. It needs some extra space to allow you setting breakpoints without accidentally clicking the line number.
You could submit a feature request/usability problem to https://youtrack.jetbrains.com/issues/IDEA, but to me, it seems fine.
But since you say it was different the other day and then something happened and it became wider, you could try starting PyCharm with default settings by renaming/removing configuration folder. Here is the article on how to find it.
Go to Settings -> Editor -> General -> Gutter Icon and uncheck the Show gutter icons.
But you should be careful: this action will hide information about recursive calls, override methods etc...

Add right click menu item inside gutter of vscode

How to add right click menu inside the editor's gutter of vscode.
I want to have a provision to show/hide line numbers option on the right click inside the editor's gutter.
I am not sure about the extension point for this.
Unfortunately, this is not possible, yet.
I have filled an issue, "OnClick event on Gutter #5455" sometime ago, but it is still open, and no Milestone defined.

IntelliJ align multiple lines of code vertically

I am wondering how to align (the keyboard shortcut) a line or a block of code with the previous line, so that they have the same indention or starting from the same column in IntelliJ and PyCharm.
cheers
I think that "Emacs Tab" could help you. You can use setting search to find it or you can go Preferences -> Appearance & Behaviour -> Keymap. It is editor action and in some Keymap settings it doesn't have assigned key shortcut. I personally prefer remap Tab key to this action.

Let Intellij IDEA always show parameter tooltip

Is there a way to tell Intellij IDEA 14 to always show the parameter tooltip that appears when you start writing a function? The problem is that the "bubble" disappears when you exit the parentheses and doesn't show up again when you re-enter.
As far as I know there is no configuration option to always display the parameter tooltip. However you can invoke it manually when you reenter the method using CTRL+P (or ⌘+P on Mac).
References
IntelliJ Help: Viewing Method Parameter Information
I think JetBrains should change this default behavior, or at least add an option for it.
For now, here are some workarounds:
Use CTRLP or make a custom key binding such as CTRL;.
Settings / Keymaps / Parameter Info / Add Mouse Shortcut.
Delete and then retype the opening parenthesis.

Remove all breakpoints in IntelliJ IDEA

Is there a possibility to remove all breakpoints in the module (might be using a shortcut) in IntelliJ IDEA IDE? Thanks.
Ctrl+Shift+F8
is using for removing all breakpoints.
Select upper breakpoint -> Ctrl+Shift+End -> Remove
On Mac Os use this:
Cmd + Shift + (Fn) + F8 on Mac OS
To remove all breakpoints in IntelliJ Idea press following sequence of shortcuts:
Ctrl+Shift+F8 (open Breakpoints dialog)
Ctrl+A (select all breakpoint)
Alt+Delete (remove selected breakpoints)
Enter (confirm)
If you press Ctrl+Shift+F8 and your cursor is at code line with breakpoint, instead of Breakpoint dialog you get bubble with properties of a single breakpoint.
To get the Breakpoints dialog press Ctrl+Shift+F8 again.
Tested in IntelliJ Idea 14 Community Edition.
In case of Mac, follow below steps:
cmd+Shift+F8 (open Breakpoints dialog)
cmd+A (select all breakpoint)
cmd+Delete (remove selected breakpoints)
Enter (confirm)
Unlike Alt+Delete in windows, It's cmd+Delete in Mac
As an alternative, instead of removing all breakpoints, you can just mute them. This will help in the case that you want to stop breaking on all of them. They will still exist, so you can toggle this setting again to start breaking on them.
The mute breakpoints button can be found in the Debug view (view can be toggled using View -> Tool Windows -> Debug), in the left-hand side button menu. I attached a screenshot below.
As mentioned in this answer the shortcut works.
But we tend to forget the combination of keys (I do).
There exists another way to access breakpoints window.
Clicking on this button will open breakpoints window.
Here is one of my trick to remove all breakpoints of a page:
Ctrl+A : select all code
Ctrl+X : cut all codes
Ctrl+V : paste all code
this trick removes all breakpoints at one go and it takes less than a second.
On a Mac you need Shift + Comand + F8
press ctrl+shift+f8 and select check box of which you want to remove and then press minus button in left upper corner in android studio 2.2