CS50 IDE FAQs
If you want to open a file named
c9 open path/to/foo.
If the Console pane at the bottom is visible, you should be able to open a new terminal tab by clicking the button atop that pane, and choosing New Terminal.
TIP: If you no longer see the Console pane, you can bring it back via View > Console or by hitting F6. You can also open a terminal in any other pane.
Sure, if you are more familiar, you can run editors in the terminal such as
Choose File > Download Project to download
ide50.zip, an archived file (in
.zip format) of your workspace files.
If you backed up your work per What’s the best way to back up my work?, and you would like to restore it in a different (or same) workspace, upload
ide50.zip to your workspace per Uploading Files, then run the following commands in a terminal tab in your workspace:
$ unzip ide50.zip $ mv ~/workspace/workspace/* ~/workspace/ $ rm -rf ide50.zip ~/workspace/workspace/
You can use your existing Cloud9 account to create a CS50 IDE workspace by clicking this link, which will bring up a Create a workspace page with the default settings already selected.
NOTE: Be sure to check Private, under Hosted Workspace, if not checked.
All you’ll need to do is create it! You can then access CS50 IDE from your Cloud9 dashboard, like you would access any other workspace.
Unfortunately, edX’s OpenID (which we use for authentication) doesn’t support logging in with Facebook, Google, or Microsoft accounts yet. To get around this, for now, you should try restting your password (even though you may have never set any before) from your Account Settings page on edX, then head to cs50.io again and log in with the email associated with your Facebook, Google, or Microsoft account you use to log into edX, and the password you just set.
.c9folder appearing right under my
~/workspacefolder, that I haven’t created. Is this normal?
Yes, this is totally normal. If curious,
~/workspace/.c9/ is used by Cloud9 IDE (and CS50 IDE) to hold some workspace settings, your undo history, and other metadata.
Generally, you shouldn’t touch this folder or its contents. Files and folders whose names start with a dot (aka dot files) should be hidden by default. You may want to hide the
.c9 folder (along with any other dot files) by clicking the gear icon atop the file browser on the left and unchecking Show Hidden Files.
Old workspaces used to have less than 5GB of total disk space. This may be problematic particularly when running
update50 to get the latest updates since this may consume your disk space quota. We are hoping to address this better in the near future so that wouldn’t be a concern for you, but in the meantime you can get a 5GB workspace by following these instructions:
username50in a CS50 IDE terminal tab to get it.
This should automatically create a new 5GB workspace for you. You can confirm by clicking on the top-right corner and checking the disk space. Please follow the instructions per How to restore my work after backing it up? to upload your files to your new workspace. Let email@example.com know if you need further assistance!
Looks like check50 (or submit50) isn't enabled for your account yet. Log into https://cs50.me/ in a browser, click Authorize Application, and re-run check50 (or submit50) here!even after following these instructions. What should I do?
Go to https://github.com/check50/<your-username>/invitations and https://github.com/submit50/<your-username>/invitations, after replacing
<your-username> with your actual GitHub username, and click Accept invitation, then try
submit50 again. Let firstname.lastname@example.org know if you need further assistance!
If curious why this happens, earlier the Authorize Application step was sufficient for adding your GitHub user as a collaborator with write access on your check50 and submit50 repositories that we automatically create for you, but GitHub updated their API recently to require users to accept invitations for repositories they’re added to, so the Authorize Application step isn’t sufficient any more, and you have to accept these invitations.
*50commands work. What should I do?
Probably you’re using a non-CS50 workspace. Follow these instructions to delete your current workspace, and create a CS50 workspace:
Please follow the instructions at How do I recover a deleted file?. Let email@example.com know if you need further assistance!