Skip to main content
Latest
method LanguageService.prototype.getFormattingEditsForDocument
import { LanguageService } from "https://deno.land/x/deno2node@v1.12.0/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.