About 50 results
Open links in new tab
  1. How do you format code in Visual Studio Code (VSCode)?

    Apr 30, 2015 · For all those struggling to get the formatting work even after trying the valid combinations in Visual Studio Code, don't forget to select the appropriate programming language type, it is at the …

  2. 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.

  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 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)

  5. 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?

  6. javascript - How to format numbers? - Stack Overflow

    const nFormat = new Intl.NumberFormat(undefined, {minimumFractionDigits: 2}); const count = 42000000; console.log(nFormat.format(count)); // 42,000,000.00 in some locales, // 42.000.000,00 in …

  7. 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 lonefy.vscode-js-css-html-

  8. 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 …

  9. javascript - Visual Studio code formatter - Stack Overflow

    Mar 2, 2016 · I'm using Visual Studio 2008 for doing work in C# and JavaScript (AJAXy stuff). Here's my issue -- I love Eclipse and especially the code formatted (Ctrl-Shift-F).

  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 choose Format …