rosshemsley / iOpener

Open files from path, with completion, listings and history. Similar to Emacs find file.
GNU General Public License v2.0
55 stars 19 forks source link

Add new project to same window #4

Closed kevincobain2000 closed 10 years ago

kevincobain2000 commented 10 years ago

It's more convenient if the new project is added to the same window rather opening a new window

rosshemsley commented 10 years ago

Hi, thanks for the contribution!

I have been meaning to add an option to do this for a while, as it can be practical indeed. However, the reason I haven't up until now is because I wanted to mirror the behaviour of Sublime Text by default (ST opens directories in new windows).

My idea was to add a pattern so that opening a directory into an empty project would not create a new window, but opening a directory into a project would.

Users could then use Project->Add Folder to Project from the main menu if they want that behaviour.

What do you think?

PS. I noticed you added an exclude pattern ".*" - maybe this should be in a setting as I don't think it's cross platform?

kevincobain2000 commented 10 years ago

Hi, new/same window its just the matter of preference of programmer and also type of project he is been working on. I prefer same window as my projects usually involve many symbolic links and tags that help me locate definitions if all of them are in one window.

Lets keep this pull req close ! Nevertheless if there'd be some user googling similar issue can land on this discussion and express their thoughts.