Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/comments/browser/comments.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
7
import { IView } from '../../../common/views.js';
8
import { CommentsFilters } from './commentsViewActions.js';
9
10
export const CommentsViewFilterFocusContextKey = new RawContextKey<boolean>('commentsFilterFocus', false);
11
12
export interface ICommentsView extends IView {
13
14
readonly filters: CommentsFilters;
15
focusFilter(): void;
16
clearFilterText(): void;
17
getFilterStats(): { total: number; filtered: number };
18
19
collapseAll(): void;
20
}
21
22