ES6 param destructuring options for spacing

For ES6 imports we can set the spacing so that we have something like 

import { myService } from ....

However I haven't been able to find the same setting for destructuring in es6 

const { var1, var2, var3 } = myObject;

2 comments

Spaces within destructuring object patterns are configured by 'Spaces -> Within -> Object literal braces'.

let { treeIndex, treeRoot } = getTreeItem();
2

Thanks Elena, I think my brain just stopped working while I was looking for this today :) 

0

Please sign in to leave a comment.