mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
first cut of token_at_position api, https://github.com/microsoft/vscode/issues/91555
This commit is contained in:
@@ -393,6 +393,7 @@ export interface MainThreadLanguageFeaturesShape extends IDisposable {
|
||||
export interface MainThreadLanguagesShape extends IDisposable {
|
||||
$getLanguages(): Promise<string[]>;
|
||||
$changeLanguage(resource: UriComponents, languageId: string): Promise<void>;
|
||||
$tokensAtPosition(resource: UriComponents, position: IPosition): Promise<undefined | { type: modes.StandardTokenType, range: IRange }>;
|
||||
}
|
||||
|
||||
export interface MainThreadMessageOptions {
|
||||
|
||||
Reference in New Issue
Block a user