Skip to content

Issues with FormatOnPaste into Visual F# editor #12158

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
This is similar to https://developercommunity2.visualstudio.com/t/Problem-with-indentation-in-F/719085?entry=problem&ref=native&refTime=1630938135591&refUserId=a2d84250-89b4-6645-9bad-35b10b01efbb but that is marked closed, and this is in the latest daily's

  • If you cut a line with Ctl-L and then paste with Ctl-V, the line loses it's indentation (it is incorrectly flush with the left margin)
  • If you add an "open" line via Ctl-. it is not indented correctly (it is incorrectly flush with the left margin)

Because F# is a indentation oriented language, this is not a minor formatting issue but a major issue that causes errors that must be manually fixed, and there is no adequate Ctl-K-D to fix it all up for you.


Original Comments

Feedback Bot on 9/7/2021, 00:27 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-VS-EditorVS editor support for F# code, not covered elsewhereBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions