What does DBeaver Shortcut key Ctrl+Shift+- means - dbeaver

I wanted to comment out the line in DBeaver, so I used Ctrl+- key
But it doesn't worked. So I tried Ctrl+Shift+- and it woked in wrong way.
the key opened the same query space, and when I enter the same key, it has gone.
I googled it, but still don't know what is the name of this function.
What is it?

The shortcut that you should be using to comment is Ctrl+/ for single line and Ctrl+Shift+/ for multi line comment as per Dbeaver documentation.
Coming to your question they have not mentioned about Ctrl+Shift+- it in their docs but it does open another another SQL editor window for you which indicates the purpose is just it.

Related

VSCode - Shortcut to copy Current Line

What is the shortcut to copy current line in VSCode?
I know we can Ctrl+L to select the line then Ctrl+C to copy. But is there any better solution. For example, in Geany, we can Ctrl+Shift+C to copy the line where the cursor is.
To be clear I am not talking about Duplicate line in Visual Studio Code
Here is your solution for your problem
Just press the Ctrl + C without selection it'll copy entire line and you can past it wherever you wanted,
Please read below solution for the query you ask in your question's comment
Stackoverflow don't have the close option but you can delete the question from you profile or you can follow the explaination to mark your question closed from the below link:
https://shodhganga.inflibnet.ac.in/bitstream/10603/32435/11/11_chapter%203.pdf
Another alternative to the accepted answer that I often use is SHIFTALTDOWN which duplicates the current line to the line below (likewise, SHIFTALTUP duplicates to the line above). Once you get the copy of your line you can use ALTUP/ALTDOWN to move it wherever you want. This works well if you are wanting a copy of the line in the near vicinity of the current line.
Go to File ==> Preferences ==> Keyboard Shortcuts, and update the copy line shortcut entry with any combination you like.for example Ctrl + DownArrow is good for me.

VSCode Multiple Cursor Cut/Paste Behavior Changed

I am trying to copy/paste several lines of code, but it appears that the behavior for this has changed and I'm not sure how to correct this.
When I select multiple words (cursor on each word). Copy. Place the same number of cursors somewhere else. Paste. Instead of pasting one word with each cursor, it is pasting all words where the last cursor is located.
Versions:
VS Code Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
OS: Linux x64 4.15.0-65-generic (Elementary OS 5.0)
Is there a setting that I am unaware of? I haven't found a setting that affects this.
And any search I do is a variation of this question. The answer in this question shows the desired/expected behavior.
When you select multiple words (cursor on each word). Copy. Place the same number of cursors somewhere else in a series (as you state in your example). Paste.
Ctrl + Shift + V
This also work is when you place the cursor on different line as well (same number of cursor as copied)
I submitted a bug to VS Code and #alexandrudima helped me find the answer.
Both workarounds suggested worked for me, but I also found that Ctrl+Shift+V, #KamalHalim's answer, worked as well.

Go up one command instead of one line in IPython 5

IPython 5 is a big release. One of its features is real multi-line editing with prompt_toolkit. The up arrow key now moves to the previous input line instead of the previous input command (block of lines).
This is awesome, but when my previous command spans many lines, and I need to reach the command before that, I find myself wishing I could go up one command at a time. Is there a way to do that? The shortcut ctrlp has the exact same behaviour as the up arrow key, so it does not provide a solution.
On my own Belgian Mac keyboard, fnshift↑ does the job. But I cannot tell whether this also works for other locales.
The PageUp and PageDown keys do exactly what you want without any chorded hotkeys involved; they work on an entry-oriented basis, rather than the arrow keys' line oriented approach.

Column editor in Oracle Sql Developer

Anyone knows if there is a column editor function in Oracle SQL Developer?
I have to modify the same column in a large number of insert statement and it would be really useful to have a column editor.
To explain better which is my problem i am searching a function similar to Eclipse ones when you type Alt + Shift + A (How do I enable the column selection mode in Eclipse?), and it allow you to edit in one time a lot of columns.
There is something similar or i have to do it manually?
I am using 4.1.5.21 version.
Thanks
If you're using a newer version of Oracle Sql Developer (at least 18.3.x but perhaps before) there is an even easier way.
Simply go to the "Edit" menu and then choose "Block Selection":
Edit/Wrap Selection (enable it):
https://www.thatjeffsmith.com/archive/2012/07/how-to-block-select-text-in-oracle-sql-developer/
Just press Shift and move cursors up and down, etc.
Be careful to press Esc after each edition as it seems to "stick" or something and it keeps adding cursors and modifying where you don't expect it.
Trick: The multi-cursor is useful to edit several parts in the same line.

Eclipse - multiline comment with asterisks doesn't work

I'm not able to use ani shortcuts for using comments with asterisk. Every key combination doesn't work. I tried with CTRL+/, CTRL+SHIFT+/, CTRL+C; all of these have the same output, i.e. a simple comment with // on every line. Other shortcuts like CTRL+\, CTRL+SHIFT+\ or CTRL+SHIFT+F doesn't work at all.
So, how can I have this shortcut?
These are the Comments options
Open Window>Preferences>General>Keys>type "add block comment" in the search box, you should see:
the type "remove block comment"
These settings are by default, but if the shortcut is not working on your machine, you must be missing these bindings, To create them, you need to mark the command "Add Block Comment", then click inside the "Binding" field and press CTRL+SHIFT+/, then press Apply. The same is for uncommenting.
I have a similar problem to the one you have: the / shortcut seems to trigger a folding operation (at least in the Java editor) that does not appear in the keys preferences table.
Modifying the key in the keys preferences table seems to work fine: setting the binding to Shift+Ctrl+Q for the "Add Block Comment" command sets the expected block comment.
The reason is clear to me: the Shift+Ctrl+/ binding is very difficult to reproduce in a Linux environment because Eclipse makes a clear difference Numpad_Divide and the '/'. The Normal '/' strike is being modified by the shift key (French keyboard).