Skip to main content
Module

x/deno2node/src/deps.deno.ts>ManipulationSettingsContainer

Compile your Deno project to run on Node.js.
Go to Latest
class ManipulationSettingsContainer
import { ManipulationSettingsContainer } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.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.