RAPIKAN.
GitHub

Global Settings

rapikan.removeCommentsOnFormat
boolean

Automatically remove all comments when formatting the document (Shift + Alt + F)


Default

false
rapikan.printWidth
number

Specify the line length that the printer will wrap on


Default

80
rapikan.tabWidth
number

Number of spaces per indentation-level


Default

2
rapikan.useTabs
boolean

Indent lines with tabs instead of spaces


Default

false
rapikan.semi
boolean

Print semicolons at the ends of statements


Default

true
rapikan.singleQuote
boolean

Use single quotes instead of double quotes


Default

false
rapikan.jsxSingleQuote
boolean

Use single quotes instead of double quotes in JSX


Default

false
rapikan.trailingComma
string

Print trailing commas wherever possible


Default

"all"

Options

alles5none
rapikan.bracketSpacing
boolean

Print spaces between brackets in object literals


Default

true
rapikan.bracketSameLine
boolean

Put the > of a multi-line HTML/JSX element at the end of the last line


Default

false
rapikan.arrowParens
string

Include parentheses around a sole arrow function parameter


Default

"always"

Options

alwaysavoid
rapikan.endOfLine
string

Line ending flavor


Default

"lf"

Options

lfcrlfcrauto
rapikan.singleAttributePerLine
boolean

Enforce single attribute per line in HTML, Vue, and JSX


Default

false
rapikan.proseWrap
string

How to wrap prose (Markdown text).


Default

"preserve"

Options

alwaysneverpreserve