Skip to main content

Language

  • 2 minutes to read

This article describes all Context Providers in the Language group. Refer to the Context Providers article for details on how to access Context Providers from the other groups.

A … I I … Z
InCSharp InTypeScript
InCSS InVisualBasic
InFSharp InXAML
InHTML InXML
InJavaScript LanguageMatches


[InCSharp([version])]

Position Parameter Description
1 Language Version (optional) The language version number (e.g. 4.0, 7.2, etc.).

Satisfied when a C# file is active in the editor.

Supported Languages: All


[InCSS]

Satisfied when a CSS file is active in the editor.

Supported Languages: All


[InFSharp]

Satisfied when a F# file is active in the editor.

Supported Languages: All


[InHTML]

Satisfied when a HTML file is active in the editor.

Supported Languages: All


[InJavaScript]

Satisfied when a Java Script file is active in the editor.

Supported Languages: All


[InTypeScript]

Satisfied when a Type Script file is active in the editor.

Supported Languages: All


[InVisualBasic([version])]

Position Parameter Description
1 Language Version (optional) The language version number (e.g. 10.0, 15.3, etc.).

Satisfied when a Visual Basic file is active in the editor.

Supported Languages: All


[InXAML]

Satisfied when a XAML file is active in the editor.

Supported Languages: All


[InXML]

Satisfied when a XML file is active in the editor.

Supported Languages: All


[LanguageMatches(languageID)]

Position Parameter Description
1 Language ID The language ID to match.

Satisfied when the Language ID of the active file matches the Language ID passed as a parameter.

The list of possible values of the Language ID parameter.

  • Visual Basic
  • C#
  • F#
  • XAML
  • XML
  • HTML
  • CSS
  • JavaScript
  • TypeScript

Supported Languages: All