how to duplicate a line keyboard shortcut in code blocks IDE - codeblocks

Is there any keyboard shortcut for line duplicate in codeblocks IDE, such as in Netbeans IDE Ctrl+Shift+Up or Down arrow to copy a line in code

You can use Ctrl+D for duplicating line
https://www.jetbrains.com/help/resharper/Coding_Assistance__Duplicate_Line_Block.html

Related

IntelliJ on macOS, how do I jump to previously defined bookmark?

On IntelliJ mac, is there a way to add a bookmark on the code where we can jump to that piece of code with a shortcut
I can add a bookmark by using F11 or command F11 and give it a number but is there then a shortcut I can use say if i'm somewhere else in that file but want to jump to the bookmark?
SHIFT-F11 is the thing you are looking for. Alternatively:
Navigate/Bookmarks/Show Bookmarks

Move caret line start/end in Visual Studio 2019?

I want to remap moving the caret to the beginning/end of a line of text, as what Home and End are doing right now. However, I'm unable to find which commands actually control this.
Any suggestions?
When you press Home in the Press shortcut keys field of the keyboard options dialog, it shows the corresponding command Edit.LineStart:
Similarly for End the command is Edit.LineEnd.

VS Code for Mac - keyboard shortcut to comment a line no longer works

I'm using Visual Studio code on MacOS, version Version 1.25.0 and I'm working with HTML and CSS files.
The keyboard shortcut "CMD+/" doesn't comment out the current line. If I open the edit menu and select Toggle Line Comment, that works fine. I checked keyboard shortcuts and the keybinding for that command shows CMD+/. I tried to re-set it, but I couldn't re-add that keyboard shortcut.
Any ideas how to troubleshoot this problem?
I had the same problem
Use ⌘K ⌘C to comment a line
After commenting you need to add one more space then CMD+/

Is there any shortcut to move cursor to previous/next blank line in xCode like vim?

In Vim, we can move cursor to previous/next blank line with a shortcut { or }.
How about xCode?
Reference: What are the most-used vim commands/keypresses?
This doesn't directly answer the question, but there's a nice Vim keybinding plugin for Xcode which does have this shortcut.
It was renamed from XVim to XVim2 and can now be found here.

Deleting a line and inserting in IntelliJ Idea Ultimate

So when I open a new class, it is not in insert mode, I am not sure but seems like when I press i, it goes into insert mode (like vim editor). Also when a line is selected, if I press the delete button it doesn't delete it and had to delete the line character by character. This problem is recent and I wonder if I have accidentally messed up with a setting. I don't have this problem in IntelliJ community edition.
Sounds irritating! Make sure you're not in vim mode (Tools -> VimEmulator), you might want to remove the keyboard shortcut for it too. Also make sure you're not in column mode (Edit -> column mode).
Edit: Uncheck the Vim Emulator

Resources