Options
All
  • Public
  • Public/Protected
  • All
Menu

Module plugin-ext

Index

References

Namespaces

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

References

ApplyEditsOptions

Re-exports ApplyEditsOptions

AuthenticationExt

Re-exports AuthenticationExt

AuthenticationMain

Re-exports AuthenticationMain

AutoClosingPair

Re-exports AutoClosingPair

AutoClosingPairConditional

Re-exports AutoClosingPairConditional

AutoFocus

Re-exports AutoFocus

BackendInitializationFn

Re-exports BackendInitializationFn

BackendLoadingFn

Re-exports BackendLoadingFn

BaseTransferQuickInput

Re-exports BaseTransferQuickInput

CharacterPair

Re-exports CharacterPair

ClipboardMain

Re-exports ClipboardMain

CodeActionDto

Re-exports CodeActionDto

CommandProperties

Re-exports CommandProperties

CommandRegistryExt

Re-exports CommandRegistryExt

CommandRegistryMain

Re-exports CommandRegistryMain

CommentProviderFeatures

Re-exports CommentProviderFeatures

CommentRule

Re-exports CommentRule

CommentThreadChanges

Re-exports CommentThreadChanges

CommentsCommandArg

Re-exports CommentsCommandArg

CommentsContextCommandArg

Re-exports CommentsContextCommandArg

CommentsEditCommandArg

Re-exports CommentsEditCommandArg

CommentsExt

Re-exports CommentsExt

CommentsMain

Re-exports CommentsMain

ConfigStorage

Re-exports ConfigStorage

ConnectionExt

Re-exports ConnectionExt

ConnectionMain

Re-exports ConnectionMain

ContentDecorationRenderOptions

Re-exports ContentDecorationRenderOptions

CustomEditor

Re-exports CustomEditor

CustomEditorPriority

Re-exports CustomEditorPriority

CustomEditorSelector

Re-exports CustomEditorSelector

CustomEditorsExt

Re-exports CustomEditorsExt

CustomEditorsMain

Re-exports CustomEditorsMain

CustomTextEditorCapabilities

Re-exports CustomTextEditorCapabilities

DebugExt

Re-exports DebugExt

DebugMain

Re-exports DebugMain

DebuggerContribution

Re-exports DebuggerContribution

DecorationData

Re-exports DecorationData

DecorationInstanceRenderOptions

Re-exports DecorationInstanceRenderOptions

DecorationOptions

Re-exports DecorationOptions

DecorationRenderOptions

Re-exports DecorationRenderOptions

DecorationReply

Re-exports DecorationReply

DecorationRequest

Re-exports DecorationRequest

DecorationsExt

Re-exports DecorationsExt

DecorationsMain

Re-exports DecorationsMain

DeployedPlugin

Re-exports DeployedPlugin

DialogsMain

Re-exports DialogsMain

DocumentsExt

Re-exports DocumentsExt

DocumentsMain

Re-exports DocumentsMain

EditorChangedPropertiesData

Re-exports EditorChangedPropertiesData

EditorPosition

Re-exports EditorPosition

EditorsAndDocumentsDelta

Re-exports EditorsAndDocumentsDelta

EditorsAndDocumentsExt

Re-exports EditorsAndDocumentsExt

EnterAction

Re-exports EnterAction

EnvInit

Re-exports EnvInit

EnvMain

Re-exports EnvMain

ExtHostFileSystemEventServiceShape

Re-exports ExtHostFileSystemEventServiceShape

ExtPluginApi

Re-exports ExtPluginApi

ExtPluginApiBackendInitializationFn

Re-exports ExtPluginApiBackendInitializationFn

ExtPluginApiFrontendInitializationFn

Re-exports ExtPluginApiFrontendInitializationFn

ExtPluginApiProvider

Re-exports ExtPluginApiProvider

ExtensionContext

Re-exports ExtensionContext

FileSystemEvents

Re-exports FileSystemEvents

FileSystemExt

Re-exports FileSystemExt

FileSystemMain

Re-exports FileSystemMain

FileUploadResultMain

Re-exports FileUploadResultMain

FoldingMarkers

Re-exports FoldingMarkers

FoldingRules

Re-exports FoldingRules

FrontendExtPluginApi

Re-exports FrontendExtPluginApi

GetDeployedPluginsParams

Re-exports GetDeployedPluginsParams

GlobalStorageKind

Re-exports GlobalStorageKind

GrammarsContribution

Re-exports GrammarsContribution

HostedPluginClient

Re-exports HostedPluginClient

HostedPluginServer

Re-exports HostedPluginServer

IFileChangeDto

Re-exports IFileChangeDto

IInputBoxOptions

Re-exports IInputBoxOptions

IconThemeContribution

Re-exports IconThemeContribution

IconUrl

Re-exports IconUrl

IndentationRules

Re-exports IndentationRules

Item

Re-exports Item

Keybinding

Re-exports Keybinding

LabelServiceExt

Re-exports LabelServiceExt

LabelServiceMain

Re-exports LabelServiceMain

LanguageConfiguration

Re-exports LanguageConfiguration

LanguageContribution

Re-exports LanguageContribution

LanguagesExt

Re-exports LanguagesExt

LanguagesMain

Re-exports LanguagesMain

LanguagesMainFactory

Re-exports LanguagesMainFactory

Localization

Re-exports Localization

MAIN_RPC_CONTEXT

Re-exports MAIN_RPC_CONTEXT

MainMessageItem

Re-exports MainMessageItem

MainMessageOptions

Re-exports MainMessageOptions

MainMessageType

Re-exports MainMessageType

MainPluginApiProvider

Re-exports MainPluginApiProvider

Menu

Re-exports Menu

MessageRegistryMain

Re-exports MessageRegistryMain

MetadataProcessor

Re-exports MetadataProcessor

ModelAddedData

Re-exports ModelAddedData

ModelChangedEvent

Re-exports ModelChangedEvent

ModelContentChange

Re-exports ModelContentChange

NotificationExt

Re-exports NotificationExt

NotificationMain

Re-exports NotificationMain

OpenDialogOptionsMain

Re-exports OpenDialogOptionsMain

OutputChannelRegistryExt

Re-exports OutputChannelRegistryExt

OutputChannelRegistryFactory

Re-exports OutputChannelRegistryFactory

OutputChannelRegistryMain

Re-exports OutputChannelRegistryMain

PLUGIN_HOST_BACKEND

Re-exports PLUGIN_HOST_BACKEND

PLUGIN_RPC_CONTEXT

Re-exports PLUGIN_RPC_CONTEXT

PlatformSpecificAdapterContribution

Re-exports PlatformSpecificAdapterContribution

Plugin

Re-exports Plugin

PluginAPI

Re-exports PluginAPI

PluginAPIFactory

Re-exports PluginAPIFactory

PluginColorContribution

Re-exports PluginColorContribution

PluginCommand

Re-exports PluginCommand

PluginContext

Re-exports PluginContext

PluginContribution

Re-exports PluginContribution

PluginDependencies

Re-exports PluginDependencies

PluginDeployer

Re-exports PluginDeployer

PluginDeployerDirectoryHandler

Re-exports PluginDeployerDirectoryHandler

PluginDeployerDirectoryHandlerContext

Re-exports PluginDeployerDirectoryHandlerContext

PluginDeployerEntry

Re-exports PluginDeployerEntry

PluginDeployerEntryType

Re-exports PluginDeployerEntryType

PluginDeployerFileHandler

Re-exports PluginDeployerFileHandler

PluginDeployerFileHandlerContext

Re-exports PluginDeployerFileHandlerContext

PluginDeployerHandler

Re-exports PluginDeployerHandler

PluginDeployerParticipant

Re-exports PluginDeployerParticipant

PluginDeployerResolver

Re-exports PluginDeployerResolver

PluginDeployerResolverContext

Re-exports PluginDeployerResolverContext

PluginDeployerResolverInit

Re-exports PluginDeployerResolverInit

PluginDeployerStartContext

Re-exports PluginDeployerStartContext

PluginEngine

Re-exports PluginEngine

PluginEntryPoint

Re-exports PluginEntryPoint

PluginHostEnvironmentVariable

Re-exports PluginHostEnvironmentVariable

PluginIconThemeContribution

Re-exports PluginIconThemeContribution

PluginInfo

Re-exports PluginInfo

PluginJsonValidationContribution

Re-exports PluginJsonValidationContribution

PluginLifecycle

Re-exports PluginLifecycle

PluginManager

Re-exports PluginManager

PluginManagerExt

Re-exports PluginManagerExt

PluginManagerInitializeParams

Re-exports PluginManagerInitializeParams

PluginManagerStartParams

Re-exports PluginManagerStartParams

PluginMetadata

Re-exports PluginMetadata

PluginModel

Re-exports PluginModel

PluginPackage

Re-exports PluginPackage

PluginPackageCommand

Re-exports PluginPackageCommand

PluginPackageContribution

Re-exports PluginPackageContribution

PluginPackageCustomEditor

Re-exports PluginPackageCustomEditor

PluginPackageDebuggersContribution

Re-exports PluginPackageDebuggersContribution

PluginPackageGrammarsContribution

Re-exports PluginPackageGrammarsContribution

PluginPackageKeybinding

Re-exports PluginPackageKeybinding

PluginPackageLanguageContribution

Re-exports PluginPackageLanguageContribution

PluginPackageLanguageContributionConfiguration

Re-exports PluginPackageLanguageContributionConfiguration

PluginPackageLocalization

Re-exports PluginPackageLocalization

PluginPackageMenu

Re-exports PluginPackageMenu

PluginPackageSnippetsContribution

Re-exports PluginPackageSnippetsContribution

PluginPackageSubmenu

Re-exports PluginPackageSubmenu

PluginPackageTranslation

Re-exports PluginPackageTranslation

PluginPackageView

Re-exports PluginPackageView

PluginPackageViewContainer

Re-exports PluginPackageViewContainer

PluginPackageViewWelcome

Re-exports PluginPackageViewWelcome

PluginProblemMatcherContribution

Re-exports PluginProblemMatcherContribution

PluginProblemPatternContribution

Re-exports PluginProblemPatternContribution

PluginScanner

Re-exports PluginScanner

PluginServer

Re-exports PluginServer

PluginStorageKind

Re-exports PluginStorageKind

PluginTaskDefinitionContribution

Re-exports PluginTaskDefinitionContribution

PluginThemeContribution

Re-exports PluginThemeContribution

PluginType

Re-exports PluginType

PluginUiTheme

Re-exports PluginUiTheme

Position

Re-exports Position

PreferenceChangeExt

Re-exports PreferenceChangeExt

PreferenceData

Re-exports PreferenceData

PreferenceRegistryExt

Re-exports PreferenceRegistryExt

PreferenceRegistryMain

Re-exports PreferenceRegistryMain

ProcessTaskDto

Re-exports ProcessTaskDto

QuickOpenExt

Re-exports QuickOpenExt

QuickOpenMain

Re-exports QuickOpenMain

RawColorInfo

Re-exports RawColorInfo

SaveDialogOptionsMain

Re-exports SaveDialogOptionsMain

ScmCommandArg

Re-exports ScmCommandArg

ScmExt

Re-exports ScmExt

ScmMain

Re-exports ScmMain

ScmRawResource

Re-exports ScmRawResource

ScmRawResourceGroup

Re-exports ScmRawResourceGroup

ScmRawResourceSplice

Re-exports ScmRawResourceSplice

ScmRawResourceSplices

Re-exports ScmRawResourceSplices

ScopeMap

Re-exports ScopeMap

SecretsExt

Re-exports SecretsExt

SecretsMain

Re-exports SecretsMain

Selection

Re-exports Selection

SelectionChangeEvent

Re-exports SelectionChangeEvent

SerializedIndentationRule

Re-exports SerializedIndentationRule

SerializedLanguageConfiguration

Re-exports SerializedLanguageConfiguration

SerializedOnEnterRule

Re-exports SerializedOnEnterRule

SerializedRegExp

Re-exports SerializedRegExp

ServerPluginRunner

Re-exports ServerPluginRunner

SingleEditOperation

Re-exports SingleEditOperation

SnippetContribution

Re-exports SnippetContribution

SourceControlGroupFeatures

Re-exports SourceControlGroupFeatures

SourceControlProviderFeatures

Re-exports SourceControlProviderFeatures

SourceControlResourceDecorations

Re-exports SourceControlResourceDecorations

SourceControlResourceState

Re-exports SourceControlResourceState

StatusBarMessageRegistryMain

Re-exports StatusBarMessageRegistryMain

StorageExt

Re-exports StorageExt

StorageMain

Re-exports StorageMain

Submenu

Re-exports Submenu

TaskDto

Re-exports TaskDto

TaskExecutionDto

Re-exports TaskExecutionDto

TaskPresentationOptionsDTO

Re-exports TaskPresentationOptionsDTO

TasksExt

Re-exports TasksExt

TasksMain

Re-exports TasksMain

TerminalOptionsExt

Re-exports TerminalOptionsExt

TerminalServiceExt

Re-exports TerminalServiceExt

TerminalServiceMain

Re-exports TerminalServiceMain

TextEditorAddData

Re-exports TextEditorAddData

TextEditorConfiguration

Re-exports TextEditorConfiguration

TextEditorConfigurationUpdate

Re-exports TextEditorConfigurationUpdate

TextEditorPositionData

Re-exports TextEditorPositionData

TextEditorRevealType

Re-exports TextEditorRevealType

TextEditorsExt

Re-exports TextEditorsExt

TextEditorsMain

Re-exports TextEditorsMain

ThemeColor

Re-exports ThemeColor

ThemeContribution

Re-exports ThemeContribution

ThemeDecorationInstanceRenderOptions

Re-exports ThemeDecorationInstanceRenderOptions

ThemeDecorationRenderOptions

Re-exports ThemeDecorationRenderOptions

ThemingExt

Re-exports ThemingExt

ThemingMain

Re-exports ThemingMain

TimelineCommandArg

Re-exports TimelineCommandArg

TimelineExt

Re-exports TimelineExt

TimelineMain

Re-exports TimelineMain

TrackedRangeStickiness

Re-exports TrackedRangeStickiness

TransferInputBox

Re-exports TransferInputBox

TransferQuickInput

Re-exports TransferQuickInput

TransferQuickInputButton

Re-exports TransferQuickInputButton

TransferQuickPick

Re-exports TransferQuickPick

TransferQuickPickItems

Re-exports TransferQuickPickItems

Translation

Re-exports Translation

TreeViewItem

Re-exports TreeViewItem

TreeViewItemCollapsibleState

Re-exports TreeViewItemCollapsibleState

TreeViewRevealOptions

Re-exports TreeViewRevealOptions

TreeViewSelection

Re-exports TreeViewSelection

TreeViewsExt

Re-exports TreeViewsExt

TreeViewsMain

Re-exports TreeViewsMain

UIKind

Re-exports UIKind

UiTheme

Re-exports UiTheme

UndoStopOptions

Re-exports UndoStopOptions

UploadDialogOptionsMain

Re-exports UploadDialogOptionsMain

View

Re-exports View

ViewContainer

Re-exports ViewContainer

ViewWelcome

Re-exports ViewWelcome

WebviewInitData

Re-exports WebviewInitData

WebviewPanelViewState

Re-exports WebviewPanelViewState

WebviewsExt

Re-exports WebviewsExt

WebviewsMain

Re-exports WebviewsMain

WindowMain

Re-exports WindowMain

WindowStateExt

Re-exports WindowStateExt

WorkspaceEditDto

Re-exports WorkspaceEditDto

WorkspaceEditMetadataDto

Re-exports WorkspaceEditMetadataDto

WorkspaceExt

Re-exports WorkspaceExt

WorkspaceFileEditDto

Re-exports WorkspaceFileEditDto

WorkspaceFolderPickOptionsMain

Re-exports WorkspaceFolderPickOptionsMain

WorkspaceMain

Re-exports WorkspaceMain

WorkspaceStorageKind

Re-exports WorkspaceStorageKind

WorkspaceTextEditDto

Re-exports WorkspaceTextEditDto

buildFrontendModuleName

Re-exports buildFrontendModuleName

emptyPlugin

Re-exports emptyPlugin

getPluginId

Re-exports getPluginId

hostedServicePath

Re-exports hostedServicePath

pluginServerJsonRpcPath

Re-exports pluginServerJsonRpcPath

Type aliases

Adapter

CacheId

CacheId: number

ChainedCacheId

ChainedCacheId: [CacheId, CacheId]

CharacterPair

CharacterPair: [string, string]

CodeEditorWidget

CodeEditorWidget: EditorWidget | WebviewWidget

CommentThreadChanges

CommentThreadChanges: Partial<{ collapseState: CommentThreadCollapsibleState; comments: Comment[]; contextValue: string; label: string; range: Range }>

CommentThreadModification

CommentThreadModification: Partial<{ collapsibleState: CommentThreadCollapsibleState; comments: Comment[]; contextValue: string | undefined; label: string | undefined; range: Range }>

DebugActivationEvent

DebugActivationEvent: "onDebugResolve" | "onDebugInitialConfigurations" | "onDebugAdapterProtocolTracker"

DecorationData

DecorationData: [boolean, string, string, ThemeColor]

Definition

Definition: Location | Location[] | LocationLink[]

Definition

Definition: Location | Location[]

Edge

Edge: [State, number, State]

Event

Event<T>: Event<T>

Type parameters

  • T

ExecutionCallback

ExecutionCallback: (resolvedDefinition: TaskDefinition) => Thenable<Pseudoterminal>

Type declaration

GlobalStorageKind

GlobalStorageKind: undefined

GroupHandle

GroupHandle: number

Handler

Handler: <T>(...args: any[]) => T | PromiseLike<T | undefined>

Type declaration

    • <T>(...args: any[]): T | PromiseLike<T | undefined>
    • Type parameters

      • T

      Parameters

      • Rest ...args: any[]

      Returns T | PromiseLike<T | undefined>

IDisposable

IDisposable: Disposable

IDisposable

IDisposable: Disposable

IExtensionDescription

IExtensionDescription: Plugin

ISemanticTokensDto

IWaitUntil

IWaitUntil: WaitUntilEvent

IconUrl

IconUrl: string | { dark: string; light: string }

Item

Item: string | QuickPickItem

ParsedExpression

ParsedExpression: (path: string, basename?: undefined | string, hasSibling?: undefined | ((name: string) => boolean | Promise<boolean>)) => string | Promise<string>

Type declaration

    • (path: string, basename?: undefined | string, hasSibling?: undefined | ((name: string) => boolean | Promise<boolean>)): string | Promise<string>
    • Parameters

      • path: string
      • Optional basename: undefined | string
      • Optional hasSibling: undefined | ((name: string) => boolean | Promise<boolean>)

      Returns string | Promise<string>

ParsedPattern

ParsedPattern: (path: string, basename?: undefined | string) => boolean

Type declaration

    • (path: string, basename?: undefined | string): boolean
    • Parameters

      • path: string
      • Optional basename: undefined | string

      Returns boolean

PluginEngine

PluginEngine: string

Plugin engine (API) type, i.e. 'theiaPlugin', 'vscode', etc.

PluginHost

PluginHost: "frontend" | string

PluginIconThemeFactory

PluginIconThemeFactory: (definition: PluginIconThemeDefinition) => PluginIconTheme

Type declaration

PluginStorageKind

PluginUiTheme

PluginUiTheme: "vs" | "vs-dark" | "hc-black"

ProvidedSemanticTokens

ProvidedSemanticTokens: SemanticTokens | RelaxedSemanticTokens

ProvidedSemanticTokensEdits

ProvidedSemanticTokensEdits: SemanticTokensEdits | RelaxedSemanticTokensEdits

ProviderEntry

ProviderEntry: { plugin: Plugin; provider: CustomTextEditorProvider; type: Text } | { plugin: Plugin; provider: CustomReadonlyEditorProvider; type: Custom }

ProviderHandle

ProviderHandle: number

ProviderHandle

ProviderHandle: number

RPCMessage

RelaxedSemanticTokens

RelaxedSemanticTokens: { data: number[]; resultId?: undefined | string }

Type declaration

  • Readonly data: number[]
  • Optional Readonly resultId?: undefined | string

RelaxedSemanticTokensEdit

RelaxedSemanticTokensEdit: { data?: number[]; deleteCount: number; start: number }

Type declaration

  • Optional Readonly data?: number[]
  • Readonly deleteCount: number
  • Readonly start: number

RelaxedSemanticTokensEdits

RelaxedSemanticTokensEdits: { edits: RelaxedSemanticTokensEdit[]; resultId?: undefined | string }

Type declaration

ResourceStateHandle

ResourceStateHandle: number

TransferQuickInput

TransferQuickInput<T>: TransferQuickPick<T> | TransferInputBox

Type parameters

UiTheme

UiTheme: "vs" | "vs-dark" | "hc-black"

ViewDataProvider

ViewDataProvider: (params: { state?: undefined | object; viewInfo: View }) => Promise<TreeViewWidget>

Type declaration

    • Parameters

      • params: { state?: undefined | object; viewInfo: View }
        • Optional state?: undefined | object
        • viewInfo: View

      Returns Promise<TreeViewWidget>

WebviewPreferences

WebviewThemeType

WebviewThemeType: "vscode-light" | "vscode-dark" | "vscode-high-contrast"

Variables

Const ACTIVE_GROUP

ACTIVE_GROUP: -1 = -1

Const ALL_FORWARD_SLASHES

ALL_FORWARD_SLASHES: RegExp = /\//g

Const BUILD_GROUP

BUILD_GROUP: "build" = "build"

Const CACHE

CACHE: Map<string, ParsedStringPattern> = new Map<string, ParsedStringPattern>()

Const COMMENT_CONTEXT

COMMENT_CONTEXT: MenuPath = ['comment-context-menu']

Const COMMENT_THREAD_CONTEXT

COMMENT_THREAD_CONTEXT: MenuPath = ['comment_thread-context-menu']

Const COMMENT_TITLE

COMMENT_TITLE: MenuPath = ['comment-title-menu']

Const CommentsService

CommentsService: unique symbol = Symbol('CommentsService')

Const DEFAULT_WORD_REGEXP

DEFAULT_WORD_REGEXP: RegExp = createWordRegExp()

Const ExtPluginApiProvider

ExtPluginApiProvider: "extPluginApi" = "extPluginApi"

Const GLOBSTAR

GLOBSTAR: "**" = "**"

Const GLOB_SPLIT

GLOB_SPLIT: "/" = "/"

Const HostedPluginClient

HostedPluginClient: unique symbol = Symbol('HostedPluginClient')

Const HostedPluginProcessConfiguration

HostedPluginProcessConfiguration: unique symbol = Symbol('HostedPluginProcessConfiguration')

Const HostedPluginServer

HostedPluginServer: unique symbol = Symbol('HostedPluginServer')

Const ICON

ICON: "icon" = "icon"

Const LanguagesMainFactory

LanguagesMainFactory: unique symbol = Symbol('LanguagesMainFactory')

Const MAX_UINT_32

MAX_UINT_32: 4294967295 = 4294967295

Max unsigned integer that fits on 32 bits.

Const MainPluginApiProvider

MainPluginApiProvider: unique symbol = Symbol('mainPluginApi')

Const MetadataProcessor

MetadataProcessor: unique symbol = Symbol('MetadataProcessor')

Const NLS_REGEX

NLS_REGEX: RegExp = /^%([\w\d.-]+)%$/i

Const NLS_REGEX

NLS_REGEX: RegExp = /^%([\w\d.-]+)%$/i

Const NOTIFICATION

NOTIFICATION: "modal-Notification" = "modal-Notification"

Const NO_PATH_REGEX

NO_PATH_REGEX: "[^/\\]" = "[^/\\]"

Const OutputChannelRegistryFactory

OutputChannelRegistryFactory: unique symbol = Symbol('OutputChannelRegistryFactory')

Const PATH_REGEX

PATH_REGEX: "[/\\]" = "[/\\]"

Const PLUGIN_HOST_BACKEND

PLUGIN_HOST_BACKEND: "main" = "main"

Const PLUGIN_VIEW_CONTAINER_FACTORY_ID

PLUGIN_VIEW_CONTAINER_FACTORY_ID: "plugin-view-container" = "plugin-view-container"

Const PLUGIN_VIEW_DATA_FACTORY_ID

PLUGIN_VIEW_DATA_FACTORY_ID: "plugin-view-data" = "plugin-view-data"

Const PLUGIN_VIEW_FACTORY_ID

PLUGIN_VIEW_FACTORY_ID: "plugin-view" = "plugin-view"

Const PluginDeployer

PluginDeployer: unique symbol = Symbol('PluginDeployer')

Const PluginDeployerDirectoryHandler

PluginDeployerDirectoryHandler: unique symbol = Symbol('PluginDeployerDirectoryHandler')

Const PluginDeployerFileHandler

PluginDeployerFileHandler: unique symbol = Symbol('PluginDeployerFileHandler')

Const PluginDeployerHandler

PluginDeployerHandler: unique symbol = Symbol('PluginDeployerHandler')

Const PluginDeployerParticipant

PluginDeployerParticipant: unique symbol = Symbol('PluginDeployerParticipant')

Const PluginDeployerResolver

PluginDeployerResolver: unique symbol = Symbol('PluginDeployerResolver')

A plugin resolver is handling how to resolve a plugin link into a local resource.

Const PluginHostEnvironmentVariable

PluginHostEnvironmentVariable: unique symbol = Symbol('PluginHostEnvironmentVariable')

Const PluginIconThemeFactory

PluginIconThemeFactory: unique symbol = Symbol('PluginIconThemeFactory')

Const PluginPathsService

PluginPathsService: unique symbol = Symbol('PluginPathsService')

Const PluginProgressLocation

PluginProgressLocation: "plugin" = "plugin"

Const PluginScanner

PluginScanner: unique symbol = Symbol('PluginScanner')

Const PluginServer

PluginServer: unique symbol = Symbol('PluginServer')

Const PluginUriFactory

PluginUriFactory: unique symbol = Symbol('PluginUriFactory')

Const RPCProtocol

RPCProtocol: unique symbol = Symbol('RPCProtocol')

Const SESSION_TIMESTAMP_PATTERN

SESSION_TIMESTAMP_PATTERN: RegExp = /^\d{8}T\d{6}$/

Const SIDE_GROUP

SIDE_GROUP: -2 = -2

Const ServerPluginRunner

ServerPluginRunner: unique symbol = Symbol('ServerPluginRunner')

Const T1

T1: RegExp = /^\*\*\/\*\.[\w\.-]+$/

Const T2

T2: RegExp = /^\*\*\/([\w\.-]+)\/?$/

Const T3

T3: RegExp = /^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/

Const T3_2

T3_2: RegExp = /^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/

Const T4

T4: RegExp = /^\*\*((\/[\w\.-]+)+)\/?$/

Const T5

T5: RegExp = /^([\w\.-]+(\/[\w\.-]+)*)\/?$/

Const TEST_GROUP

TEST_GROUP: "test" = "test"

Const TEXT

TEXT: "text" = "text"

Const TRANSPARENT_OVERLAY_STYLE

TRANSPARENT_OVERLAY_STYLE: "theia-transparent-overlay" = "theia-transparent-overlay"

Const TREE_NODE_HYPERLINK

TREE_NODE_HYPERLINK: "theia-TreeNodeHyperlink" = "theia-TreeNodeHyperlink"

Const USUAL_WORD_SEPARATORS

USUAL_WORD_SEPARATORS: "`~!@#$%^&*()-=+[{]}\|;:'",.<>/?" = "`~!@#$%^&*()-=+[{]}\|;:'",.<>/?"

Const VERSION

VERSION: 1 = 1

Copyright (C) 2019 TypeFox and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Const VIEW_ITEM_CONTEXT_MENU

VIEW_ITEM_CONTEXT_MENU: MenuPath = ['view-item-context-menu']

Const VIEW_ITEM_INLINE_MENU

VIEW_ITEM_INLINE_MENU: MenuPath = ['view-item-inline-menu']

Const WebviewPreferenceContribution

WebviewPreferenceContribution: unique symbol = Symbol('WebviewPreferenceContribution')

Const WebviewPreferences

WebviewPreferences: unique symbol = Symbol('WebviewPreferences')

Const WebviewWidgetExternalEndpoint

WebviewWidgetExternalEndpoint: unique symbol = Symbol('WebviewWidgetExternalEndpoint')

Let _classifier

_classifier: CharacterClassifier<CharacterClass> | null = null

Const _hasOwnProperty

_hasOwnProperty: hasOwnProperty = Object.prototype.hasOwnProperty

Let _isLittleEndian

_isLittleEndian: boolean = true

Let _isLittleEndianComputed

_isLittleEndianComputed: boolean = false

Const _modeId2WordDefinition

_modeId2WordDefinition: Map<string, null | RegExp> = new Map<string, RegExp | null>()

Const _posixBadPath

_posixBadPath: RegExp = /(\/\.\.?\/)|(\/\.\.?)$|^(\.\.?\/)|(\/\/+)|(\\)/

Let _stateMachine

_stateMachine: StateMachine | null = null

Const _winBadPath

_winBadPath: RegExp = /(\\\.\.?\\)|(\\\.\.?)$|^(\.\.?\\)|(\\\\+)|(\/)/

Const apiFactory

apiFactory: PluginAPIFactory = createAPIFactory(rpc,pluginManager,envExt,debugExt,preferenceRegistryExt,editorsAndDocuments,workspaceExt,messageRegistryExt,clipboardExt,webviewExt)

Const canceledName

canceledName: "Canceled" = "Canceled"

Const clipboardExt

clipboardExt: ClipboardExt = new ClipboardExt(rpc)

cloneDeep

cloneDeep: cloneDeep

cloneDeep

cloneDeep: cloneDeep

Const colorIdPattern

colorIdPattern: "^\w+[.\w+]*$" = "^\w+[.\w+]*$"

Const commonHostedConnectionModule

commonHostedConnectionModule: ContainerModule = ConnectionContainerModule.create(({ bind, bindBackendService }) => {bind(HostedPluginProcess).toSelf().inSingletonScope();bind(HostedPluginSupport).toSelf().inSingletonScope();bindContributionProvider(bind, Symbol.for(ExtPluginApiProvider));bindContributionProvider(bind, PluginHostEnvironmentVariable);bind(HostedPluginServerImpl).toSelf().inSingletonScope();bind(HostedPluginServer).toService(HostedPluginServerImpl);bindBackendService<HostedPluginServer, HostedPluginClient>(hostedServicePath, HostedPluginServer, (server, client) => {server.setClient(client);client.onDidCloseConnection(() => server.dispose());return server;});})

Const ctx

ctx: any = self as any

debounce

debounce: debounce

Copyright (C) 2019 TypeFox and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

debounce

debounce: debounce

Copyright (C) 2018 Red Hat, Inc. and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

debounce

debounce: debounce

Copyright (C) 2018 Red Hat, Inc. and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Const debugExt

debugExt: DebugExtImpl = createDebugExtStub(rpc)

Let defaultApi

defaultApi: typeof theia

Let defaultApi

defaultApi: typeof theia

Const editorsAndDocuments

editorsAndDocuments: EditorsAndDocumentsExtImpl = new EditorsAndDocumentsExtImpl(rpc)

Const emitter

emitter: Emitter<string> = new Emitter<string>()

Const emitter

emitter: Emitter<string> = new Emitter<string>()

Const envExt

envExt: WorkerEnvExtImpl = new WorkerEnvExtImpl(rpc)

Const frontendConfig

frontendConfig: {} = FrontendApplicationConfigProvider.get()

Type declaration

Const hostedServicePath

hostedServicePath: "/services/hostedPlugin" = "/services/hostedPlugin"

Let index

index: number = 0

Const injectionRe

injectionRe: RegExp = /\b__proto__\b|\bconstructor\.prototype\b/

Const isElectron

isElectron: any = require('is-electron')

Let isLoadOverride

isLoadOverride: boolean = false

Const localhostRequestStore

localhostRequestStore: RequestStore<undefined | string> = new RequestStore()

Map of requested localhost origins to optional redirects.

Const messageRegistryExt

messageRegistryExt: MessageRegistryExt = new MessageRegistryExt(rpc)

Const nativeSep

nativeSep: "/" | "\" = isWindows ? '\\' : '/'

The native path separator depending on the OS.

Const panelKindMap

panelKindMap: Map<number | Shared | Dedicated | New, number | Shared | Dedicated | New> = new Map<number | PanelKind, PanelKind | number>([[1, PanelKind.Shared],[2, PanelKind.Dedicated],[3, PanelKind.New],[PanelKind.Shared, 1],[PanelKind.Dedicated, 2],[PanelKind.New, 3]])

Let pluginApiFactory

pluginApiFactory: PluginAPIFactory

Const pluginHostRPC

pluginHostRPC: PluginHostRPC = new PluginHostRPC(rpc)

Let pluginHostStopTimeout

pluginHostStopTimeout: number = 4 * 1000

Let pluginHostTerminateTimeout

pluginHostTerminateTimeout: number = 10 * 1000

Const pluginManager

pluginManager: PluginManagerExtImpl = new PluginManagerExtImpl({// eslint-disable-next-line @typescript-eslint/no-explicit-anyloadPlugin(plugin: Plugin): any {if (plugin.pluginPath) {if (isElectron()) {ctx.importScripts(plugin.pluginPath);} else {ctx.importScripts('/hostedPlugin/' + getPluginId(plugin.model) + '/' + plugin.pluginPath);}}if (plugin.lifecycle.frontendModuleName) {if (!ctx[plugin.lifecycle.frontendModuleName]) {console.error(`WebWorker: Cannot start plugin "${plugin.model.name}". Frontend plugin not found: "${plugin.lifecycle.frontendModuleName}"`);return;}return ctx[plugin.lifecycle.frontendModuleName];}},async init(rawPluginData: PluginMetadata[]): Promise<[Plugin[], Plugin[]]> {const result: Plugin[] = [];const foreign: Plugin[] = [];// Process the plugins concurrently, making sure to keep the order.const plugins = await Promise.all<{/** Where to push the plugin: `result` or `foreign` */target: Plugin[],plugin: Plugin}>(rawPluginData.map(async plg => {const pluginModel = plg.model;const pluginLifecycle = plg.lifecycle;if (pluginModel.entryPoint!.frontend) {let frontendInitPath = pluginLifecycle.frontendInitPath;if (frontendInitPath) {initialize(frontendInitPath, plg);} else {frontendInitPath = '';}const rawModel = await loadManifest(pluginModel);const plugin: Plugin = {pluginPath: pluginModel.entryPoint.frontend!,pluginFolder: pluginModel.packagePath,pluginUri: pluginModel.packageUri,model: pluginModel,lifecycle: pluginLifecycle,rawModel};const apiImpl = apiFactory(plugin);pluginsApiImpl.set(plugin.model.id, apiImpl);pluginsModulesNames.set(plugin.lifecycle.frontendModuleName!, plugin);return { target: result, plugin };} else {return {target: foreign,plugin: {pluginPath: pluginModel.entryPoint.backend,pluginFolder: pluginModel.packagePath,pluginUri: pluginModel.packageUri,model: pluginModel,lifecycle: pluginLifecycle,get rawModel(): never {throw new Error('not supported');}}};}}));// Collect the ordered plugins and insert them in the target array:for (const { target, plugin } of plugins) {target.push(plugin);}return [result, foreign];},initExtApi(extApi: ExtPluginApi[]): void {for (const api of extApi) {try {if (api.frontendExtApi) {ctx.importScripts(api.frontendExtApi.initPath);ctx[api.frontendExtApi.initVariable][api.frontendExtApi.initFunction](rpc, pluginsModulesNames);}} catch (e) {console.error(e);}}}}, envExt, terminalService, storageProxy, secretsExt, preferenceRegistryExt, webviewExt, rpc)

Const pluginPathsServicePath

pluginPathsServicePath: "/services/plugin-paths" = "/services/plugin-paths"

Copyright (C) 2018 Red Hat, Inc. and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Const pluginServerJsonRpcPath

pluginServerJsonRpcPath: "/services/plugin-ext" = "/services/plugin-ext"

The JSON-RPC workspace interface.

Const plugins

plugins: Plugin[] = new Array<Plugin>()

Const pluginsApiImpl

pluginsApiImpl: Map<string, "plugin"> = new Map<string, typeof theia>()

Const pluginsApiImpl

pluginsApiImpl: Map<string, "plugin"> = new Map<string, typeof theia>()

Const pluginsModulesNames

pluginsModulesNames: Map<string, Plugin> = new Map<string, Plugin>()

Const preferenceRegistryExt

preferenceRegistryExt: PreferenceRegistryExtImpl = new PreferenceRegistryExtImpl(rpc, workspaceExt)

Const proc

proc: any = process as any

Const replaceRegex

replaceRegex: RegExp = new RegExp('//+', 'g')

Const resolveTimeout

resolveTimeout: 30000 = 30000

Const resourceRequestStore

resourceRequestStore: RequestStore<undefined | { body: any; mime: string }> = new RequestStore()

Map of requested paths to responses.

Const resourceRoots

resourceRoots: string[] = [rootPath + '/theia-resource', rootPath + '/vscode-resource']

Root path for resources

Const revealKindMap

revealKindMap: Map<number | Always | Silent | Never, number | Always | Silent | Never> = new Map<number | RevealKind, RevealKind | number>([[1, RevealKind.Always],[2, RevealKind.Silent],[3, RevealKind.Never],[RevealKind.Always, 1],[RevealKind.Silent, 2],[RevealKind.Never, 3]])

Const rootPath

rootPath: string = self.location.pathname.replace(/\/service-worker.js$/, '')

Const rpc

rpc: RPCProtocolImpl = new RPCProtocolImpl({onMessage: emitter.event,send: (m: string) => {ctx.postMessage(m);},},{reviver: reviver})

Const rpc

rpc: RPCProtocolImpl = new RPCProtocolImpl({onMessage: emitter.event,send: (m: string) => {if (process.send && !terminating) {process.send(m);}}},{reviver: reviver})

Const secretsExt

secretsExt: SecretsExtImpl = new SecretsExtImpl(rpc)

Const sep

sep: "/" = "/"

The forward slash path separator.

Const separator

separator: "/" = "/"

Copyright (C) 2021 Red Hat, Inc. and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Const storageProxy

storageProxy: KeyValueStorageProxy = new KeyValueStorageProxy(rpc)

Const terminalService

terminalService: TerminalServiceExt = new TerminalServiceExtImpl(rpc)

Let terminating

terminating: boolean = false

Const unhandledPromises

unhandledPromises: Promise<any>[] = []

uuid

uuid: "/home/runner/work/theia/theia/node_modules/@types/uuid/index"

Const vhost

vhost: any = require('vhost')

Const webviewExt

webviewExt: WebviewsExtImpl = new WebviewsExtImpl(rpc, workspaceExt)

Const workspaceExt

workspaceExt: WorkspaceExtImpl = new WorkspaceExtImpl(rpc, editorsAndDocuments, messageRegistryExt)

Functions

Const FALSE

  • FALSE(): boolean

Const NULL

  • NULL(): string

_cloneAndChange

  • _cloneAndChange(obj: any, changer: (orig: any) => any, seen: Set<any>): any

_isNormal

  • _isNormal(path: string, win: boolean): boolean

addAccountUsage

  • addAccountUsage(storageService: StorageService, providerId: string, accountName: string, extensionId: string, extensionName: string): Promise<void>

aggregateBasenameMatches

basename

  • basename(path: string): string

bindCommonHostedBackend

  • bindCommonHostedBackend(bind: interfaces.Bind): void

bindElectronBackend

  • bindElectronBackend(bind: interfaces.Bind): void

bindHostedBackend

  • bindHostedBackend(bind: interfaces.Bind): void

bindMainBackend

  • bindMainBackend(bind: interfaces.Bind): void

bindWebviewPreferences

  • bindWebviewPreferences(bind: interfaces.Bind): void

buildFrontendModuleName

buildTheiaLocalizations

  • buildTheiaLocalizations(localizations: Localization[]): TheiaLocalization[]

buildTheiaTranslationKey

  • buildTheiaTranslationKey(pluginId: string, scope: string, key: string): string

canceled

cloneAndChange

  • cloneAndChange(obj: any, changer: (orig: any) => any): any

coalesce

  • coalesce<T>(array: ReadonlyArray<T | undefined | null>): T[]
  • Type parameters

    • T

    Parameters

    • array: ReadonlyArray<T | undefined | null>

    Returns T[]

    New array with all falsy values removed. The original array IS NOT modified.

commandEquals

commandListEquals

compareArgs

  • compareArgs(a: any[], b: any[]): boolean

compareCommands

comparePathComponents

  • comparePathComponents(one: string, other: string, caseSensitive?: boolean): number

comparePaths

  • comparePaths(one: string, other: string, caseSensitive?: boolean): number

compareResourceStates

compareResourceStatesDecorations

compareResourceThemableDecorations

connectDebugAdapter

convertCode

  • convertCode(code: string | number | undefined): string | undefined

convertDiagnosticToMarkerData

convertRelatedInformation

convertSeverity

convertTags

convertToCollapsibleState

convertToModeComment

convertToTransferQuickPickItems

createAPIFactory

createDebugExtStub

createProxyIdentifier

createUntitledURI

  • createUntitledURI(language?: undefined | string): URI

createWebviewPreferences

createWordRegExp

  • createWordRegExp(allowInWords?: string): RegExp
  • Create a word definition regular expression based on default word separators. Optionally provide allowed separators that should be included in words.

    The default would look like this: /(-?\d.\d\w*)|([^`~!@#$%^&\()-=+[{]}\|;:'",.<>/?\s]+)/g

    Parameters

    • Default value allowInWords: string = ""

    Returns RegExp

cursorStyleToString

  • cursorStyleToString(cursorStyle: TextEditorCursorStyle): "line" | "block" | "underline" | "line-thin" | "block-outline" | "underline-thin"

decodeSemanticTokensDto

dispose

  • dispose<T>(disposable: T): T | undefined
  • dispose<T>(...disposables: T[]): T[] | undefined
  • dispose<T>(disposables: T[]): T[] | undefined

disposed

  • disposed(what: string): Error

Const doInitialization

encodeSemanticTokensDto

encodeSemanticTokensDtoSize

ensureValidWordDefinition

  • ensureValidWordDefinition(wordDefinition?: RegExp): RegExp

equals

  • equals<T>(one: ReadonlyArray<T> | undefined, other: ReadonlyArray<T> | undefined, itemEquals?: (a: T, b: T) => boolean): boolean
  • Type parameters

    • T

    Parameters

    • one: ReadonlyArray<T> | undefined
    • other: ReadonlyArray<T> | undefined
    • Default value itemEquals: (a: T, b: T) => boolean = (a, b) => a === b
        • (a: T, b: T): boolean
        • Parameters

          • a: T
          • b: T

          Returns boolean

    Returns boolean

es5ClassCompat

  • es5ClassCompat<T>(target: T): T

extname

  • extname(path: string): string

findPlugin

  • findPlugin(filePath: string): Plugin | undefined

flatten

  • flatten<T>(arr: T[][]): T[]

fromCallHierarchyCalleeToModelCallHierarchyOutgoingCall

fromCallHierarchyCallerToModelCallHierarchyIncomingCall

fromCallHierarchyItem

fromCaller

fromColor

  • fromColor(color: Color): [number, number, number, number]

fromColorPresentation

fromCompletionItemKind

fromCustomExecution

fromDefinition

fromDefinitionLink

fromDocumentHighlight

fromDocumentHighlightKind

fromDocumentSelector

  • fromDocumentSelector(selector: theia.DocumentSelector | undefined): LanguageSelector | undefined

fromDocumentSymbol

fromFoldingRange

fromFoldingRangeKind

fromGlobPattern

fromHover

fromLittleEndianBuffer

fromLocation

fromLocation

  • fromLocation(location: Location): Location

fromManyMarkdown

fromMarkdown

fromPosition

fromPosition

  • fromPosition(position: Position): Position

fromProcessExecution

fromRange

  • fromRange(range: undefined): undefined
  • fromRange(range: Range): Range
  • fromRange(range: Range | undefined): Range | undefined

fromRange

  • fromRange(range: Range): Range

fromRangeOrRangeWithMessage

fromSelection

fromSelectionRange

fromShellExecution

fromSymbolInformation

  • fromSymbolInformation(symbolInformation: SymbolInformation): SymbolInformation | undefined

fromSymbolTag

  • fromSymbolTag(kind: types.SymbolTag): model.SymbolTag

fromTask

fromTextDocumentShowOptions

fromTextEdit

fromUriComponents

fromViewColumn

  • fromViewColumn(column?: theia.ViewColumn): number

fromWorkspaceEdit

getBasenameTerms

getClassifier

getCustomExecution

getDarkIconUri

  • getDarkIconUri(iconPath: URI | { dark: URI; light: URI }): URI

getEmptyExpression

getGlobal

  • getGlobal(): Window | Global | null

getIconResource

  • getIconResource(decorations?: theia.SourceControlResourceThemableDecorations): Uri | undefined

getIconUris

  • getIconUris(iconPath: QuickInputButton["iconPath"]): { dark: URI; light: URI } | { id: string }

getLightIconUri

  • getLightIconUri(iconPath: URI | { dark: URI; light: URI }): URI

getOuterIframeClient

  • getOuterIframeClient(webviewId: any): Promise<any>

getPathTerms

getPluginId

getPreferences

getProcessExecution

getQueryParameters

getRoot

  • getRoot(path: string, sep?: string): string

getShellArgs

getShellExecution

getShellExecutionOptions

getStateMachine

getTempDir

  • getTempDir(name: string): string

getUri

getUriKey

  • getUriKey(uri: URI | undefined): string | undefined

getWebviewIdForClient

  • getWebviewIdForClient(client: any): string

getWordAtPosFast

  • getWordAtPosFast(column: number, wordDefinition: RegExp, text: string, textOffset: number): WordAtPosition | undefined

getWordAtPosSlow

  • getWordAtPosSlow(column: number, wordDefinition: RegExp, text: string, textOffset: number): WordAtPosition | undefined

getWordAtText

  • getWordAtText(column: number, wordDefinition: RegExp, text: string, textOffset: number): WordAtPosition | undefined

getWordDefinitionFor

  • getWordDefinitionFor(modeId: string): RegExp

hasSiblingFn

  • hasSiblingFn(siblingsFn?: undefined | (() => string[])): ((name: string) => boolean) | undefined

hasSiblingPromiseFn

  • hasSiblingPromiseFn(siblingsFn?: undefined | (() => Promise<string[]>)): ((name: string) => Promise<boolean>) | undefined

illegalArgument

  • illegalArgument(message?: undefined | string): Error
  • Copyright (C) 2018 Red Hat, Inc. and others.

    This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

    Parameters

    • Optional message: undefined | string

    Returns Error

initialize

  • initialize(contextPath: string, pluginMetadata: PluginMetadata): void

isArray

  • isArray(array: any): array is any[]

isCharacterPair

isCodeblock

  • isCodeblock(thing: any): thing is Codeblock

isDecorationOptions

  • isDecorationOptions(something: any): something is DecorationOptions

isDecorationOptionsArr

isDefinitionLinkArray

  • isDefinitionLinkArray(array: any): array is DefinitionLink[]

isEditEvent

isElectron

  • isElectron(): boolean

isEqualOrParent

  • isEqualOrParent(path: string, candidate: string, ignoreCase?: undefined | false | true): boolean

isLittleEndian

  • isLittleEndian(): boolean

isLocationArray

  • isLocationArray(array: any): array is Location[]

isMarkdownString

  • isMarkdownString(thing: any): thing is IMarkdownString

isModelCallHierarchyIncomingCall

  • isModelCallHierarchyIncomingCall(thing: any): thing is CallHierarchyIncomingCall

isModelCallHierarchyItem

  • isModelCallHierarchyItem(thing: any): thing is CallHierarchyItem

isModelCallHierarchyOutgoingCall

  • isModelCallHierarchyOutgoingCall(thing: any): thing is CallHierarchyOutgoingCall

isModelLocation

  • isModelLocation(thing: any): thing is Location

isModelRange

  • isModelRange(thing: any): thing is Range

isNonEmptyArray

  • isNonEmptyArray<T>(obj: T[] | undefined | null): obj is T[]
  • isNonEmptyArray<T>(obj: keyof T[] | undefined | null): obj is keyof T[]

isObject

  • isObject(obj: any): boolean

isPromiseCanceledError

  • isPromiseCanceledError(error: any): boolean

isReadonlyArray

  • isReadonlyArray(arg: unknown): arg is keyof unknown[]

isRelativePattern

  • isRelativePattern(obj: {}): obj is RelativePattern

isRelativePattern

  • isRelativePattern(obj: any): obj is IRelativePattern

isSerializedObject

  • isSerializedObject(obj: any): obj is SerializedObject

isStrArrayOrUndefined

  • isStrArrayOrUndefined(arg: any): arg is string[] | undefined

isStringArr

  • isStringArr(something: string[]): boolean

isUndefined

  • isUndefined(obj: any): obj is undefined

isUndefinedOrNull

  • isUndefinedOrNull(obj: any): obj is undefined | null

isUriComponents

  • isUriComponents(thing: any): thing is UriComponents

join

  • join(...paths: string[]): string

listToMap

  • listToMap(list: string[]): Record<string, true>

loadManifest

  • loadManifest(pluginPath: string, locale?: undefined | string): Promise<any>

loadManifest

loadTranslations

  • loadTranslations(pluginPath: string, locale?: undefined | string): Promise<any>

loadTranslations

  • loadTranslations(pluginModel: PluginModel): Promise<any>

localize

  • localize(value: any, translations: {}): any

localize

  • localize(value: any, translations: {}): any

lookUp

  • lookUp(tree: any, key: string): any

match

  • match(pattern: string | IRelativePattern, path: string): boolean
  • match(expression: IExpression, path: string, hasSibling?: undefined | ((name: string) => boolean)): string

mixin

  • mixin(destination: any, source: any, overwrite?: boolean): any

normalize

  • normalize(p: string): string

normalize

  • normalize(path: string, toOSPath?: undefined | false | true): string

normalize

  • normalize(path: string): string

Const notFound

  • notFound(): Response

ok

  • ok(val?: any, message?: undefined | string): void
  • Copyright (C) 2018 Red Hat, Inc. and others.

    This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

    Parameters

    • Optional val: any
    • Optional message: undefined | string

    Returns void

once

  • once<T>(this: unknown, fn: T): T

overrideInternalLoad

  • overrideInternalLoad(): void

parse

parseExpressionPattern

parsePattern

parseRegExp

  • parseRegExp(pattern: string): string

parseToAsync

parsedExpression

pathOrURIToURI

  • pathOrURIToURI(value: string | URI): URI

pluginToPluginInfo

processLocalhostRequest

  • processLocalhostRequest(event: any, requestUrl: URL): Promise<undefined | Response>

processResourceRequest

  • processResourceRequest(event: any, requestUrl: any, resourceRoot: any): Promise<Response>

readAccountUsages

readContents

  • readContents(uri: string): Promise<string>

readPluginFile

  • readPluginFile(pluginModel: PluginModel, relativePath: string): Promise<string>

readPluginJson

  • readPluginJson(pluginModel: PluginModel, relativePath: string): Promise<any>

readonly

  • readonly(name?: undefined | string): Error

regExpLeadsToEndlessLoop

  • regExpLeadsToEndlessLoop(regexp: RegExp): boolean

relative

  • relative(from: string, to: string): string

removeAccountUsage

  • removeAccountUsage(storageService: StorageService, providerId: string, accountName: string): void

removeDuplicateSeparators

  • removeDuplicateSeparators(p: string): string

resolve

  • resolve(...paths: string[]): string

resolveDebugAdapterExecutable

reverseEndianness

  • reverseEndianness(arr: Uint8Array): void

reviveIndentationRule

reviveMarker

reviveOnEnterRule

reviveOnEnterRules

reviveRange

  • reviveRange(startLine: number, startColumn: number, endLine: number, endColumn: number): Range

reviveRegExp

reviveRelated

reviveSeverity

reviveTag

reviver

  • reviver(key: string | undefined, value: any): any
  • A reviver that takes URI's transferred via JSON.stringify() and makes instances of our local plugin API URI class (below)

    Parameters

    • key: string | undefined
    • value: any

    Returns any

safeStringify

serializeEnterRules

serializeIndentation

serializeRegExp

setUpPluginApi

  • setUpPluginApi(rpc: RPCProtocol, container: Container): void

setWordDefinitionFor

  • setWordDefinitionFor(modeId: string, wordDefinition: RegExp | null): void

sortedDiff

splitGlobAware

  • splitGlobAware(pattern: string, splitChar: string): string[]

starsToRegExp

  • starsToRegExp(starCount: number): string

startDebugAdapter

streql

  • streql(value: string, start: number, end: number, other: string): boolean

theiaUritoUriComponents

toArrayConversion

  • toArrayConversion<T, U>(f: (a: T) => U): (a: T[]) => U[]

toCallHierarchyIncomingCall

toCallHierarchyItem

toCallHierarchyOutgoingCall

toCallee

toCaller

toColor

  • toColor(color: [number, number, number, number]): Color

toCompletionItemKind

toDefinition

toDocumentSymbol

toLittleEndianBuffer

toLocation

toLocation

toMarkdown

toMonacoAction

toMonacoMarkerData

  • toMonacoMarkerData(marker: MarkerData): IMarkerData

toMonacoRelatedInformation

toMonacoWorkspaceEdit

toPlatformInfo

toPosition

toRange

toRange

  • toRange(range: Range): Range

toRegExp

toSelection

toSymbolInformation

  • toSymbolInformation(symbolInformation: SymbolInformation): SymbolInformation | undefined

toSymbolTag

  • toSymbolTag(kind: model.SymbolTag): types.SymbolTag

toTask

toUint32

  • toUint32(v: number): number

toUint8

  • toUint8(v: number): number

toUriComponents

toViewColumn

toWebviewPanelShowOptions

toWorkspaceFolder

