Module

x/ts_morph/ts_morph.d.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@18.0.0/ts_morph.d.ts";

Holds the manipulation settings.

Constructors

new
ManipulationSettingsContainer()

Properties

private
_editorSettings
private
_formatCodeSettings
private
_userPreferences

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.