@@ -31,7 +31,7 @@ export const jumpToIcon = new LabIcon({
31
31
svgstr : jumpToSvg
32
32
} ) ;
33
33
34
- const FEATURE_ID = PLUGIN_ID + ':jump-to ' ;
34
+ const FEATURE_ID = PLUGIN_ID + ':jump_to ' ;
35
35
36
36
export class CMJumpToDefinition extends CodeMirrorIntegration {
37
37
get jumper ( ) {
@@ -59,7 +59,7 @@ export class CMJumpToDefinition extends CodeMirrorIntegration {
59
59
const { button } = event ;
60
60
if (
61
61
button === 0 &&
62
- getModifierState ( event , this . modifierKey as string )
62
+ getModifierState ( event , this . modifierKey )
63
63
) {
64
64
this . connection
65
65
. getDefinition ( virtual_position , document . document_info , false )
@@ -126,7 +126,6 @@ export class CMJumpToDefinition extends CodeMirrorIntegration {
126
126
127
127
if ( uris_equal ( uri , document_uri ) ) {
128
128
let editor_index = this . adapter . get_editor_index_at ( virtual_position ) ;
129
- console . log ( 'Editor index: ' , editor_index ) ;
130
129
// if in current file, transform from the position within virtual document to the editor position:
131
130
let editor_position = this . virtual_editor . transform_virtual_to_editor (
132
131
virtual_position
@@ -136,8 +135,6 @@ export class CMJumpToDefinition extends CodeMirrorIntegration {
136
135
console . log ( 'Jump target within editor:' , editor_position_ce ) ;
137
136
138
137
let contents_path = this . adapter . widget . context . path ;
139
- console . log ( 'path' , this . adapter . widget . context . path ) ;
140
- console . log ( 'localPath' , this . adapter . widget . context . localPath ) ;
141
138
142
139
this . jumper . global_jump ( {
143
140
line : editor_position_ce . line ,
0 commit comments