Keyboard shortcut to “Comment” a line in NANO?

The simplest workaround I’ve found: Comment-out: set the cursor at the first row that should be commented-out hit twice ‘M-R’ (or ‘Alt-r’; in order to Replace a RegExp) Search for: ‘^’ Replace with: ‘# ‘ Replace this instance?: ‘y’ press ‘y’ for each row to be commented-out Comment-in: The same procedure, replacing ‘# ‘ by …

Read more

How do I disable the tooltip in VS Code that shows function parameter descriptions and overloads (parameter hints)?

You turned off code completion correctly. But parameter hints are still active. Turn them off by going into the Settings menu, searching for editor.parameterHints.enabled, and un-checking the box. Or put the following entry in your settings.json: “editor.parameterHints.enabled”: false If you ever want to see the parameter hints on-demand, refer to How to trigger parameter hints …

Read more

Using Intellij to select block between parentheses () or brackets [] or curly brackets {} either with keyboard or mouse

One of which is selecting blocks between {}, (), or [] or jumping between the opening/closing of a block. Let’s assume you have cursor on itemA. Ctrl+W -> selected: itemA Ctrl+W -> selected: method2(itemA) Ctrl+W -> selected: item1, method2(itemA), item3, item4, item5 Ctrl+W -> selected: method(item1, method2(itemA), item3, item4, item5) And so on. After that …

Read more