mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
provideColorPresentations should have document in paramaters.
This commit is contained in:
@@ -132,7 +132,7 @@ export function activate(context: ExtensionContext) {
|
||||
});
|
||||
});
|
||||
},
|
||||
provideColorPresentations(colorInfo: ColorInformation): ColorPresentation[] | Thenable<ColorPresentation[]> {
|
||||
provideColorPresentations(document: TextDocument, colorInfo: ColorInformation): ColorPresentation[] | Thenable<ColorPresentation[]> {
|
||||
let result: ColorPresentation[] = [];
|
||||
let color = colorInfo.color;
|
||||
let label;
|
||||
|
||||
Reference in New Issue
Block a user