-
Notifications
You must be signed in to change notification settings - Fork 789
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
Try to find previous non-empty line for correct indentation #1986
Conversation
Does this also fix (in part or whole) #1588? |
@abelbraaksma It should fix #1588. |
@dungpa Type
This will not restart appveyor, but will run all of the other ci scenarios. Kevin |
else | ||
match previousLine.Text.[previousLine.Start + column] with | ||
| ' ' -> loop (column + 1) (spaces + 1) | ||
| '\t' -> loop (column + 1) (((spaces / tabSize) + 1) * tabSize) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we allow \t to appear in an F# source file in the editor? is it not immediately turned into spaces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm perhaps we do in the not light mode. never mind.
@KevinRansom Thanks for the tip. |
@dungpa Kevin |
Fix #1980.