Class: NormalizedIDE
libs/common/ide/normalized/NormalizedIDE.NormalizedIDE
Hierarchy
↳
NormalizedIDE
Constructors
constructor
• new NormalizedIDE(original
, fakeIde
, isSilent
)
Parameters
Name | Type |
---|---|
original | IDE |
fakeIde | FakeIDE |
isSilent | boolean |
Overrides
PassthroughIDEBase.constructor
Defined in
libs/common/ide/normalized/NormalizedIDE.ts:13
Properties
clipboard
• clipboard: FakeClipboard
Overrides
Defined in
libs/common/ide/normalized/NormalizedIDE.ts:11
configuration
• configuration: FakeConfiguration
Overrides
PassthroughIDEBase.configuration
Defined in
libs/common/ide/normalized/NormalizedIDE.ts:9
globalState
• globalState: FakeGlobalState
Overrides
PassthroughIDEBase.globalState
Defined in
libs/common/ide/normalized/NormalizedIDE.ts:10
messages
• messages: Messages
Inherited from
Defined in
libs/common/ide/PassthroughIDEBase.ts:13
Accessors
activeEditableTextEditor
• get
activeEditableTextEditor(): undefined
| EditableTextEditor
Returns
undefined
| EditableTextEditor
Inherited from
PassthroughIDEBase.activeEditableTextEditor
Defined in
libs/common/ide/PassthroughIDEBase.ts:26
activeTextEditor
• get
activeTextEditor(): undefined
| TextEditor
Returns
undefined
| TextEditor
Inherited from
PassthroughIDEBase.activeTextEditor
Defined in
libs/common/ide/PassthroughIDEBase.ts:22
assetsRoot
• get
assetsRoot(): string
Returns
string
Inherited from
PassthroughIDEBase.assetsRoot
Defined in
libs/common/ide/PassthroughIDEBase.ts:34
runMode
• get
runMode(): RunMode
Returns
Inherited from
PassthroughIDEBase.runMode
Defined in
libs/common/ide/PassthroughIDEBase.ts:38
visibleTextEditors
• get
visibleTextEditors(): TextEditor
[]
Returns
Inherited from
PassthroughIDEBase.visibleTextEditors
Defined in
libs/common/ide/PassthroughIDEBase.ts:30
workspaceFolders
• get
workspaceFolders(): undefined
| readonly WorkspaceFolder
[]
Returns
undefined
| readonly WorkspaceFolder
[]
Inherited from
PassthroughIDEBase.workspaceFolders
Defined in
libs/common/ide/PassthroughIDEBase.ts:42
Methods
disposeOnExit
▸ disposeOnExit(...disposables
): () => void
Register disposables to be disposed of on IDE exit.
Parameters
Name | Type |
---|---|
...disposables | Disposable [] |
Returns
fn
▸ (): void
Returns
void
Inherited from
PassthroughIDEBase.disposeOnExit
Defined in
libs/common/ide/PassthroughIDEBase.ts:56
getEditableTextEditor
▸ getEditableTextEditor(editor
): EditableTextEditor
Get an editable version of the text editor.
Parameters
Name | Type |
---|---|
editor | TextEditor |
Returns
Inherited from
PassthroughIDEBase.getEditableTextEditor
Defined in
libs/common/ide/PassthroughIDEBase.ts:46
initializeConfiguration
▸ Private
initializeConfiguration(): void
Returns
void
Defined in
libs/common/ide/normalized/NormalizedIDE.ts:24
onDidChangeTextDocument
▸ onDidChangeTextDocument(listener
): Disposable
An event that is emitted when a text document is changed. This usually happens when the contents changes but also when other things like the {@link TextDocument.isDirty dirty}-state changes.
Parameters
Name | Type |
---|---|
listener | (event : TextDocumentChangeEvent ) => void |
Returns
Inherited from
PassthroughIDEBase.onDidChangeTextDocument
Defined in
libs/common/ide/PassthroughIDEBase.ts:50