Skip to main content
Module

x/ts_morph/ts_morph.d.ts>LanguageService#getFormattingEditsForRange

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method LanguageService.prototype.getFormattingEditsForRange
import { LanguageService } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Gets the formatting edits for a range.

Parameters

filePath: string
  • File path.
range: [number, number]
  • Position range.
formatSettings: FormatCodeSettings
  • Format code settings.