Closed oxilor closed 1 year ago
@oxilor Thank you for writing up the issue and providing the video. Your computer specs more than adequate so that shouldn't be the issue. Can you provide an example repo with a minimal reproduction?
@idahogurl I'll try to create a repo that reproduces this issue at the end of this week. However, it'll be quite difficult to do, because I don't know what exactly causes this problem. When I run VSCode, first ~5 minutes everything is fine, then a file saving takes about 10 seconds, then about a minute or more.
Is it possible to log a command that is executed by this extension? I want to understand whether this command is executed at all in this case, and if it is, which one command with which arguments is executed. Then I can run the same command manually and check it.
@oxilor It's not running command is the thing. It calls the format
function from the prettier-eslint
package which in turn calls the format functions of the eslint and prettier packages.
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
At first, thank you for this plugin! Special thanks for the fact that it allows to work with multiple projects at once (the prettier/eslint configs are located in nested directories, not in the parent [root/apps/app1, root/apps/app2, etc]).
Some time ago, the plugin started working very slowly (see video). It takes from 10 seconds to several minutes to format the code in a file. At this point, if I run prettier manually using the command line (
prettier --write <file_path>
), then it's executed instantly.I don't know how to determine which command is being executed when the plugin freezes. The output is always empty (cmd+shift+U -> Output -> Prettier Eslint).
Versions:
System Specifications: