From 02299918b178f49a2a3f2b203d371dface00c262 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Thu, 31 Aug 2017 16:00:40 +0800 Subject: [PATCH] add(Better Align): add align rules(#745) --- .vscode/settings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 432ab257..ec8626af 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,4 +7,14 @@ , "node_modules/": true , "package/": true } + , "alignment": { + "operatorPadding": "right" + , "indentBase": "firstline" + , "surroundSpace": { + "colon": [-1, 1], // The first number specify how much space to add to the left, can be negative. The second number is how much space to the right, can be negative. + "assignment": [1, 1], // The same as above. + "arrow": [1, 1], // The same as above. + "comment": 2 // Special how much space to add between the trailing comment and the code. + // If this value is negative, it means don't align the trailing comment. + } } -- GitLab