Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding "Rstudio" to "Development Shortcuts" #34

Open
7mxd opened this issue Jun 15, 2021 · 16 comments
Open

Adding "Rstudio" to "Development Shortcuts" #34

7mxd opened this issue Jun 15, 2021 · 16 comments

Comments

@7mxd
Copy link

7mxd commented Jun 15, 2021

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

@michelvanheest
Copy link
Owner

michelvanheest commented Jun 19, 2021

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
Copy link
Author

7mxd commented Jun 19, 2021

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
Copy link
Owner

@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
Copy link
Author

7mxd commented Jun 22, 2021

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
Copy link
Owner

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
Copy link
Author

7mxd commented Jun 26, 2021

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
Copy link
Owner

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
Copy link
Author

7mxd commented Jun 27, 2021

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

@michelvanheest
Copy link
Owner

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
Copy link
Author

7mxd commented Jul 30, 2021

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
Copy link
Owner

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.

  • <tr><th colspan="2">{PLACE YOUR HEADING HERE}</th></tr>
  • Add the generated code between the <tbody> tags

image

Other links from the README

If you have any questions, please let me know 🙂

@7mxd
Copy link
Author

7mxd commented Aug 12, 2021

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
Copy link
Owner

@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
Copy link
Author

7mxd commented Aug 21, 2021

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
Copy link
Owner

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
Copy link
Owner

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

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

No branches or pull requests

2 participants