Adding "Rstudio" to "Development Shortcuts"
Opened this issue Β· 16 comments
I would like to ask please if you can add Rstudio inn addition to the available Development Shortcuts ..
Hey @7mxd , thanks for requesting Rstudio. I'm unfamiliar with this tool, so I've got two questions:
- Is this a widely used tool, aka, will a lot of people benefit from it being added?
- Are you willing to add it yourself with a PR? I don't know the tool, so I might can't ensure the quality of the shortcuts when I'm doing it myself
Thanks!
Hey @michelvanheest, thank you for your reply!
- R is a programming language that is widely used by statisticians. Also, I believe that R and Python are the two most used languages for data science and data analysis. And Rstudio is the IDE for R.
- To be honest, I didn't try that before. Therefore, I am not really sure if I can do that.
Regards,
Ahmed Radhi
@7mxd Thanks for getting back to me! It seems like you know the tool, so you'll probably the right person to control the quality. Are you willing to check out the README of this repo to see if you could add them yourself? It's pretty easy: create the table with the data and fill in a little frontmatter-based template to supply the site with things like a slug and a page name.
Happy to help and collaborate with you on making this happen π
Thank you @michelvanheest for your reply and sorry for being late.
Anyways, sure! I'll take a look at the README and I'll see what I can do. However, I am somehow busy with my university assignments, so I may be late a little bit.
Glad to collaborate and be part of that project.
Thank you!
No worries, take your time and be sure of your priorities! Thanks for willing to contribute, looking forward to it. Good luck with university
Hey @michelvanheest again,
I just added a file to "/tools", and I want to add a file to "/assets/img", but it seems that I cannot add any file because I get an error that says "Uploads are disabled. File uploads require push access to this repository."
Thank you!
Hmm sounds weird, I suppose you made a fork and are adding the content in there..? Can't you add images in the fork, or are you already trying to do a PR?
Okay, so I didn't make a fork, but I just forked, and added a file to "/tools" and "/assets/img".
I checked it out, looking good already π Looking forward to seeing the shortcuts added and merging them into the site!
Thanks for contributing in advance!
Hey, sorry for being late
So now for the shortcuts, is there a specific way to write because I don't really get the instructions?
Thank you
Hey @7mxd, still thanks for helping out, and apologies for the late reply.
Iβve made a starter file in Microsoft Excel (can also be used in Google Sheets by simply importing it) and Apple Numbers that help you quickly create the data files. Unfortunately, I had a typo in the README that linked to them π€¦ββοΈ, fixed that just now.
Download the files
- MS Excel β https://github.com/michelvanheest/shortcuts-design-data/blob/master/docs/Shortcuts.design-data-creator.xlsx
- Apple Numbers β https://github.com/michelvanheest/shortcuts-design-data/blob/master/docs/Shortcuts.design-data-creator.numbers
Explanation
Because the data is still in plain HTML (legacy thingie), itβs the easiest to use these files. Just paste in the shortcut description (for example Show / Hide UI
) in the first column and the shortcut itself (for example β \
) in the second column. Excel will automatically create the right line of HTML for you, as you can see in the example below (I'm using Apple Numbers here, but it'll work the same in Excel/Google Sheets).
Be sure to use proper headings to indicate the various sections in the list.
After that, just paste in the generated code as seen in the image below.
<tr><th colspan="2">{PLACE YOUR HEADING HERE}</th></tr>
- Add the generated code between the
<tbody>
tags
Other links from the README
- If you want to copy the symbols (like β, β₯ etc.), check out https://github.com/michelvanheest/shortcuts-design-data#symbols
- If you want to see if it all works out, check out https://github.com/michelvanheest/shortcuts-design-data#running-the-project
If you have any questions, please let me know π
Hey @michelvanheest,
I am already working on the shortcuts, but I have some questions please
I am copying the shortcuts from https://support.rstudio.com/hc/en-us/articles/200711853-Keyboard-Shortcuts-in-the-RStudio-IDE , and I would say that some of them say "except on Chrome" or "Chrome Only, that's okay?
Also, I think the Enter symbol in https://github.com/michelvanheest/shortcuts-design-data#symbols have a border or something, is it okay?
One more thing, Enter and Return are the same? And what should I use for PgUp and PgDn?
Thank you
I am copying the shortcuts from https://support.rstudio.com/hc/en-us/articles/200711853-Keyboard-Shortcuts-in-the-RStudio-IDE , and I would say that some of them say "except on Chrome" or "Chrome Only, that's okay?
That's perfectly fine π I see some of them only working on Windows, if it's not enough trouble, be sure to filter them out on the Mac side.
Also, I think the Enter symbol in https://github.com/michelvanheest/shortcuts-design-data#symbols have a border or something, is it okay?
All good!
One more thing, Enter and Return are the same? And what should I use for PgUp and PgDn?
Yes, Return is how the Enter-key is officially called on Macs. For PgUp/Down, you can just do it in text. There are symbols for those, but most people don't know them or need to "replicate" it on their laptops without numpad using the Fn
key.
Hey,
Regarding the following point,
That's perfectly fine π I see some of them only working on Windows, if it's not enough trouble, be sure to filter them out on the Mac side.
So, do we need to do one for Mac, and another one for Windows?
Thank you
If it's a tool that works on both platforms, that'll be great, yes. As you see most tools on the site have it as well
Hi @7mxd are you still working on this? :) I see I never received a PR :D