I want tide to format my code so, that array literals look like this: [ 0, 1, 2 ] but indexing an array looks like this: someArray[0].
When setting the insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets to t, the second one looks like this: someArray[ 0 ], but when setting it to nil, the first one looks like this: [0, 1, 2]
Please, if you have the time and capacity, make an option to leave brackets unchanged or even better to insert space only at array literals, but not on indexing. Thanks in advance!
I want tide to format my code so, that array literals look like this:
[ 0, 1, 2 ]
but indexing an array looks like this:someArray[0]
.When setting the
insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets
tot
, the second one looks like this:someArray[ 0 ]
, but when setting it tonil
, the first one looks like this:[0, 1, 2]
Please, if you have the time and capacity, make an option to leave brackets unchanged or even better to insert space only at array literals, but not on indexing. Thanks in advance!
Coddra