src/vs/editor/contrib/inlineCompletions/ghostTextController.ts/ActiveGhostTextController/updateContextKeys
class ActiveGhostTextController:	private updateContextKeys(): void {
		this.contextKeys.inlineCompletionVisible.set(
			this.model.activeInlineCompletionsModel?.ghostText !== undefined
		);

		const ghostText = this.model.inlineCompletionsModel.ghostText;
		if (ghostText && ghostText.parts.length > 0) {
			const { column, lines } = ghostText.parts[0];
			const suggestionStartsWithWs = lines[0].startsWith(' ') || lines[0].startsWith('\t');

			const indentationEndColumn = this.editor.getModel().getLineIndentColumn(ghostText.lineNumber);
			const inIndentation = column <= indentationEndColumn;

			this.contextKeys.inlineCompletionSuggestsIndentation.set(
				!!this.model.activeInlineCompletionsModel
				&& suggestionStartsWithWs && inIndentation
			);
		} else {
			this.contextKeys.inlineCompletionSuggestsIndentation.set(false);
		}
	}