Tab key always puts in 4 spaces, no matter what the settings

Just set up PHPStorm on a colleagues machine, but even with all settings set to indent to 2 spaces, tab keeps inserting 4 spaces or 1 tab. 

Auto-format resets everything as expected, but tab doesn't play ball.

 

This is happening primarily in the script block of a Vue file.

 

 

We've tried the following things to fix it, but none have worked:

  • default and project settings for javascript (
  • editor config (doesn't work for language injection, only full files)
  • setting the script tag type to "es6"

 

Can someone help?

0
Avatar
Permanently deleted user

Hello,

Please share a code example where indentation does not work as expected.

0

I'll grab a screen capture in the next day or so, thanks

 

0

请先登录再写评论。