VueJS: Increase max identation

Answered

Hi,

I've found out that Rider formats a vue typescript file with a maximum of 5 identation, but then, the compilation process fails as "6 identations are expected, but the current is 5".

 

Is there an option to set the max identation or is this hard coded?

 

PS: Is there also a way to make "auto-imports" (use the intellisense suggested imports) use double quotes instead of single quotes?

0
3 comments

Hi Tabaloa

You can set indents in `File | Settings | Editor | Code Style | Vue template`. 

 

Do you mean IntelliSense for typescript files? 

0

No, I dont mean IntelliSense. After more investigation it seems like there is a problem with lambda expressions, sometimes they are indented incorrectly, like here

The lambda of the finally block should be indented by one more tab. And the last line should be indented by one more tab too.

It seems like it's happening often with finally blocks as far as I can tell.

 

0

Please sign in to leave a comment.