Global Settings
rapikan.removeCommentsOnFormatAutomatically remove all comments when formatting the document (Shift + Alt + F)
Default
falserapikan.printWidthSpecify the line length that the printer will wrap on
Default
80rapikan.tabWidthNumber of spaces per indentation-level
Default
2rapikan.useTabsIndent lines with tabs instead of spaces
Default
falserapikan.semiPrint semicolons at the ends of statements
Default
truerapikan.singleQuoteUse single quotes instead of double quotes
Default
falserapikan.jsxSingleQuoteUse single quotes instead of double quotes in JSX
Default
falserapikan.trailingCommaPrint trailing commas wherever possible
Default
"all"Options
alles5nonerapikan.bracketSpacingPrint spaces between brackets in object literals
Default
truerapikan.bracketSameLinePut the > of a multi-line HTML/JSX element at the end of the last line
Default
falserapikan.arrowParensInclude parentheses around a sole arrow function parameter
Default
"always"Options
alwaysavoidrapikan.endOfLineLine ending flavor
Default
"lf"Options
lfcrlfcrautorapikan.singleAttributePerLineEnforce single attribute per line in HTML, Vue, and JSX
Default
falserapikan.proseWrapHow to wrap prose (Markdown text).
Default
"preserve"Options
alwaysneverpreserve