prettier-vscode icon indicating copy to clipboard operation
prettier-vscode copied to clipboard

when Prettier, vetur, and Volar are on, VScode changes to outside

Open ligouhai opened this issue 3 years ago • 6 comments

When I have 2 projects, VUE2 and VUE3, I have to install extensions outside Prettier, vetur, and Volar. When all 3 of them open at the same time, VSCode gets very slow, every single letter takes half a day, and the MAC gets very slow too

ligouhai avatar Aug 15 '22 08:08 ligouhai

Saving code once takes half a day to load, and VScode will prompt you for this in the lower right corner 47C7F238-5287-4E2E-8B4C-E9E5E137F9BE

ligouhai avatar Aug 15 '22 08:08 ligouhai

Macbook process occupancy is up to 90% 03456A30-6055-49C2-B646-04D4EDA02D4B

ligouhai avatar Aug 15 '22 08:08 ligouhai

I am not able to reproduce this issue. A lot of the time these issues are caused by various version and config settings that are difficult to duplicate. Please provide a sample Github repo that I can use to duplicate this issue. For more details see this guide.

ntotten avatar Aug 20 '22 19:08 ntotten

This bug is missing information needed to diagnose the problem. Please see our guide on how to open a good issue and provide the missing information.

github-actions[bot] avatar Aug 20 '22 19:08 github-actions[bot]

我无法重现此问题。很多时候,这些问题是由难以复制的各种版本和配置设置引起的。请提供一个示例 Github 存储库,我可以使用它来复制此问题。有关更多详细信息,请参阅本指南

["INFO" - 2:31:10 PM] Extension Name: esbenp.prettier-vscode.
["INFO" - 2:31:10 PM] Extension Version: 9.5.0.
["INFO" - 11:22:15 AM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/index.vue
["INFO" - 11:22:15 AM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 11:22:15 AM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 11:22:15 AM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 11:22:15 AM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 11:22:15 AM] Formatting completed in 0.726ms.
["INFO" - 11:23:51 AM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/index.vue
["INFO" - 11:23:51 AM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 11:23:51 AM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 11:23:51 AM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 11:23:51 AM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 11:23:51 AM] Formatting completed in 0.079ms.
["INFO" - 2:08:20 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 2:08:20 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 2:08:20 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 2:08:20 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 2:08:20 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 2:08:20 PM] Formatting completed in 0.16ms.
["INFO" - 2:09:13 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 2:09:13 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 2:09:13 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 2:09:13 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 2:09:13 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 2:09:13 PM] Formatting completed in 0.061ms.
["INFO" - 2:20:24 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 2:20:24 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 2:20:24 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 2:20:24 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 2:20:24 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 2:20:24 PM] Formatting completed in 0.083ms.
["INFO" - 2:20:46 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 2:20:46 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 2:20:46 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 2:20:46 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 2:20:46 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 2:20:46 PM] Formatting completed in 0.047ms.
["INFO" - 2:25:45 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 2:25:45 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 2:25:45 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 2:25:45 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 2:25:45 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 2:25:45 PM] Formatting completed in 0.063ms.
["INFO" - 4:00:50 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/www.whmall.com/pages/brand-activity/detail/components/article-detail.vue
["INFO" - 4:00:50 PM] Using config file at '/Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/.prettierrc'
["INFO" - 4:00:50 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/.prettierignore
["INFO" - 4:00:50 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 4:00:50 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 4:00:50 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/pages/brand-activity/detail/components/article-detail.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf",
  "eslintIntegration": true,
  "semi": false,
  "singleQuote": true,
  "printWidth": 120,
  "arrowParens": "avoid"
}
["INFO" - 4:00:51 PM] Formatting completed in 0.469ms.
["INFO" - 4:12:15 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/www.whmall.com/pages/brand-activity/detail/components/article-detail.vue
["INFO" - 4:12:15 PM] Using config file at '/Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/.prettierrc'
["INFO" - 4:12:15 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/.prettierignore
["INFO" - 4:12:15 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 4:12:15 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 4:12:15 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/www.whmall.com/pages/brand-activity/detail/components/article-detail.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf",
  "eslintIntegration": true,
  "semi": false,
  "singleQuote": true,
  "printWidth": 120,
  "arrowParens": "avoid"
}
["INFO" - 4:12:15 PM] Formatting completed in 0.319ms.
["INFO" - 4:23:47 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 4:23:47 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 4:23:47 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 4:23:47 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 4:23:47 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 4:23:47 PM] Formatting completed in 0.233ms.
["INFO" - 4:27:04 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue
["INFO" - 4:27:04 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 4:27:04 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 4:27:04 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 4:27:04 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/page-report/index.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 4:27:04 PM] Formatting completed in 0.16ms.
["INFO" - 1:40:19 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue
["INFO" - 1:40:19 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 1:40:19 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 1:40:19 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 1:40:19 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 1:40:19 PM] Formatting completed in 0.137ms.
["INFO" - 1:42:44 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue
["INFO" - 1:42:44 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 1:42:44 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 1:42:44 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 1:42:44 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 1:42:44 PM] Formatting completed in 0.048ms.
["INFO" - 3:51:00 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/%E7%BD%91%E5%8C%96%E5%95%86%E5%9F%8E/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue
["INFO" - 3:51:00 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/.prettierignore
["INFO" - 3:51:00 PM] File Info:
{
  "ignored": false,
  "inferredParser": "vue"
}
["INFO" - 3:51:00 PM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 3:51:00 PM] Prettier Options:
{
  "filepath": "/Users/legalhigh/Work/上海易势化工/网化商城/admin.whmall.com/src/views/data-center/data-analysis/buried-point-visual/station-overview/components/pie-chart.vue",
  "parser": "vue",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf"
}
["INFO" - 3:51:00 PM] Formatting completed in 0.141ms.
["INFO" - 5:08:26 PM] Formatting file:///Users/legalhigh/Work/%E4%B8%8A%E6%B5%B7%E6%98%93%E5%8A%BF%E5%8C%96%E5%B7%A5/test/chart.html
["INFO" - 5:08:26 PM] Using ignore file (if present) at /Users/legalhigh/Work/上海易势化工/test/.prettierignore
["INFO" - 5:08:26 PM] File Info:
{
  "ignored": false,
  "inferredParser": "html"
}
["INFO" - 5:08:26 PM] No local configuration (i.e. .prettierrc or .editorconfig) detected, falling back to VS Code configuration
["INFO" - 5:08:26 PM] Prettier Options:
{
  "arrowParens": "always",
  "bracketSpacing": true,
  "endOfLine": "lf",
  "htmlWhitespaceSensitivity": "css",
  "insertPragma": false,
  "jsxBracketSameLine": false,
  "jsxSingleQuote": false,
  "printWidth": 80,
  "proseWrap": "preserve",
  "quoteProps": "as-needed",
  "requirePragma": false,
  "semi": true,
  "singleQuote": false,
  "tabWidth": 4,
  "trailingComma": "es5",
  "useTabs": false,
  "vueIndentScriptAndStyle": false,
  "filepath": "/Users/legalhigh/Work/上海易势化工/test/chart.html",
  "parser": "html"
}
["INFO" - 5:08:26 PM] Formatting completed in 0.396ms.

ligouhai avatar Aug 26 '22 02:08 ligouhai

This bug is missing information needed to diagnose the problem. Please see our guide on how to open a good issue and provide the missing information.

github-actions[bot] avatar Aug 29 '22 11:08 github-actions[bot]

This issue has been labeled as stale due to inactivity. Reply to keep this issue open.

github-actions[bot] avatar Apr 22 '23 13:04 github-actions[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Jul 30 '23 00:07 github-actions[bot]