0

I've noticed some new issues arise whilst interacting with the CS50 IDE, primarily concerning the text editor. They were previously unseen; and I feel as though they may have occurred due to updates. Of course, they could not be actual issues, and are likely to be due to a latent setting or feature. I have, however, searched the settings and the CS50 Discussion boards; but to no avail.

The first odd issue I noticed was related the to the cursor capabilities in a text file. It doesn't seem to latch onto the text unless it is far to the right of the target line. It remains a normal select cursor, without being able to select the line and consequently edit it. Nor can I select the text directly; almost as if were a Read-Only file. It's only until the cursor is in the far right of a line does it finally become a text cursor, and able to select and highlight text.

This is frustrating, because it means I am unable to directly select text at certain points in order to edit or delete specific statements and identifiers. In most cases, a large amount of the line needs to be deleted or cycled through in order to reach the beginning of a line. I still somewhat feel that it could be due to a setting, although it seems unlikely. It causes nothing but inconvenience, and feels more like a bug. I have looked through the editor's setting and found nothing relating to the issue.

Secondly, wasn't the text editor GUI previously opened using the gedit command at the command line? When I enter "gedit ", I receive a bash error stating that the gedit command isn't found. What is the default text editor? Is this my imagination?

These events occurred after running update50 and downloading the pset3.zip file.

Anyhow, in general, I've noticed some very specific unexpected behaviour, which is why I couldn't find any solutions elsewhere. How can I fix this?

  • I'm getting the exact same issues. Never happened before until I updated to version 62 of ide50 just now. – dLopez Aug 15 '16 at 23:07
3

Please read this, it may be the answer to your problems.

| improve this answer | |
  • Thank you. Always a simple explanation. Do you think it would be wise to wait until the updates are complete before continuing with problem sets? In case of severe technical difficulties that affect our work and so forth. – Gabriel Doyle-Finch Aug 15 '16 at 23:30
  • @GabrielDoyle-Finch You could go to you dashboard and create a "blank" workspace. It should be okay, but you won't have access to the files you have in the CS50 IDE workspace, unfortunately. Maybe you could search and find a way to access your files, or you could just copy-paste your code, it's up to you :) – Abehssera Yohan Aug 15 '16 at 23:36
  • Thank you, that's not a bad idea. Unfortunately, I'm on pset3 which is based on quite a few other files and involves interaction with the CS50 GUI debugger (which I'm sure is available in a blank workspace). It feels rather specific to the CS50 IDE, however. I can do some reading and wait a little longer. Thank you for your help :) To reiterate (for (int i ..., haha), is gedit the default text editor? I took a rather long break from the course but I seem to remember that it was. Is the IDE simply missing the gedit package for the command line? – Gabriel Doyle-Finch Aug 15 '16 at 23:48
  • @GabrielDoyle-Finch (You could download an archive, unzip it, and upload your files to the new workspace, then use the commandline gdb tool) Cloud 9 doesn't use gedit, I believe your are just typing in a text area (like when you're typing a comment here) which is processed for the colors, and when you hit ctrl-s, Cloud 9 just copies the content of this text area into a file. At least I suppose that's basically how it works, I don't really know. Anyway no, it doesn't use gedit, which is a GUI program, while Cloud 9 doesn't run any desktop environment. What Cloud 9 runs is basically a terminal. – Abehssera Yohan Aug 15 '16 at 23:53
  • Hmm. That's odd. Is there a command that creates a text file and brings it up in the above window? I guess that's the crux of what I mean. I was able to do that in previous sessions, and I'm fairly certain that gedit invoked it. Gedit doesn't open on in the terminal like Vim or nano, and the window above the terminal is essentially a GUI. What command(s) do you use to create and open text files from the command line? – Gabriel Doyle-Finch Aug 16 '16 at 0:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .