Skip to content

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

Open

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.

Activity

  1. tommck commented on Sep 29, 2020

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions