Skip to content

Format on Save #4

Closed
Closed

Description

@jchannon

Is there an option in this plugin or js-beautify to format on save?

Activity

  1. Lonefy commented on May 3, 2016

    @Lonefy
    Owner

    @jchannon Sorry, currently not. I'll try to add this feature soon. Thx for this suggestion :)

  2. Lonefy commented on May 7, 2016

    @Lonefy
    Owner

    @jchannon onSave feature has been added

  3. nuqz commented on Dec 30, 2017

    @nuqz

    @Lonefy every time when I save file cursor goes to the end of formatted file. I want to remember my cursor position after formatting. Is it possible?

  4. Kailash23 commented on Feb 3, 2019

    @Kailash23

    @nuqz @Lonefy Same problem. Please fixed this issue cursor goes to the end line after saving.

  5. bmarkovic commented on Feb 21, 2019

    @bmarkovic

    The extension doesn't respect the onSave option being set to false (not the mention audacity of assuming setting it to true is a default anyone would want or expect). It constantly formatted my files on save. I had to uninstall.

  6. subhnet commented on Jul 15, 2019

    @subhnet

    Is there an option to disable the onSave option?

  7. Srikara369 commented on Oct 29, 2020

    @Srikara369

    in VS Code, Press F1 -> Search for "Formatter Config" and open it.
    Change 'onSave' to false. Restart VS Code.
    Enjoy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions