Skip to content

Svelte for VS Code is inserting 2 spaces at document formating, instead tab (with size 4), as is set in VS Code. #539

@Mlocik97

Description

@Mlocik97

To Reproduce
Steps to reproduce the behavior:
install Svelte for VS Code
npx degit svelte/sapper-template#rollup
open for example _error.svelte
set "intend using tab size 4" and convert
ctrl+shift+i -> get two spaces.

<svelte:head>
  <title>{status}</title>
</svelte:head>

<h1>{status}</h1>

<p>{error.message}</p>

{#if dev && error.stack}
  <pre>{error.stack}</pre>
{/if}

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
Snímka obrazovky z 2020-09-14 16-07-53

System (please complete the following information):

  • OS: Ubuntu 20.04
  • IDE: VS Code
  • Plugin/Package: [Svelte for Code]

Metadata

Metadata

Assignees

Labels

FixedFixed in master branch. Pending production release.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions