Added Prettier for JavaScript formatting

This commit is contained in:
Indu Prakash 2022-10-28 06:11:20 -05:00
parent cc606b37ee
commit 1a5a1e694d
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,6 @@
{
"recommendations": [
"ms-vscode.cpptools"
"ms-vscode.cpptools",
"esbenp.prettier-vscode"
]
}

View File

@ -12,5 +12,8 @@
"editor.insertSpaces": false,
"editor.tabSize": 4,
"editor.detectIndentation": false,
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, UseTab: Always, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Attach, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }"
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM, UseTab: Always, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Attach, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }",
"prettier.tabWidth": 4,
"prettier.useTabs": true,
"prettier.printWidth": 120
}