About 2,040,000 results
Open links in new tab
  1. How do I format a date in JavaScript? - Stack Overflow

    How do I format a Javascript Date object as a string? (Preferable format: 10-Aug-2010)

  2. How can I beautify JavaScript code using Command Line?

    Aug 20, 2008 · I am writing a batch script in order to beautify JavaScript code. It needs to work on both Windows and Linux. How can I beautify JavaScript code using the command line tools?

  3. How to format numbers as currency strings? - Stack Overflow

    I would like to format a price in JavaScript. I'd like a function which takes a float as an argument and returns a string formatted like this: $ 2,500.00 How can I do this?

  4. How to format/tidy/beautify in JavaScript - Stack Overflow

    21 @lovasoa How to format/tidy/beautify in JavaScript is an excellent solution. rock-solid, much better than vkBeautify or even CodeMirror (hard to use AMD) and VERY easy

  5. How do you change the formatting options in Visual Studio Code?

    May 6, 2015 · Beautify javascript, JSON, CSS, Sass, and HTML in Visual Studio Code. VS Code uses js-beautify internally, but it lacks the ability to modify the style you wish to use.

  6. How to make "Prettier" the default formatter in VS Code?

    Sep 18, 2020 · 130 I've installed Prettier extension in VS Code, and when I attempt to format a file, VS Code asked me: Do you want to format with the default formatter or with prettier …

  7. JavaScript equivalent to printf/String.Format - Stack Overflow

    Mar 4, 2009 · I'm looking for a good JavaScript equivalent of the C/PHP printf() or for C#/Java programmers, String.Format() (IFormatProvider for .NET). My basic requirement is a thousand …

  8. Is it possible to indent JavaScript code in Notepad++?

    May 11, 2019 · I have some JavaScript code that is written in one line (no carriage returns), it's completely unreadable... With Notepad++, I tried to replace these characters ({, }, ;) by …

  9. What is the default javascript formatter plugin for vscode?

    Jun 18, 2021 · I don't remember ever installing a javascript formatter with VS code I've just been using the default. From what I can tell this plugin is the actual formatter being used …

  10. Why does Prettier not format code in VS Code? - Stack Overflow

    Oct 1, 2018 · In my Nuxt application where ESlint and Prettier are installed and enabled, I switched to Visual Studio Code. When I open a .vue file and press CMD+ Shift + P and …