You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes I make to the first file don't get run through prettier, changes I make to the second file do. I don't know why it just won't automatically format some files, seems arbitrary.
The text was updated successfully, but these errors were encountered:
If I edit the first file so that it contains the contents of the second file, and then save it... then it gets auto formatted. So something about the content of the actual file prevents this plugin from doing its job. Yet if I run the file through the prettier command-line it works fine.
@insidewhy I am actually having this problem. What I found out was is that if I make a directory with nothing else in it and just the file, it formats it on save. If I have others files in the directory with it, it doesn't format on save. It's very strange.
In my case lets say I have two tabs open.
One has the file:
FriendServer/modules/FriendModule/src/shared/datastores/couchdb/CouchDBStore.ts
The other has the file:
FriendServer/modules/FriendModule/src/shared/datastores/index.ts
Changes I make to the first file don't get run through prettier, changes I make to the second file do. I don't know why it just won't automatically format some files, seems arbitrary.
The text was updated successfully, but these errors were encountered: