File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ export class FileEditorJumper extends CodeJumper {
55
55
56
56
getCurrentPosition ( ) : IGlobalPosition {
57
57
let position = this . editor . editor . getCursorPosition ( ) ;
58
- console . log ( 'file path: ' , this . editor . context . path ) ;
59
58
return {
60
59
editor_index : null ,
61
60
line : position . line ,
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ export const jumpToIcon = new LabIcon({
34
34
svgstr : jumpToSvg
35
35
} ) ;
36
36
37
+ const jumpBackIcon = new LabIcon ( {
38
+ name : 'lsp:jump-back' ,
39
+ svgstr : jumpToSvg . replace ( 'jp-icon3' , 'lsp-icon-flip-x jp-icon3' )
40
+ } ) ;
41
+
37
42
const FEATURE_ID = PLUGIN_ID + ':jump_to' ;
38
43
39
44
export class CMJumpToDefinition extends CodeMirrorIntegration {
@@ -254,7 +259,7 @@ const COMMANDS: IFeatureCommand[] = [
254
259
} ,
255
260
is_enabled : ( { connection } ) => connection . isDefinitionSupported ( ) ,
256
261
label : 'Jump back' ,
257
- icon : jumpToIcon ,
262
+ icon : jumpBackIcon ,
258
263
// do not attach to any of the context menus
259
264
attach_to : new Set < CommandEntryPoint > ( )
260
265
}
Original file line number Diff line number Diff line change 8
8
.lsp-document-locator span : not (: last-child )::after {
9
9
content : ' > ' ;
10
10
}
11
+
12
+ .lsp-icon-flip-x {
13
+ transform : scaleX (-1 );
14
+ transform-origin : center center;
15
+ }
You can’t perform that action at this time.
0 commit comments