Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode setting config error #843

Closed
binsee opened this issue Oct 2, 2017 · 0 comments · Fixed by #844
Closed

vscode setting config error #843

binsee opened this issue Oct 2, 2017 · 0 comments · Fixed by #844

Comments

@binsee
Copy link
Member

binsee commented Oct 2, 2017

file './vscode/settings.json'

{
    "typescript.tsdk": "./node_modules/typescript/lib"
  , "typescript.check.tscVersion": false
  , "files.exclude": {
      "dist/": true
    , "doc/": true
    , "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.
    }
}

The last position is missing a '}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant