### 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.
Nope. It works on whole files
On Tue, Sep 29, 2020, 2:40 PM makarandkeer <[email protected]> wrote:
> 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.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/madskristensen/JavaScriptPrettier/issues/31>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAHPXRIAWJM32AWILL6AENLSIIS25ANCNFSM4R6E6ZJQ>
> .
>