getEncodedSemanticClassifications

abstract fun getEncodedSemanticClassifications(fileName: String, span: TextSpan, format: SemanticClassificationFormat = definedExternally): Classifications(source)

Gets semantic highlights information for a particular file. Has two formats, an older version used by VS and a format used by VS Code.

Parameters

fileName

The path to the file

position

A text span to return results within

format

Which format to use, defaults to "original"