|
261 | 261 | "type": "boolean", |
262 | 262 | "default": true, |
263 | 263 | "title": "Svelte: Format", |
264 | | - "description": "Enable formatting for Svelte (includes css & js). You can set some formatting options through this extension. They will be ignored if there's a `.prettierrc` configuration file." |
| 264 | + "description": "Enable formatting for Svelte (includes css & js). You can set some formatting options through this extension. They will be ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
265 | 265 | }, |
266 | 266 | "svelte.plugin.svelte.format.config.svelteSortOrder": { |
267 | 267 | "type": "string", |
268 | 268 | "default": "options-scripts-markup-styles", |
269 | 269 | "title": "Svelte Format: Sort Order", |
270 | | - "description": "Format: join the keys `options`, `scripts`, `markup`, `styles` with a - in the order you want" |
| 270 | + "description": "Format: join the keys `options`, `scripts`, `markup`, `styles` with a - in the order you want. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
271 | 271 | }, |
272 | 272 | "svelte.plugin.svelte.format.config.svelteStrictMode": { |
273 | 273 | "type": "boolean", |
274 | 274 | "default": false, |
275 | 275 | "title": "Svelte Format: Strict Mode", |
276 | | - "description": "More strict HTML syntax" |
| 276 | + "description": "More strict HTML syntax. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
277 | 277 | }, |
278 | 278 | "svelte.plugin.svelte.format.config.svelteAllowShorthand": { |
279 | 279 | "type": "boolean", |
280 | 280 | "default": true, |
281 | 281 | "title": "Svelte Format: Allow Shorthand", |
282 | | - "description": "Option to enable/disable component attribute shorthand if attribute name and expression are the same" |
| 282 | + "description": "Option to enable/disable component attribute shorthand if attribute name and expression are the same. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
283 | 283 | }, |
284 | 284 | "svelte.plugin.svelte.format.config.svelteBracketNewLine": { |
285 | 285 | "type": "boolean", |
286 | 286 | "default": true, |
287 | 287 | "title": "Svelte Format: Bracket New Line", |
288 | | - "description": "Put the `>` of a multiline element on a new line" |
| 288 | + "description": "Put the `>` of a multiline element on a new line. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
289 | 289 | }, |
290 | 290 | "svelte.plugin.svelte.format.config.svelteIndentScriptAndStyle": { |
291 | 291 | "type": "boolean", |
292 | 292 | "default": true, |
293 | 293 | "title": "Svelte Format: Indent Script And Style", |
294 | | - "description": "Whether or not to indent code inside `<script>` and `<style>` tags" |
| 294 | + "description": "Whether or not to indent code inside `<script>` and `<style>` tags. This option is ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
295 | 295 | }, |
296 | 296 | "svelte.plugin.svelte.format.config.printWidth": { |
297 | 297 | "type": "number", |
298 | 298 | "default": 80, |
299 | 299 | "title": "Svelte Format: Print Width", |
300 | | - "description": "Maximum line width after which code is tried to be broken up. This is a Prettier core option. If you have the Prettier extension installed, this option is ignored and the corresponding option of that extension is used instead." |
| 300 | + "description": "Maximum line width after which code is tried to be broken up. This is a Prettier core option. If you have the Prettier extension installed, this option is ignored and the corresponding option of that extension is used instead. This option is also ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
301 | 301 | }, |
302 | 302 | "svelte.plugin.svelte.format.config.singleQuote": { |
303 | 303 | "type": "boolean", |
304 | 304 | "default": false, |
305 | 305 | "title": "Svelte Format: Quotes", |
306 | | - "description": "Use single quotes instead of double quotes, where possible. This is a Prettier core option. If you have the Prettier extension installed, this option is ignored and the corresponding option of that extension is used instead." |
| 306 | + "description": "Use single quotes instead of double quotes, where possible. This is a Prettier core option. If you have the Prettier extension installed, this option is ignored and the corresponding option of that extension is used instead. This option is also ignored if there's any kind of configuration file, for example a `.prettierrc` file." |
307 | 307 | }, |
308 | 308 | "svelte.plugin.svelte.completions.enable": { |
309 | 309 | "type": "boolean", |
|
0 commit comments