Bug: Field comments don't work with tabs. #72966
Labels
Area-IDE
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-Formatter
Code formatter and/or smart indent
Milestone
Version Used: VS 17.9.5, roslyn 4.9.0-3.24121.1 (a98c90d); AND VS 17.10.0 Preview 3.0, roslyn 4.10.0-3.24202.15 (cbca41c).
Steps to Reproduce:
(make sure it uses tabs, and not spaces)
Diagnostic Id:
IDE0055 fix formatting. (move
//b,
to align with//a
)Expected Behavior:
No diagnostic.
Actual Behavior:
Error.
Additional information:
See #29482 for the feature request
Also, if you replace the tabs with spaces, and update the .editorconfig appropriately, you get no error (as per the original feature request) - it only occurs with tabs.
This is a blocker for me with enabling proper formatting rules in my projects.
/cc @CyrusNajmabadi who was discussing this with me on discord
The text was updated successfully, but these errors were encountered: