I’m writing a Ruby IDE. It opens a directory as a “project” and
displays all the .rb files so you can edit them. I want to save all the
settings for my IDE in a yaml file. It would be called
MyProjectName.vr_settings. This yaml file will hold all the info for
path to project
main program to run
I want to make it so when the user clicks on the
MyProjectName.vr_settings file, my IDE opens and loads that project.
How do you do this?
I would like to make a unique extension like “.vr_settings” so I can be
sure that I’m not interfering with other file types.
Also, I want the program to edit the operating systems files when the
IDE runs for the first time. Many programs establish a file association
when they install. I want to create that same set-up.
I would also welcome opinions on the best way to handle projects. Right
now my IDE has one big settings file with all the projects in it. I
think opening a single project is a better solution because Ubuntu has
its own tabbing system: When you open a second project, a second
instance of my IDE would appear in Ubuntu’s tabs.
For example, I’m writing my IDE and a supporting library right now. Its
a big hassle to switch back and forth between the projects because it
swaps the whole project each time.