Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update description of vueIndentScriptAndStyle option #2775

Merged
merged 5 commits into from Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.nls.json
Expand Up @@ -35,7 +35,7 @@
"ext.config.trailingComma": "Controls the printing of trailing commas wherever possible. Valid options:\n- `none` - No trailing commas\n- `es5` - Trailing commas where valid in ES5 (objects, arrays, etc)\n- `all` - Trailing commas wherever possible (function arguments)",
"ext.config.useEditorConfig": "Whether or not to take `.editorconfig` into account when parsing configuration. See the [prettier.resolveConfig](https://prettier.io/docs/en/api.html) docs for details.",
"ext.config.useTabs": "Indent lines with tabs",
"ext.config.vueIndentScriptAndStyle": "Whether or not to indent the code inside `<script>` and `<style>` tags in Vue files. Some people (like the creator of Vue) don’t indent to save an indentation level, but this might break code folding in your editor.",
"ext.config.vueIndentScriptAndStyle": "Whether or not to indent the code inside `<script>` and `<style>` tags in Vue files.",
"ext.config.embeddedLanguageFormatting": "Control whether Prettier formats quoted code embedded in the file.",
"ext.config.enable": "Controls whether prettier is enabled or not.",
"ext.config.enableDebugLogs": "Enable debug logs for troubleshooting.",
Expand Down
2 changes: 1 addition & 1 deletion package.nls.zh-cn.json
Expand Up @@ -27,7 +27,7 @@
"ext.config.trailingComma": "指定添加尾后逗号的方式。选项:`none`──无尾后逗号、 `es5`──在 ES5 中有效的尾后逗号(如对象与数组等)、 `all`──尽可能添加尾后逗号(如函数参数)",
"ext.config.useEditorConfig": "使用 `.editorconfig` 中的配置方案。[参考文档 prettier.resolveConfig](https://prettier.io/docs/en/api.html)",
"ext.config.useTabs": "使用 `Tab` 缩进,而不是空格缩进",
"ext.config.vueIndentScriptAndStyle": "缩进 Vue 的 `<script>` 和 `<style>` 标签。在这个问题上,[祖师爷](https://github.com/prettier/prettier/issues/3888#issuecomment-459521863)是不缩进的。可能会影响到编辑器的代码折叠功能",
"ext.config.vueIndentScriptAndStyle": "缩进 Vue 的 `<script>` 和 `<style>` 标签。",
"ext.config.embeddedLanguageFormatting": "对引号中代码使用智能格式化",
"ext.config.enable": "启用 Prettier。更改后需要重启 VS Code",
"ext.config.enableDebugLogs": "启用调试日志",
Expand Down
2 changes: 1 addition & 1 deletion package.nls.zh-tw.json
Expand Up @@ -32,7 +32,7 @@
"ext.config.trailingComma": "在可能的情況下控制結尾的逗號。可用的選項:\n- `none` - 不要結尾逗號\n- `es5` - 只要合乎 ES5 規範就加上結尾逗號(物件、陣列等其他)\n- `all` - 只要可以就加上結尾逗號(函式引數)",
"ext.config.useEditorConfig": "在解析組態時是否要涵蓋 `.editorconfig` 。參閱 [prettier.resolveConfig](https://prettier.io/docs/en/api.html) 文件取得更多細節",
"ext.config.useTabs": "使用 tabs 來縮排",
"ext.config.vueIndentScriptAndStyle": "是否要在 Vue 檔案中對 `<script>` 和 `<style>` 標籤內的程式碼縮排。有些人(譬如 Vue 的作者)為了減少縮排層級而選擇不縮排,但這或許會破壞編輯器的摺疊程式碼。",
"ext.config.vueIndentScriptAndStyle": "是否要在 Vue 檔案中對 `<script>` 和 `<style>` 標籤內的程式碼縮排。",
"ext.config.embeddedLanguageFormatting": "控制 Prettier 是否要針對遷入在檔案內的引用程式碼進行排版。",
"ext.config.enable": "控制 prettier 啟用與否。",
"ext.config.enableDebugLogs": "啟用偵錯紀錄來協助疑難排解。",
Expand Down