What is this symbol in the WebStorm Hide shortcut - ide

What is the symbol next to the shift sign ?
Alt click doesn't do anything either.

That's Escape .. so the whole shortcut is Shift + Escape.
Some links:
http://osxdaily.com/2010/11/07/mac-keyboard-symbols/
http://nedbatchelder.com/blog/200808/mac_keyboard_symbols.html

Related

How do you indent in Google Colab?

I can't figure out how to indent blocks of code in Google Colab. Pressing the tab does not indent. Right now, I'm resorting to pressing space twice for each line of code.
Simply do the following.
Select the text you want to indent.
On Mac, press command + curly braces
Mark the lines and you'll see the different kinds of indentation.
Copy the original indent and paste it instead of the new one.
Do the following.
Select the text you want to indent and then
On Windows:
Press Ctrl + { for the left indent
Press Ctrl + } for the right indent
On Mac:
Press cmd + { for the left indent
Press cmd + } for the right indent

Brackets Custom Key Binding for Right Arrow

I'd like to set up a custom key-binding for the right arrow key. I find that I have to break out from the 'home keys' and use the right arrow to move past quotations or parens that are auto-filled. I'm wondering if there's a convenient way to bind it to shift + space or something? I've looked at the json file, but not sure what to do...
To move past quotations, parentheses, curly braces just press the keys you use to create them again eg. shift + " after inserting a word in, do it again, shift + ". The cursor should move forward.
Shift + ( ..you insert something within, then pressing Shift + ) again should move the cursor out like it would when you press the right arrow.

Adding spaces in multiple lines simultaneously - in Pycharm

I occasionally need to go line-by line and change the indentation of the code.
Is there a shortcut in Pycharm where I can add spaces (format the indent) in the begining of multiple lines simultaneously without processing each line individually?
Highlight/ select the lines you want indented, then press TAB as often as needed until they reach the proper indent level.
You can remove spaces with SHIFT TAB.
You can also use CTRL+ALT+I to auto-indent the selection.
Select the block that you want to indent then press TAB. It will work.
To auto indent all the codes in Pycharm just press these sequencies:
CTR + A to select all the text files and then press
CTRL+ALT+I
Select all that you want to indent, then do CTRL+ALT+I to indent all of it. This should work in Pycharm
Use shift +alt on windows machine
Continuation indent for Mac pro: Preferences -> Editor -> Code Style -> the language -> Tabs and Indents
If Ctrl + ALT + I is not working and every time needs to press the Insert button to get the pointer.
So go to Tools -> Select Vim if it is checked then it will be disabled.
Now you can intend code directly selecting multiple lines.

IntelliJ Multiline edit at end of each line?

In IntelliJ we can do multiline edit at the same position on each line with Alt + Shift + Insert. Can we do multiline edit at the end of each line when the length of each line is different? A usage scenario is for editing semicolon at the end of each line.
Thanks.
This is possible now. Do a multi-line edit starting an any arbitrary column as normal, then press the "END" key and the insertion points will move to the end of each line. Also supported are the HOME, and CTRL + left or right arrow.

How to reindent lines in IntelliJ IDEA / WebStorm?

In Eclipse, I can select a few lines and press Ctrl + I to reindent those lines. How do I do the same in IntelliJ IDEA / WebStorm?
Note:
I don't want to "indent" or "unindent" the selected lines - that would "move" the text to the right or to the left manually. I want the IDE to be clever about how to position the lines.
I don't want to reformat anything, i.e. there should be no modifications to characters beyond the first non-whitespace character on every line.
Code | Auto-Indent Lines (Ctrl+Alt+I in Windows default keymap).
On a mac, it's Ctrl+Option+I by default.
What worked for me on mac was
⌘ + OPTION + L
Windows:
Ctrl + Alt + L
Mac:
⌘ + OPTION + L
In Webstorm the option can be found as "Reformat Code" in the keymap.
The default on Mac is Alt Cmd l