Feature Type: feat_addition_ide
Description: 1. Typing "{" then pressing enter automatically formats the code appropriately. For example, if I type "if (a == b) {" and press "enter", the following would result where "|" is the cursor position, and has a tab behind it:
if (a == b) {
|
}
I'd imagine this would be opt-in, but it seems like a very useful default setting, and could be very helpful for people learning to code.
Benefit: This is effectively always desired (or is best practices). I know it's only a few chars that it fills in, but it requires moving your hands over to arrow keys and going back and forth. Sometimes I have to do this numerous times within a single and relatively small function. You can see this behavior in VS Code (and I believe Studio). It's super helpful to keep coding and keep your code cleaner!
Link:
Ticket #201312
Feature Type: feat_addition_ide Description: 1. Typing "{" then pressing enter automatically formats the code appropriately. For example, if I type "if (a == b) {" and press "enter", the following would result where "|" is the cursor position, and has a tab behind it:
if (a == b) { | }
I'd imagine this would be opt-in, but it seems like a very useful default setting, and could be very helpful for people learning to code. Benefit: This is effectively always desired (or is best practices). I know it's only a few chars that it fills in, but it requires moving your hands over to arrow keys and going back and forth. Sometimes I have to do this numerous times within a single and relatively small function. You can see this behavior in VS Code (and I believe Studio). It's super helpful to keep coding and keep your code cleaner! Link: