File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -437,7 +437,6 @@ export namespace EDITOR_COMMANDS {
437437 id : 'editor.splitToRight' ,
438438 category : CATEGORY ,
439439 label : '%editor.splitToRight%' ,
440- iconClass : getIcon ( 'embed' ) ,
441440 } ;
442441
443442 export const SPLIT_TO_TOP : Command = {
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import {
3535 ServiceNames ,
3636 URI ,
3737 formatLocalize ,
38+ getIcon ,
3839 getLanguageIdFromMonaco ,
3940 localize ,
4041} from '@opensumi/ide-core-browser' ;
@@ -61,7 +62,6 @@ import {
6162 IDocPersistentCacheProvider ,
6263 IEditor ,
6364 ILanguageService ,
64- IResource ,
6565 IResourceOpenOptions ,
6666 ResourceService ,
6767 SaveReason ,
@@ -1321,6 +1321,7 @@ export class EditorContribution
13211321
13221322 menus . registerMenuItem ( MenuId . EditorTitle , {
13231323 command : EDITOR_COMMANDS . SPLIT_TO_RIGHT . id ,
1324+ iconClass : getIcon ( 'embed' ) ,
13241325 group : 'navigation' ,
13251326 when : 'resource' ,
13261327 order : 5 ,
You can’t perform that action at this time.
0 commit comments