michelvanheest / shortcuts-design-data

http://shortcuts.design/
255 stars 87 forks source link

Adding "Rstudio" to "Development Shortcuts" #34

Open 7mxd opened 3 years ago

7mxd commented 3 years ago

I would like to ask please if you can add Rstudio inn addition to the available Development Shortcuts ..

michelvanheest commented 3 years ago

Hey @7mxd , thanks for requesting Rstudio. I'm unfamiliar with this tool, so I've got two questions:

  1. Is this a widely used tool, aka, will a lot of people benefit from it being added?
  2. 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!

7mxd commented 3 years ago

Hey @michelvanheest, thank you for your reply!

  1. 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.
  2. To be honest, I didn't try that before. Therefore, I am not really sure if I can do that.

Regards, Ahmed Radhi

michelvanheest commented 3 years ago

@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 πŸ‘Œ

7mxd commented 3 years ago

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!

michelvanheest commented 3 years ago

No worries, take your time and be sure of your priorities! Thanks for willing to contribute, looking forward to it. Good luck with university

7mxd commented 3 years ago

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!

michelvanheest commented 3 years ago

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?

7mxd commented 3 years ago

Okay, so I didn't make a fork, but I just forked, and added a file to "/tools" and "/assets/img".

michelvanheest commented 3 years ago

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!

7mxd commented 3 years ago

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

michelvanheest commented 3 years ago

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

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).

image

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.

image

Other links from the README

If you have any questions, please let me know πŸ™‚

7mxd commented 3 years ago

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

michelvanheest commented 3 years ago

@7mxd

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.

7mxd commented 3 years ago

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

michelvanheest commented 3 years ago

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

michelvanheest commented 1 year ago

Hi @7mxd are you still working on this? :) I see I never received a PR :D