Declares a language status item as part of the application model.
Created at activation, disposed with the application, injectable under definition.token — the same lifecycle as defineStatusBarItem.
definition.token
export const LintStatus = defineLanguageStatusItem({ id: 'sample.eslint', selector: { language: 'typescript' }, name: 'ESLint', text: '$(check) No issues',});module.languageStatus.add(LintStatus); Copy
export const LintStatus = defineLanguageStatusItem({ id: 'sample.eslint', selector: { language: 'typescript' }, name: 'ESLint', text: '$(check) No issues',});module.languageStatus.add(LintStatus);
Declares a language status item as part of the application model.
Created at activation, disposed with the application, injectable under
definition.token— the same lifecycle as defineStatusBarItem.