File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,11 @@ import { IActivityService, NumberBadge } from 'vs/workbench/services/activity/co
17
17
import { COMMENTS_VIEW_ID } from 'vs/workbench/contrib/comments/browser/commentsTreeViewer' ;
18
18
import { CommentThreadState } from 'vs/editor/common/languages' ;
19
19
import { LifecyclePhase } from 'vs/workbench/services/lifecycle/common/lifecycle' ;
20
- import { CommandsRegistry } from 'vs/platform/commands/common/commands' ;
21
- import { IViewsService } from 'vs/workbench/services/views/common/viewsService' ;
22
20
import { MenuId , registerAction2 } from 'vs/platform/actions/common/actions' ;
23
21
import { CONTEXT_KEY_HAS_COMMENTS , CONTEXT_KEY_SOME_COMMENTS_EXPANDED , CommentsPanel } from 'vs/workbench/contrib/comments/browser/commentsView' ;
24
22
import { ViewAction } from 'vs/workbench/browser/parts/views/viewPane' ;
25
23
import { Codicon } from 'vs/base/common/codicons' ;
26
24
27
- CommandsRegistry . registerCommand ( {
28
- id : 'workbench.action.focusCommentsPanel' ,
29
- handler : async ( accessor ) => {
30
- const viewsService = accessor . get ( IViewsService ) ;
31
- viewsService . openView ( COMMENTS_VIEW_ID , true ) ;
32
- }
33
- } ) ;
34
-
35
25
registerAction2 ( class Collapse extends ViewAction < CommentsPanel > {
36
26
constructor ( ) {
37
27
super ( {
You can’t perform that action at this time.
0 commit comments