Module

x/ts_morph/mod.ts>ManipulationSettingsContainer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class ManipulationSettingsContainer
import { ManipulationSettingsContainer } from "https://dotland.deno.dev/x/ts_morph@21.0.0/mod.ts";

Holds the manipulation settings.

Constructors

new
ManipulationSettingsContainer()

Methods

Gets the editor settings based on the current manipulation settings.

Gets the format code settings.

Gets the indentation text.

Gets the new line kind.

getNewLineKindAsString(): "\r\n" | "\n"

Gets the new line kind as a string.

Gets the quote kind used for string literals.

Gets whether to use prefix and suffix text when renaming.

Gets the user preferences.

Gets whether trailing commas should be used.

set(settings: Partial<ManipulationSettings>): void

Sets one or all of the settings.