File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 453453 "category" : " R" ,
454454 "command" : " r.names"
455455 },
456+ {
457+ "title" : " View selected object" ,
458+ "category" : " R" ,
459+ "command" : " r.view"
460+ },
456461 {
457462 "title" : " Create gitignore" ,
458463 "category" : " R" ,
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<apiImp
7070 'r.head' : ( ) => rTerminal . runSelectionOrWord ( [ 'head' ] ) ,
7171 'r.thead' : ( ) => rTerminal . runSelectionOrWord ( [ 't' , 'head' ] ) ,
7272 'r.names' : ( ) => rTerminal . runSelectionOrWord ( [ 'names' ] ) ,
73+ 'r.view' : ( ) => rTerminal . runSelectionOrWord ( [ 'View' ] ) ,
7374 'r.runSource' : ( ) => { void rTerminal . runSource ( false ) ; } ,
7475 'r.runSelection' : ( code ?: string ) => { code ? void rTerminal . runTextInTerm ( code ) : void rTerminal . runSelection ( ) ; } ,
7576 'r.runFromLineToEnd' : rTerminal . runFromLineToEnd ,
You can’t perform that action at this time.
0 commit comments