Monkey Studio IDE The way IDEs should be

The best IDE file browser

hlamer's picture

Hi

Some time ago I noticed, that I dislike our File Browser ui. It takes too lot of free space, and there are too lot of buttons, but I never use them.
I decided to improve the UI...

Here is old version:
old-file-browser.png

Useless functionality


At first, I just removed 2 of the buttons.
Why do we need "Select a root folder", if it only opens file dialogue, similar to main UI? I think, we don't need it. Removed
Do we need "Set selected item as root" button? If I am browsing with a mouse, I don't select item, than click the button, I just doubleclick the item. If I am browsing with keyboard, I also don't click the button, I press enter on the item. Removed
Do you use bookmarks in the current File Browser version? This functionality intended to help us quickly open popular directories, but I'm to lazy for keeping directories list up to date, therefore, don't use bookmarks. Functionality does not serve its goal. Useless. Removed

OK, it seems I removed all, now UI contains only 1 button (Up), one read only edit box and the tree. As simple, as possible. Now about useful functionality...

Better navigation


Let's look at popular web browsers. It is kind of software, which actively used at most every PC user. Really big user base, and valuable experience.
How do you open your pages? I think:
  1. Type a address
  2. Click a link
  3. Start to type a address, and browser completes it for you, according to your history
  4. Press Back and Forward

I think, all 4 variants are suitable for an IDE File Browser as well. So, my changes are:

  1. Now edit line are editable, and it completes your path with file system completer.
  2. Already was done. Doubleclick a directory to open it, or press Enter
  3. This is replacement of old bookmarks. Now File Browser remembers your history and allows you select your most popular directories (not the last ones, but the most popular!) in the combo
  4. Now Back directory is available as combo item. Some other IDEs allow you to go back to your previous directory, but, I think, it is useless, you always can press "Up" or select visible directory in the tree. Our file browser allows you to jump back to previous directory, where file has been opened. I think, it is more useful.

There are also one IDE specific action, which was not implemented in MkS (and I really was missing it), and which is implemented by some other IDEs as a button
5. jump to directory of current file. Now it is also available as a combo item.

I'm also thinking about adding web browser like Back and Forward buttons to the dock title, and, probably, 'Go to directory of current file' button, so, combo will contain only popular dirrectories.

So, I think, here is the best IDE File Browser:
new-file-browser-2.png

new-file-browser.png
Of course, I'm trolling you with this "the best". Try to argue, that it is possible to do even better ;)

Now this file browser included to mksv3. But, it is not released yet, only available as sources.

AttachmentSize
old-file-browser.png23.64 KB
new-file-browser.png35.85 KB
new-file-browser-2.png16.49 KB

Comments

pasnox's picture

Good idea it looks so kool!

Good idea it looks so kool!

You can seek team on IRC.
If you don't know what is IRC, then go to the IRC page.
If you want an answer, please be explicit and verbose.
Help by email will be ignored.