-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Tabbing on single-line character range should replace characters with tab #3485
Comments
Comment by peterflynn Tagging as starter bug. Per the newsgroup thread, I think the desired behavior is: insert a Tab char if the selection is entirely contains on one line; indent the line (as today) if the selection spans multiple lines. |
Comment by lkcampbell Correct, that is the solution. |
Comment by redmunds Fixed. Closing. |
Comment by lkcampbell
Updated Repro Steps:
Expected results: Observed results: |
Comment by redmunds Thanks for testing. Good catch! Re-opening. |
Comment by redmunds Closing again. |
Comment by lkcampbell
|
Issue by lkcampbell
Sunday May 05, 2013 at 21:57 GMT
Originally opened as adobe/brackets#3723
OS: Windows 7
Build: sprint 24 development build 0.24.0-0 (master a9e27717f)
There are lots of ways to repro this problem, but the steps I provide below represent a typical coding scenario I keep finding problematic. The end goal is to line up the indentations on the equal signs in the variable declarations.
Repro steps:
bar
and the equal sign.Observed Behavior:
Two tab characters are inserted at the beginning of the line. Ugly code.
Expected behavior:
The equal signs for variables foobar and bar should have the same indentation level. Pretty code.
Work Around:
Hit the Backspace key once before hitting the Tab key twice. It sounds simple but my muscle memory just can't seem to manage it. I think it is because some of the other editors I have used (e.g. Sublime, PSPad) give the expected behavior outlined above and I am used to it.
The text was updated successfully, but these errors were encountered: