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
Would it be possible to add ordering of the imports in the services.gen.ts (or all files, but I think the services.gen.ts is the only relevant one)?
In my case, the commit automatically sorts alphabetically and i get diffs whenever i regenerate the client.
Or is that something that should be done with prettier?
(I have already tried to implement this, but am currently running into this bug... prettier/prettier-vscode#3380)
The text was updated successfully, but these errors were encountered:
Hey @mrclrchtr. If you can post process the generated code with Prettier, that's the best way imo. There used to be a feature for indentation and that had the same problem. When you try to infer all the formatter settings, it's easier to just run the actual formatter. Let me know if it becomes unbearably slow to run formatter, it could be revisited then
Description
At first: Thanks for the tool and your effort!
Would it be possible to add ordering of the imports in the
services.gen.ts
(or all files, but I think theservices.gen.ts
is the only relevant one)?In my case, the commit automatically sorts alphabetically and i get diffs whenever i regenerate the client.
Or is that something that should be done with prettier?
(I have already tried to implement this, but am currently running into this bug... prettier/prettier-vscode#3380)
The text was updated successfully, but these errors were encountered: