Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultUriLabelProviderContribution

Hierarchy

Implements

Index

Properties

Protected Readonly envVariablesServer

envVariablesServer: EnvVariablesServer

Protected formatters

formatters: ResourceLabelFormatter[] = []

Protected homePath

homePath: string | undefined

Private Readonly labelMatchingRegexp

labelMatchingRegexp: RegExp = /\${(scheme|authority|path|query)}/g

Protected Readonly onDidChangeEmitter

onDidChangeEmitter: Emitter<DidChangeLabelEvent> = new Emitter<DidChangeLabelEvent>()

Accessors

defaultFileIcon

  • get defaultFileIcon(): string

defaultFolderIcon

  • get defaultFolderIcon(): string

onDidChange

Methods

canHandle

  • canHandle(element: object): number

Protected findFormatting

Private fireOnDidChange

  • fireOnDidChange(): void

Protected formatUri

Protected getFileIcon

  • getFileIcon(uri: URI): string | undefined

getIcon

getLongName

getName

Protected getUri

Private hasDriveLetter

  • hasDriveLetter(path: string): boolean

init

  • init(): void

registerFormatter