-
Notifications
You must be signed in to change notification settings - Fork 679
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
Auto indentation doesn't work (C#, mac) #1455
Comments
Which update are you referring to? C# for VS Code 1.9? (That update is a couple of weeks old, which is why I'm asking to clarify.) |
@DustinCampbell, yes. Strange thing is that indentation work with {}, but not without them. |
@IvanSorokin: I'm not sure what you meant by that. Could you share some repro steps? |
@DustinCampbell, I recorded this situation https://www.youtube.com/watch?v=pKxdup7cLgY |
I'm not sure we've ever had that level of auto-indentation in VS Code. Are you sure it worked before the update? |
@DustinCampbell, yes |
I just downloaded an older version of C# for VS Code from our GitHub releases page (1.6), and the indentation is the same. @jrieken: Do you know if anything has changed around indentation in VS Code? AFAIK, we do't do anything special to support it in C# for VS Code. Honestly, I'm not sure there's an indentation API that we could support. |
Out of curiosity, is the problem that you need to set the |
Not that I know of. @alexandrudima will know |
@DustinCampbell Thanks for workaround, it works! It seems that problem was with my settings. |
Glad to hear this worked for you. I'd love to be able to add proper indentation support. Hopefully, we'll have a way to add custom language support for indentation in VS Code at some point to allow us to have parity with VS. However, until then, I don't think there's much we can do. @jrieken, @alexandrudima: Are there any issues on the VS Code I should track for this issue? I found microsoft/vscode#9241 and microsoft/vscode#16998. |
Auto indentation doesn't work after update. Code formatting hotkey sets it, but no real time auto indentation. Tried to reinstall, no result. Settings.json is default.
http://imgur.com/zdpjV3n
The text was updated successfully, but these errors were encountered: