Skip to content

GDScript, auto indent on paste like in PyCharm/VSCode #361

@0x01011970

Description

I am referring to Python in this issue because GDScript is heavily inspired by it.

For Python, in PyCharm and VSCode (with https://marketplace.visualstudio.com/items?itemName=hyesun.py-paste-indent), copy pasting code auto adjusts indentation based on the target location.

I copy bellow the demo from VSCode/Python.

Without this feature, one needs to manually indent code after pasting, by selecting the code and pressing Tab or Shift+Tab multiple times until the indentation is correct.

I tried activating "Auto-format on Paste: Indent" in "Typing Assistance", it does not work.

Is this feature planned to be developed so that it matches PyCharm behavior ?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions