Skip to content

Adapt runSelection to use RCommands as Shortcut#101

Merged
Ikuyadeu merged 2 commits intoREditorSupport:masterfrom
MaTo04:Shortcut-RFunction
Mar 2, 2019
Merged

Adapt runSelection to use RCommands as Shortcut#101
Ikuyadeu merged 2 commits intoREditorSupport:masterfrom
MaTo04:Shortcut-RFunction

Conversation

@MaTo04
Copy link
Copy Markdown

@MaTo04 MaTo04 commented Feb 27, 2019

The function runSelection could just send selected Code to the console. To ensure a intuitive workflow it would be nice to run internal R-functions by VS Code shortcuts for the selected code.

Best way to check the pull request ist to start a R-console and run selected code like before (ctrl+enter). Then load a dataframe and check if the predefined shortcuts are running:
ctrl+1 = nrow
ctrl+2 = length
ctrl+3 = head
ctrl+4 = transposed head (multiple functions)
ctrl+5 = names

@Ikuyadeu
Copy link
Copy Markdown
Member

@MaTo04 Great work, thank you for submitting Pull Request.
I'll check this PR in 3 days.

@Ikuyadeu Ikuyadeu merged commit 2375697 into REditorSupport:master Mar 2, 2019
@Ikuyadeu
Copy link
Copy Markdown
Member

Ikuyadeu commented Mar 2, 2019

@MaTo04 I merged now.
Thank you for your awesome contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants