Visual Studio 2022 - "Inconsistent line endings" bug: disable "New snippet experience"

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • I've seen quite a few people mention this issue but usually in the context of external tools (e.g. source control, Unity) mangling the file externally, yet for me the issue occurs in projects where the only tool that ever goes near the file is Visual Studio itself.
    It seems to be related to the "New snippet experience". This can be disabled via Text Editor ▶ C# ▶ IntelliSense ▶ Show new snippet experience (experimental). Unticking this fixes the issue for me, so maybe it fixes it for you?
    I often find that after a while the problem starts happening again as the checkbox has been re-ticked; I guess installing updates may re-enable it? I'm not sure, as I don't intentionally enable it due to the grief it causes me!

Комментарии • 3

  • @Fork0
    @Fork0 5 месяцев назад +1

    I was having this problem for a while now and its finally fixed! Thank you so much!

  • @Eeems
    @Eeems 6 месяцев назад +3

    Experimental, being on by default, is not experimental.

  • @TheGothicSecret
    @TheGothicSecret 4 месяца назад +1

    thank you a lot! helped.