Running slow on `save Participants`
See original GitHub issueSummary
VsCode Prettier extension is slowing down onSave.
Github Repository to Reproduce Issue
https://github.com/prettier/prettier-vscode
Steps To Reproduce:
- Open vscode
- Add the formatOnSave option
- Install latest extension from prettier. Activate it.
- Open a js file.
- Save.
Expected result
Saving should have been instant.
Actual result
Saving can take up to a minute.
Additional information
VS Code Version: 1.42.1
Prettier Extension Version: 3.20.0
OS and version: macOS Mojave 10.14.6
Prettier Log Output
["INFO" - 12:16:31 PM] Extension Name: "prettier-vscode".
["INFO" - 12:16:31 PM] Extension Version: "3.20.0".
["INFO" - 12:16:31 PM] Loaded module 'prettier@1.19.1' from '/Users/cardomar/Web/uxf-sple-tf/node_modules/prettier/index.js'
["INFO" - 12:16:31 PM] Enabling prettier for languages
[
"css",
"graphql",
"html",
"javascript",
"javascriptreact",
"json",
"json5",
"jsonc",
"less",
"markdown",
"mdx",
"mongo",
"postcss",
"scss",
"typescript",
"typescriptreact",
"vue",
"yaml"
]
["INFO" - 12:16:31 PM] Enabling prettier for range supported languages
[
"graphql",
"javascript",
"javascriptreact",
"json",
"typescript",
"typescriptreact"
]
["INFO" - 12:16:34 PM] Formatting /Users/cardomar/Web/uxf-sple-tf/src/sple/resources/run-export-webview.js
["INFO" - 12:16:34 PM] Using ignore file (if present) at /Users/cardomar/Web/uxf-sple-tf/.prettierignore
["INFO" - 12:16:34 PM] Loaded module 'prettier@1.19.1' from '/Users/cardomar/Web/uxf-sple-tf/node_modules/prettier/index.js'
["INFO" - 12:16:34 PM] File Info:
{
"ignored": false,
"inferredParser": "babel"
}
["INFO" - 12:16:34 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 12:16:34 PM] Prettier Options:
{
"filepath": "/Users/cardomar/Web/uxf-sple-tf/src/sple/resources/run-export-webview.js",
"parser": "babel",
"useTabs": false,
"tabWidth": 2,
"printWidth": 120,
"endOfLine": "lf",
"semi": false,
"singleQuote": true
}
["INFO" - 12:16:34 PM] Loaded module 'prettier-eslint@unknown' from '/Users/cardomar/Web/uxf-sple-tf/node_modules/prettier-eslint/dist/index.js'
["INFO" - 12:16:34 PM] Formatting using 'prettier-eslint'
["INFO" - 12:16:39 PM] Formatting completed in 769.107933ms.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Running Save Participants Takes forever to load. Cannot see ...
Saving is not always slow. Sometimes saving is slow, but not slow enough to cause the "Running Save Participants" notification to appear.
Read more >Running Save Participants runs forever on File Save
In my VS Code, it's an issue that comes from an installed Extension. How to find an extension did not work? Open the...
Read more >Here's How to Make VSCode Faster
To check if you're running on the latest version of VS Code, do the following: On Mac, go to Code > About Visual...
Read more >Hold large remote events - Google Workspace Learning Center
1 Create an event with internal and external guests · In Calendar, click Create "" · Add the event title, date, and time....
Read more >Proof That It Doesn't Matter How Slow You Go
Seriously—it's science! A new study shows that your speed doesn't matter when it comes to increasing cardiovascular health.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this should be reopened.
I’m also seeing very long save times recently (probably from when VSCode moved away from the timeout option as referenced by @brombomb). Disabling the prettier extension is the only thing that solves the issue right now.
Although the logs say that formatting only takes 677ms, the actual time from when I hit cmd+s to
Formatting completed..
is 11 seconds.Same issue right now