Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResourceContextKey

Hierarchy

  • ResourceContextKey

Index

Constructors

constructor

Properties

Protected Readonly contextKeyService

contextKeyService: ContextKeyService

Protected Readonly languages

languages: LanguageService

Protected resource

resource: ContextKey<URI>

Protected resourceDirName

resourceDirName: ContextKey<string>

Protected resourceExtname

resourceExtname: ContextKey<string>

Protected resourceFileName

resourceFileName: ContextKey<string>

Protected resourceLangId

resourceLangId: ContextKey<string>

Protected resourcePath

resourcePath: ContextKey<string>

Protected resourceSchemeKey

resourceSchemeKey: ContextKey<string>

Methods

get

Protected getLanguageId

  • getLanguageId(uri: undefined | default): undefined | string

Protected init

  • init(): void

set

  • set(resourceUri: undefined | default): void