File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/jupyterlab-lsp/src/features Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import jumpToSvg from '../../style/icons/jump-to.svg';
27
27
import { URLExt } from '@jupyterlab/coreutils' ;
28
28
import { CodeJump as LSPJumpSettings , ModifierKey } from '../_jump_to' ;
29
29
import { ISettingRegistry } from '@jupyterlab/settingregistry' ;
30
+ import { CommandEntryPoint } from '../command_manager' ;
30
31
31
32
export const jumpToIcon = new LabIcon ( {
32
33
name : 'lsp:jump-to' ,
@@ -253,7 +254,9 @@ const COMMANDS: IFeatureCommand[] = [
253
254
} ,
254
255
is_enabled : ( { connection } ) => connection . isDefinitionSupported ( ) ,
255
256
label : 'Jump back' ,
256
- icon : jumpToIcon
257
+ icon : jumpToIcon ,
258
+ // do not attach to any of the context menus
259
+ attach_to : new Set < CommandEntryPoint > ( )
257
260
}
258
261
] ;
259
262
You can’t perform that action at this time.
0 commit comments