Skip to content

Feature Request: Code formatting only on manual save #369

@grape-day

Description

@grape-day

Is your feature request related to a problem? Please describe.

When notebook autosaves and then formats the code, the cursor moves to the beginning of the cell. I don't want to turn off autosave, but I'd also like to use code formatting.

Describe the solution you'd like

Add an option to the add-on settings, a switch, when toggling which the code formatting will be performed only when saving manually (ctrl+s)

Describe alternatives you've considered

I don't know, except that maybe there is a way to save the cursor position after formatting the code.

Additional context

  • Python package version: 3.13.5
  • Extension version: 3.0.2
  • Operating System and its version: Win10x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions