How can you keep the current line centered vertically in the editor - rider

I've searched all the settings and Google but can find nothing. It seems such an obvious feature. If I use the arrow keys to scroll vertically through the code, I quickly end up with the cursor at the top or bottom of the screen whereas I really want to be doing my editing near the centre of the screen, which means I have to do two operations: scroll the code to where I want it and then move the cursor.
What I want is to hit a shortcut (e.g. the Scroll Lock key) and then when I press up- or down-arrow the cursor stays where it is (relative to the screen) and the code scrolls past it.
I've read that some tools allow you to set the number of "always visible" lines above and below the cursor which would do the job, but I can't find that in Rider either.
Am I missing something obvious, or is there an add-in or something I can customize to get what I want?

Found it! There are Move Up and Scroll and Move Down and Scroll actions in the keymap settings. Assign hotkeys to them (weren't assigned in my config) and it will work like you described it.

Related

How to make IntelliJ Run Window tools sidebar dissapear to save space?

https://imgur.com/a/UVXoaNy
I'm trying to make this IDE more easy to "perceive" and it would be nice to save vertical space since I want to see both code and terminal at the same sime with biggest area possible. I know I waste space with lines sidebar and other things but let's do one step at a time...
So, do you know how to remove tools sidebard from Run window? Thanks.
If you click the gear icon on the right upper corner, you will see Show toolbar in the list. You may use it to enable/disable toolbar. The screenshot may explain it better.

Illustrator toolbars glued together

I am new to Adobe illustrator and i don't really know how to search for my errors.
At the right of my screen i have some 'toolbars' (like pathfinder, swatches, ..) you can enable them by clicking on the 'window' option at the top and then selecting them. So i was arranging them at the right of my screen, when all of the sudden (i must have done something wrong) the pathfinder, swatches, color toolbars are sticking together and i can't 'unstick' them.
Also when i deselect one of them under the 'window' option all of them disappear.
They also don't expand the the bottom of the screen inside a container like element.
click, hold and drag the pathfinder or the menu of your choice to unstick them

IntelliJ IDEA, PyCharm, PHPStorm, etc. - cursor / caret stuck, jumps back to previous position, sticks to scroll

i am really annoyed by weird caret / cursor behaviour inside IntelliJs editor.
The caret sometimes get stuck at some line at the beginning. If you try to navigate by arrow-keys or something else despite the mouse when this happens, the caret will instantly jump back to the previous position. Only way to set it free is to click with the mouse somewhere else in the editor window.
In addition to it, if the caret is stuck and you scroll, the caret moves the same amount of lines you scroll in the editor and will select all text on its way.
So the question is: what can i do about it?
env: macOS 10.12.4, recent JetBrains IDEs (tried several versions)

IntelliJ IDEA: Increase size of bar on the right side of editor

I'd like to increase the size of the bar on the right side of the Editor in IntelliJ IDEA. It's simply way too small for my taste.
It is the bar where the warnings or usages are displayed.
P. S.: The bar is called Error Stripe.
I agree, the scrollbar is far to small, and hard to see.
Another option you could try is installing the "CodeGlance" plugin which adds a full view of the code and makes scrolling far more intuituve.
Grab it from (as of 15-04-27) https://plugins.jetbrains.com/plugin/7275?pr=clion
Press Ctrl + Alt + Shift + / and select Registry... from the menu that appears.
Look for editor.full.width.scrollbar and tick the box on the right. The change should take effect after clicking the close button. The width of the scroll bar should be marginally wider, it's not a lot but every little bit helps :-)
Unfortunately this setting only affects the scroll bar on the right of the editor window. All the other scroll bars are unaffected.
For those that find transparency effects annoying then look for editor.transparent.scrollbar and untick the box on the right. This change should take effect after clicking the close button and restarting IntelliJ.
It seems like it – or the scrollbar as a whole – can't be resized.
You could scroll to the bottom of the bars properties in the GUI section and change the width to example (100dp). Or you could play around with the XML file that contains the width and height property.

Setting UIMenuController arrow direction not working

I have a UIMenuController which I have added a few extra items to. I would like the menu to be BELOW the text that I select, so I tried:
[UIMenuController sharedMenuController].arrowDirection = UIMenuControllerArrowDown;
That seemed to do nothing, and everything I try, won't put the menu below the text.
How can I do that?
According to the docs, arrowDirection sets the direction the arrow points; it has nothing to do with the location of the menu relative to its target area. It also looks like they don't give you any control over the positioning of the menu beyond setTargetRect:inView.
If you really want to put the menu below the text, you might be able to set a "fake" target area and change the arrow direction to point to the "real" area of interest.
However, there's probably a reason Apple does it this way. My guess? If you select some text with your finger, your hand is probably obscuring the part of the screen below the text... so it's not very helpful if the menu appears there. Going out of your way to break consistency with standard UI conventions isn't usually worth the effort.