transformErrorForSerialization

trimForExclusions

  • trimForExclusions(pattern: string, options: IGlobOptions): string

trivia2

trivia3

trivia4and5

warnOnError

  • warnOnError(promise: Promise<any>): void

wrapRelativePattern

Object literals

Const INTERNAL_CONSOLE_OPTIONS_SCHEMA

INTERNAL_CONSOLE_OPTIONS_SCHEMA: object

default

default: string = "openOnFirstSessionStart"

description

description: string = nls.localize('internalConsoleOptions', 'Controls when the internal debug console should open.')

enum

enum: string[] = ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart']

Const MAIN_RPC_CONTEXT

MAIN_RPC_CONTEXT: object

AUTHENTICATION_EXT

AUTHENTICATION_EXT: ProxyIdentifier<AuthenticationExt> = createProxyIdentifier<AuthenticationExt>('AuthenticationExt')

COMMAND_REGISTRY_EXT

COMMAND_REGISTRY_EXT: ProxyIdentifier<CommandRegistryExt> = createProxyIdentifier<CommandRegistryExt>('CommandRegistryExt')

COMMENTS_EXT

COMMENTS_EXT: ProxyIdentifier<CommentsExt> = createProxyIdentifier<CommentsExt>('CommentsExt')

CONNECTION_EXT

CONNECTION_EXT: ProxyIdentifier<ConnectionExt> = createProxyIdentifier<ConnectionExt>('ConnectionExt')

CUSTOM_EDITORS_EXT

CUSTOM_EDITORS_EXT: ProxyIdentifier<CustomEditorsExt> = createProxyIdentifier<CustomEditorsExt>('CustomEditorsExt')

DEBUG_EXT

DEBUG_EXT: ProxyIdentifier<DebugExt> = createProxyIdentifier<DebugExt>('DebugExt')

DECORATIONS_EXT

DECORATIONS_EXT: ProxyIdentifier<DecorationsExt> = createProxyIdentifier<DecorationsExt>('DecorationsExt')

DOCUMENTS_EXT

DOCUMENTS_EXT: ProxyIdentifier<DocumentsExt> = createProxyIdentifier<DocumentsExt>('DocumentsExt')

EDITORS_AND_DOCUMENTS_EXT

EDITORS_AND_DOCUMENTS_EXT: ProxyIdentifier<EditorsAndDocumentsExt> = createProxyIdentifier<EditorsAndDocumentsExt>('EditorsAndDocumentsExt')

ExtHostFileSystemEventService

ExtHostFileSystemEventService: ProxyIdentifier<ExtHostFileSystemEventServiceShape> = createProxyIdentifier<ExtHostFileSystemEventServiceShape>('ExtHostFileSystemEventService')

FILE_SYSTEM_EXT

FILE_SYSTEM_EXT: ProxyIdentifier<FileSystemExt> = createProxyIdentifier<FileSystemExt>('FileSystemExt')

HOSTED_PLUGIN_MANAGER_EXT

HOSTED_PLUGIN_MANAGER_EXT: ProxyIdentifier<PluginManagerExt> = createProxyIdentifier<PluginManagerExt>('PluginManagerExt')

LABEL_SERVICE_EXT

LABEL_SERVICE_EXT: ProxyIdentifier<LabelServiceExt> = createProxyIdentifier<LabelServiceExt>('LabelServiceExt')

LANGUAGES_EXT

LANGUAGES_EXT: ProxyIdentifier<LanguagesExt> = createProxyIdentifier<LanguagesExt>('LanguagesExt')

NOTIFICATION_EXT

NOTIFICATION_EXT: ProxyIdentifier<NotificationExt> = createProxyIdentifier<NotificationExt>('NotificationExt')

OUTPUT_CHANNEL_REGISTRY_EXT

OUTPUT_CHANNEL_REGISTRY_EXT: ProxyIdentifier<OutputChannelRegistryExt> = createProxyIdentifier<OutputChannelRegistryExt>('OutputChannelRegistryExt')

PREFERENCE_REGISTRY_EXT

PREFERENCE_REGISTRY_EXT: ProxyIdentifier<PreferenceRegistryExt> = createProxyIdentifier<PreferenceRegistryExt>('PreferenceRegistryExt')

QUICK_OPEN_EXT

QUICK_OPEN_EXT: ProxyIdentifier<QuickOpenExt> = createProxyIdentifier<QuickOpenExt>('QuickOpenExt')

SCM_EXT

SCM_EXT: ProxyIdentifier<ScmExt> = createProxyIdentifier<ScmExt>('ScmExt')

SECRETS_EXT

SECRETS_EXT: ProxyIdentifier<SecretsExt> = createProxyIdentifier<SecretsExt>('SecretsExt')

STORAGE_EXT

STORAGE_EXT: ProxyIdentifier<StorageExt> = createProxyIdentifier<StorageExt>('StorageExt')

TASKS_EXT

TASKS_EXT: ProxyIdentifier<TasksExt> = createProxyIdentifier<TasksExt>('TasksExt')

TERMINAL_EXT

TERMINAL_EXT: ProxyIdentifier<TerminalServiceExt> = createProxyIdentifier<TerminalServiceExt>('TerminalServiceExt')

TEXT_EDITORS_EXT

TEXT_EDITORS_EXT: ProxyIdentifier<TextEditorsExt> = createProxyIdentifier<TextEditorsExt>('TextEditorsExt')

THEMING_EXT

THEMING_EXT: ProxyIdentifier<ThemingExt> = createProxyIdentifier<ThemingExt>('ThemingExt')

TIMELINE_EXT

TIMELINE_EXT: ProxyIdentifier<TimelineExt> = createProxyIdentifier<TimelineExt>('TimeLineExt')

TREE_VIEWS_EXT

TREE_VIEWS_EXT: ProxyIdentifier<TreeViewsExt> = createProxyIdentifier<TreeViewsExt>('TreeViewsExt')

WEBVIEWS_EXT

WEBVIEWS_EXT: ProxyIdentifier<WebviewsExt> = createProxyIdentifier<WebviewsExt>('WebviewsExt')

WINDOW_STATE_EXT

WINDOW_STATE_EXT: ProxyIdentifier<WindowStateExt> = createProxyIdentifier<WindowStateExt>('WindowStateExt')

WORKSPACE_EXT

WORKSPACE_EXT: ProxyIdentifier<WorkspaceExt> = createProxyIdentifier<WorkspaceExt>('WorkspaceExt')

Const PLUGIN_RPC_CONTEXT

PLUGIN_RPC_CONTEXT: object

AUTHENTICATION_MAIN

AUTHENTICATION_MAIN: ProxyIdentifier<AuthenticationMain> = <ProxyIdentifier<AuthenticationMain>>createProxyIdentifier<AuthenticationMain>('AuthenticationMain')

CLIPBOARD_MAIN

CLIPBOARD_MAIN: ProxyIdentifier<ClipboardMain> = <ProxyIdentifier<ClipboardMain>>createProxyIdentifier<ClipboardMain>('ClipboardMain')

COMMAND_REGISTRY_MAIN

COMMAND_REGISTRY_MAIN: ProxyIdentifier<CommandRegistryMain> = <ProxyIdentifier<CommandRegistryMain>>createProxyIdentifier<CommandRegistryMain>('CommandRegistryMain')

COMMENTS_MAIN

COMMENTS_MAIN: ProxyIdentifier<CommentsMain> = <ProxyIdentifier<CommentsMain>>createProxyIdentifier<CommentsMain>('CommentsMain')

CONNECTION_MAIN

CONNECTION_MAIN: ProxyIdentifier<ConnectionMain> = createProxyIdentifier<ConnectionMain>('ConnectionMain')

CUSTOM_EDITORS_MAIN

CUSTOM_EDITORS_MAIN: ProxyIdentifier<CustomEditorsMain> = createProxyIdentifier<CustomEditorsMain>('CustomEditorsMain')