Skip to main content
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://deno.land/x/ts_morph@15.1.0/mod.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.