indent back to line start after enter newline and press up
See original GitHub issue- VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.026Z)
- OS Version: Windows_NT ia32 10.0.16299
Hi, I have a feature request related to intent,
I think Notepad++ and Visual Studio’s indent after enter newline and press up
works better and more intuitive, it’ll remain the indent position, as in the gif:
But VSCode’s indent after enter newline and press up
go back to line start, which I think is not so reasonable:
Hope vscode can remain the indent position after enter newline and press up
, thank you.
.
Reproduces without extensions: Yes
Issue Analytics
- State:
- Created 6 years ago
- Reactions:38
- Comments:22
Top Results From Across the Web
Indent the second line in Word - Microsoft Support
When you press the Enter key, it starts a new paragraph, and the indent style over again. If you need to start another...
Read more >Auto-indent after pressing `Enter` between tags - Stack Overflow
I am using Visual Studio Code. By pressing Enter and Ctrl + Shift + Enter . I can make the auto indent in...
Read more >How can I automatically indent on new lines?
The autoindent option will copy your current indentation when creating a new line. So if your current indentation level is 4 when you...
Read more >Enter creates indented new line
When hitting `Enter` in IntelliJ I get a new line that's indented with ... to start from the beginning of the line each...
Read more >Extra Indent Spacing After Newline C++ Editor
After I press backspace, it goes back to the 3 space indent but its a pain to have to do that. I also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a partial workaround you can uncheck the setting “Editor: Trim Auto Whitespace”. But it still leaves the problem after document being formatted.
I desperately want this fixed. Reproduced on macOS with Code 1.24.1 as well.