PyCharm R plugin: how to clear the console? - r

I am running an R file with the PyCharm R plugin. Is there a way to clear the console? I have tried ctrl + L and cmd + L, but neither of them works.

I can't find a default key-binding for clearing the R-console in PyCharm, but you can press Ctrl-Shift-A (or navigate to Help-> Find action) to find the action, and set your own binding, in this case you would want to search for/bind clear all (not clear).

Put the mouse cursor on the area of the R-console where the text is that you want to clear.
Press the right mouse button. Choose the option "Clear All".
See screenshot.

Related

With Qt Creator FakeVim mode, key-combination CTRL+U seem to interfere with "Select the current block"

I'm starting to use QT creator and FakeVim mode. Inside VIM I use CTRL+U (Scroll window Upwards in the buffer) and CTRL+D (Scroll window Downwards in the buffer) the whole time.
Problem: CTRL+D works as expected inside QT creator, but unfortunately the key-combination CTRL+U seem to interfere with some other setting (maybe "Select the current block") and begins marking a lot of text at the same time it's scrolling upwards.
So: CTRL+D = scrolls down, no "block selecting"-stuff going on.
CTRL+U scrolls up and at the same time it begins highlighting (block selection), which is really annoying.
Attempted: Among other things, I tried googling and found: https://doc.qt.io/qtcreator/creator-keyboard-shortcuts.html - and tried both combinations of the value "Enable smart selection changing" - but it ditn't help on my CTRL+U-issue...
Question: Anyone knows how I can make CTRL+U only scroll up, instead of selecting/highlighting a block while it scrolls up?
Just for the record (it seems we're not many qtcreator/fakevim users but hopefully it can help someone else that) I found the solution and will answer myself:
First: Related to the issue is: In the "Options -> FakeVim -> General" dialog, under "Vim Behaviour" disable "Use search dialog" will get rid of (a similar) annoying vim-search "begin highlighting after search"-problem which is triggered when using "/" to search...
For the CTRL+U highlighting issue: The issue is resolved by disabling the option "Pass control keys" in the same option setting dialogue.

How to make Jupyterlab or Jupyter show source code in a popup window?

Writing in the below
sqlContext.sql?
or pressing Shift+TAB while cursor is in the 'sql' of sqlContext.sql will make it popup the docstring of it. Writing in the below will show the source code and the docstring.
sqlContext.sql??
Is there any hotkey for this? I dont wanna keep writing in 'something??' every time I want to see the sourcecode.

How to edit jupyter notebook shortcuts

Jupyter notebooks have a convenient means to edit shortcuts - by pressing H for help there is a button for it:
And here is the dialog to make the updates:
The question here is: when pressing add shortcut we apparently have a free form text field to enter the shortcut:
But whatever combination I put in actually causes some _system_wide_ kind of behavior to kick-in e.g. Command-R causes Jupyter to do something wacky, and I tried a couple of others. Is there another way to enter these?
Have you tried clicking on that link: details of defining keyboard shortcuts?
That gives some general tips on creating new shortcuts.
Your example might not work because you would want to use "Cmd-R" instead of "Command-R". Though, in my operating system, "Cmd-r" already does something(reloads the page). So whatever combination or sequence you choose, I'd make sure it doesn't already do something before using it as a shortcut.
Once you type into the field, are you clicking the "+" button to the right? If you click on that, it should then show if it's been set, and you can verify it set it to what you wanted. If you don't click the "+" button, it will have no effect.
Good luck!

How do you 'jump to definition' in a fresh install of LightTable, without setting your hair on fire

I tried ctrl- which was suggested somewhere online, but that makes the font smaller. (ctrl+ though does not undo that, so I had to restart LightTable to get back to normal).
Pressing ctrl enter I can manage to write and use "jump to definition", but obviously I will not be going through that every time....
If this should have helped, it is rather confusing what the period and comma here mean:
So do the built-in default keyboard shortcuts allow that, and how do they allow increasing font size?
Hit cmd/ctrl + enter
in the pane that this brought in: type "jump to" to see the command "jump to...", plus its keyboard shortcut. you can select the command from there but that would suck if it were the only way to invoke commands, so observer the keyboard binding you get there: (in the blue circles below)
notice that keys are separated by dashes in the display of the keyboard shortcut, so do not actually enter a dash because it is not part of the command and you will be doing crazy stuff if you assume otherwise
same thing for finding out how to zoom: enter "zoom" in that pane
unset you hair on fire
Courtesy of #rundis from the gitter channel...

Shortcut to close Notepad++'s console

How can I close the Notepad++'s console through hot key?
If I press F3 in the console window, the bottom section pops up. But having the "Hide toggled Console" box checked does not seem to be doing anything.
Thank you for your help.
You can use the key combination CTRL+` (the symbol to the left of the 1 on US keyboards) to toggle console window (i.e., show / hide). You can also click the "Show Console" button on the toolbar, shown below.
Goto Macro > Modify Shortcut/Delete macro
and
You can set your own shortcut key for Show Console

Resources