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

Indent size is ignored and only works on first line #105

Open
crtl opened this issue Jul 14, 2022 · 0 comments
Open

Indent size is ignored and only works on first line #105

crtl opened this issue Jul 14, 2022 · 0 comments

Comments

@crtl
Copy link

crtl commented Jul 14, 2022

Currently the plugin seems to be using 2 spaces for indents only and ignores the configured indent size in PHPStorm.

  • IDE name and version:
PhpStorm 2022.1.3
Build #PS-221.5921.28, built on June 22, 2022
Runtime version: 11.0.15+10-b2043.56 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2040M
Cores: 8
Registry:
    run.processes.with.pty=TRUE

Non-Bundled Plugins:
    de.espend.idea.localization (0.0.6)
    com.intellij.ideolog (203.0.30.0)
    com.bluewaitor.tsReact (1.4.0)
    intellij.prettierJS (221.5921.12)
    com.deadlock.scsyntax (221.5921.12)
    ru.adelf.idea.dotenv (2022.1)

  • Styled-components plugin version:
    5.3.5

Problem description:

const Comp = styled.div`
    press enter at above line starts indenting with 4 spaces (which is configured in PHPStorm).
  but pressing enter again continues with 2 spaces.
  and so forth
`;
@crtl crtl changed the title [Feature Request/Bug] Support indent size Indent size is ignored and only works on first line Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant