JS autoformat code issue

Hi there, need to remove this space after tabs, is there any possibility to do this? 

1
5 comments

can't recreate:

What do your settings for Editor | Code Style | JavaScript | Tabs and Indents look like? Such issues may occur when you choose to indent code using tabs, but set the indent/continuation indent width to a value not divisible by specified tab size

0
Avatar
Permanently deleted user

Elena, here they are 

Maybe full config will be more valueble, here it is https://gist.github.com/sssats/dc76571f0403247920555493d33994fd

0

hmm... works for me using similar setup. There must be some option that affects this. Please can you provide your code style settings (%WebStorm config dir%/codestyles/<your schema name>.xml)?

0
Avatar
Permanently deleted user

Elena, i updated post, maybe you didn't notice, here is my config file https://gist.github.com/sssats/dc76571f0403247920555493d33994fd

0

Thanks:) the problem is that, when function parameters are wrapped and aligned, the indent size is not always divisible by tab size (in the example shown in preview, indent is 17)... Not sure how this can be avoided

0

Please sign in to leave a comment.