JavaScript Formatter

JavaScript Formatter Spket IDE provide a powerful source code formatter for JavaScript.

The JavaScript formatter has some widely options to control the formatting details of your JavaScript code, including indentation, brace positon, line wrapping, etc.

Features

  • Align field literals in columns. screenshot
  • Indentation settings for blocks, object literals and other JavaScript elements.
  • Controls brace positions for blocks, object literals and other JavaScript elements.
  • Controls the white space used to separate individual JavaScript elements like operators, parentheses, braces and brackets...
  • Controls the insertion of blank lines before and after statements or declarations.
  • Intelligent line wrapping for arguments, array elements...
  • Comment formatting