X Tutup
Skip to content

Can I apply the Prettier only for selected function block? #31

@makarandkeer

Description

@makarandkeer

Installed product versions

  • Visual Studio: [example 2015 Professional]
  • This extension: [example 1.1.21]

Description

Can I apply the Prettier only for certain functions in my JS file?

Steps to recreate

NA

Current behavior

Currently once applied entire file is formatted.

Expected behavior

I wanted to selectively apply Prettier formatting to my functions, so that Pull Request can be created only for the changes I made to function. I wanted to make the changes in stages so that Pull Request review becomes faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup