prisma / blogr-nextjs-prisma

111 stars 83 forks source link

Minimize changes from formatting on save #31

Open hamirmahal opened 11 months ago

hamirmahal commented 11 months ago

Here's a screen recording of the issue.

https://github.com/prisma/blogr-nextjs-prisma/assets/43425812/ad9e3f42-b19c-4a98-b95d-a96de1088967

Simply saving the file causes a bunch of changes.

jessycormier commented 7 months ago

This looks like you're using visual studio. You may have a setting enabled that triggers formatting on save. You may also have custom formats that override the projects settings.

Try opening your settings, click the button that allows you to view it in json and copy paste the settings somewhere safe, then delete the contents.

image

Reload visual studio just to make sure and see if your problem still persists.

image This setting specifically may be turned on, so you could try turning this off first..