Skip to main content
Go to Latest
method LanguageService.prototype.getFormattingEditsForDocument
import { LanguageService } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Gets the formatting edits for a document.

Parameters

filePath: string
  • File path of the source file.
formatSettings: FormatCodeSettings
  • Format code settings.