Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Unable to write in VScode settings

It seems i am unable to write in any new setting as my settings.json has an error of some kind. I have tried removing certain duplicate lines and also adding new brackets to see if it would assist with the issue but so far i have not been able to figure out the problem. Here is what i have managed to do so far,

{
  "editor.suggest.localityBonus": true,
  "editor.suggest.statusBar.visible": true,
  "editor.quickSuggestions": null,
  "editor.snippetSuggestions": "bottom",
  "files.autoSave": "afterDelay",
  "liveServer.settings.donotShowInfoMsg": true,
  "workbench.iconTheme": "material-icon-theme",
  "prettier.jsxSingleQuote": true,
  "prettier.singleQuote": true,
  "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
  "workbench.colorTheme": "Monokai Pro (Filter Spectrum)",
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "emmet.preferences": {
  
  },
  "workbench.editorAssociations": {
    "*.ipynb": "jupyter.notebook.ipynb"
  },
  "mssql.connections": [
    {
      "server": "{{put-server-name-here}}",
      "database": "{{put-database-name-here}}",
      "user": "{{put-username-here}}",
      "password": "{{put-password-here}}"
    }
  ],
  "security.workspace.trust.untrustedFiles": "open",
  "editor.fontSize": 18,
  "editor.tabSize": 3,
  "editor.guides.bracketPairs": true
  {
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs":"active"
}
}

I get an error saying "expected comma Ln33 col 3" and "end of file expected at Ln 37"

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Change from:

 "editor.guides.bracketPairs": true
  {
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs":"active"
}

to

 "editor.guides.bracketPairs": true,  // choose true/false/active
 // {                                 // gat rid of this {
 "editor.bracketPairColorization.enabled": true,
// "editor.guides.bracketPairs":"active"
// }                                 // get rid of this }
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading