Posted by joker on 2008-04-18 06:32 |
Wed, 2011-03-23 18:18
  • : 4.1 - 5.*
  • : 4.1 - 5.*

JSTreeDrive add new tab in left pane.
This extension enables:

  • view, delete, rename all local or remote files
  • create files, folders
  • view image inside Komodo
  • quick access to favorites directory


brabitom | Mon, 2008-10-13 23:32

Hi, I try this extension on Windows version Komodo Edit 5 alfa 2.
In this version I don't see remote locations in JSDriveTree panel. I see local drives only.

joker | Tue, 2008-10-14 15:23

I tested on version Komodo Edit 5 alpha 3
everything works as expected...
what version JSDriveTree you're using ?

brabitom | Tue, 2008-10-14 22:42

I have latest version 0.7.2
See screenshot for details

joker | Thu, 2008-10-16 12:40

Sorry but unfortunately at this moment I can not help you,
because I can not reproduce this error.
(I have shown all FTP and SFTP connections)

brabitom | Thu, 2008-10-16 22:12

Ok, I understand.
Now I tested it with new Komodo Edit (version 5.0.0-beta1, build 2306, platform win32-x86) and I have the same problem.
I wait for next beta release of Komodo and try it again.
Thanks for Your time.

brabitom | Fri, 2008-11-07 00:42

In latest Komodo Edit, version 5.0.1, build 2537 was problem fixed.

adam | Tue, 2008-10-21 00:16

It's really great extension.
Is there any chance to add option to show/hide "dot" files (e.g. .htaccess)?
That would be great.

joker | Tue, 2008-10-21 12:50

In the next version I will add this option.)

zee | Wed, 2008-11-05 14:37


Cool extension. Is it possible to add in next version ability to display directory of file, open in editor currently?


joker | Tue, 2008-11-11 07:35

I do not quite understand what you mean

stanley.tweedle | Wed, 2008-11-26 02:56

...since i too have an affinity for the feature, as requested by 'zee', [to have the] "...ability to display directory of file, open in editor...".

'zee' means to describe, i believe, a feature common to many, if not /most/ text-editors (e.g.


while editing a file in EP, pause to right-click EP's dir panel, bottom area, "File Directory" in the context-menu


while editing a file, right-click in N++'s "Lite Explorer" to "Synch _blahCurrentFile_ with _someblahFileDirectory_"


sorry-- i realize i only provided two half-ashed examples, but you know this one, i'm sure of it. it's basically: \\explorer.exe "%F" -- only, dude was asking for-- instead of "explorer.exe"-- your JSTreeDrive to take %F, and show that dir, and childItems, etc.

(all this, of course, if i'm interpreting 'zee' correctly!)

P.S. also-- JStreedrive is already awesome, of course-- and certainly has done much heavy-lifting for many already. reading so many "trivial" requests coming in now-- it's just polishing the chrome on ride that's sweet regardless!)


Novice Developer?
Check out NoviceNotes.Net

fili | Wed, 2008-11-12 05:53

Thanks for this great plugin. I find it very odd that a file-browser isn't a standard component in Komodo Edit. Without your plugin I would have chosen another editor to work with.

I have some feature-requests for the next version:

1. To delete a favorite, one has to right-click it and choose 'Delete'. This seems somewhat confusing as it might suggest deleting the actual directory. I suggest renaming it to 'Delete favorite'

2. When a directory is selected in the top-view, that directory should be set as the Komodo save-as dialog working directory. So when saving a new file, it starts within the directory you have selected in jstreedrive.

3. Add a 'browse directory' option when right-clicking on a directory or somewhere in the bottom file-pane. This function would start up the file-manager (thunar/nautilus/finder/explorer/etc) in the selected directory.

4. Include the 'create directory' and 'create file' options in the right-click menu on the bottom file-pane.

andybak | Thu, 2008-11-20 09:40

'Source tree' and 'remote drive tree' for example.

vnoel | Fri, 2008-11-21 04:55

Thanks a lot for this plugin, without it I don't think I would have been able to use Komodo in my work.

I have noticed that when you open images in Komodo (a functionality provided by this plugin, I assume), their aspect ratio is often wrong - it seems like the displayed image size is hard-coded. This is especially noticeable with images in 'portrait' mode, i.e. images that are taller than wide. Is this on purpose? I'm guessing this could be a limitation of Komodo's extensions...

joker | Sat, 2008-11-22 09:06

All big pictures are placed in the format of 800x600
(I still have not fully investigate how to determine the size of the image for scaling in XUL)

rsyring | Fri, 2008-11-21 20:48

I can also confirm that this extension breaks source tree extension on Edit 5.0.2.

Hopefully you can get this fixed, as I both extension are pretty important to me. Thanks for the work you have put into this.

joker | Mon, 2008-11-24 01:17

Problem in Source Tree code
(Komodo Edit no tabs "codebrowserviewbox")

You can fix it like this...

--- sourcetree.jar\content\overlay.xul
+++ sourcetree.jar\content\overlay.xul
@@ -32,11 +32,11 @@
 <!-- codebrowser_tab -->
     <tabs id="project_toolbox_tabs">
-        <tab id="sourcetree_tab" label="Source" insertafter="toolbox_tab"
+        <tab id="sourcetree_tab" label="Source" insertafter="project_tab"
              tooltiptext="Source Tree"/>
     <tabpanels id="project_toolbox_tabpanels">
-        <tabpanel flex="1" id="sourcetreeviewbox" insertafter="codebrowserviewbox">
+        <tabpanel flex="1" id="sourcetreeviewbox" insertafter="projectviewbox">
                <vbox flex="1" id="sourcetree-vbox">
                    <hbox align="center" id="sourcetree-tabpanel-hbox">

cdumay | Tue, 2008-12-02 10:06

I notice a problem on multiple local port forwarding.
i've got 2 tunnels on two distinct remote server behind a firewall using ssh.
- ssh -L 9966:ServeA:22 firewall
- ssh -L 9977:ServeB:22 firewall

I created the 2 sftp server's accounts in Preference > Servers using and the local ports (9966 and 9977) all works but when i try to use those servers, the first file tree system loaded is applied to the two servers.

Refresh always update the first opened connection.

I found a workaround: if i use for one server and localhost for the other, the browser works it seems that the browser match only the address to build the tree.

stellaris | Fri, 2008-12-12 09:21


since Komodo Edit 5 (Linux and Win, 32-bit), I'm getting unexpected behaviour while opening files remotely via FTP in KE:

Clicking directories does not ask for the FTP password (so I assume I am correctly logged in), but opening a file does. Is that a known behaviour?


nahtass | Fri, 2009-03-27 13:15

Win 64 Vista (I know...) just patched to 5.1 and I get this dialog box:

ko.views.manager.docSvc is undefined

Contact me with fix / questions / any request.

Looking forward to a fix, great app!

"mean in print, nice in person"
except when coding and programming then
"humble and listening"

stas | Sat, 2009-04-04 05:28

This happens on Ubuntu (jaunty), komodo edit 5 (Komodo Edit, version 5.1.0, build 3284, platform linux-libcpp6-x86.Built on Fri Mar 20 17:20:43 2009) when I'm trying to create a file on the remote fs.
`Cannot make new file: TypeError: ko.views.manager.docSvc is undefined`

Would be nice if it gets fixed.

Thanks in advance.

joker | Mon, 2009-04-20 02:13


adam | Fri, 2009-04-17 02:17

Same problem on Windows Vista 64b, Komodo 5.1.1

Cannot make new file: TypeError: ko.views.manager.docSvc is undefined

joker | Mon, 2009-04-20 02:13


deb00t | Fri, 2009-06-26 02:49

I'd really appreciate sorting of files in the file listing, right now, with the latest Edit, it looks like:
well, you get the idea :) is there something I can do about it, or do YOU have to fix/check something? a big thanks for the addon, anyway :)

figital | Thu, 2009-10-08 12:27

Thanks for this extension. I wouldn't be using KomodoEdit without it. The "Make Favorite" option is my favorite.

Is this the best place to propose new features or submit code?

Currently the file view will sort file names in alphabetical order but the uppercase letters are separated from the lowercase letters. I'd really like to see the alphabetizing be case insensitive.

Cheers ...


(also haven't been able to find out yet where the add-on is installed on my local system)

nahtass | Thu, 2009-10-08 12:45

Wanted to put a note in here:

1-Windows 7 + KoMoDo + JSCriveTree = working great (WTF?-wanna buy my Vista?)

2- Hangups are a result of FTP client handling on servers. Purging users on the server level will help on hangs. Looking at more solutions.

This seems to be across servers (usually a virtual) when too many clients are jumping in or multiple instances. Changing timeout DOES NOT HELP! Not my forte but I am learning.

Thanks again for the GREAT EXTENSION!!!!!


joeycalamaro | Thu, 2009-10-15 09:39

Unless I'm doing something wrong, double-clicking an image with this add-in installed (png, JPG, gif) just shows garbage characters on Mac OS X 10.6.1 (as if Komodo was trying to edit the file as text). Any workaround for this?

lsemel | Thu, 2009-10-15 17:24

I would love to use this, but this extension regularly causes the entire editor to hang when opening folders, rendering it unusable.

Komodo Edit, version 5.2.1, build 4108, platform macosx-x86

lsemel | Sun, 2009-10-18 20:58

Clarifying my comment above, it hangs while browsing the local drive.

dandvd | Wed, 2009-10-28 16:17

1. Please allow selection of multiple files, e.g. for deletion
2. Please let the user delete by pressing the Del key on (a) file(s).

Thank you!

yu119995 | Sun, 2009-11-15 10:43

To begin with, this add on is absolutely what the doctor ordered. Thank you very much.

My desktop is running XP with Komodo and JSTreeDrive with no issues whatsoever. However, I was given this new laptop running Win 7 Home Premium and proceeded to load it with Komodo along with JSTreeDrive. I'm getting this error message whenever I try to access the 'Documents' folder in the directory tree view:

toggleOpenState - WindowsError: [Error 5] Access is denied: u'C:/Users/user/My Documents/*.*

I'm assuming that it's a permissions issue, however I'm using Komodo from within an administrator account and wouldn't expect to be 'locked out' of any folders. I'll take a look at the script itself as well in the meantime.


knightnet | Fri, 2009-11-27 02:13


I think I know what this may be. I've had similar problems with Windows 7. The "My Documents" folder is no longer a "proper" folder under Windows 7. The folder to use is now "Documents" which you should see in the same parent folder (your user folder). I don't know why but Windows often will refuse access to "My Documents" even from Windows Explorer.

Regards, Julian Knight

lsemel | Wed, 2009-11-25 10:59

I can consistently lock up the editor by opening Komodo and navigating to a particular folder in JSDriveTree. This is really annoying because Komodo is basically unuable for me without JSDriveTree.

lsemel | Wed, 2009-11-25 10:59

I can consistently lock up the editor by opening Komodo and navigating to a particular folder in JSDriveTree. This is really annoying because Komodo is basically unusble for me without JSDriveTree.

lsemel | Wed, 2009-11-25 11:58

mkdir /tmp/test
cd /tmp/test/
touch 1
touch 2
touch 3
touch 4
touch 5
touch 6
touch 7
touch 8
touch 9
touch a
touch b
touch c
touch d
touch e
touch f

Open Komodo
Navigate to the /tmp/test folder in JSTreeDrive
Open the folder
Komodo hangs, cursor becomes a beach ball

This doesn't seem to happen if there are fewer files in the folder. It also doesn't happen on Project View.

ActiveState Staff
Wed, 2009-11-25 18:19

lsemel, is the editor unusable, or is the cursor just a beachball icon?

Joker, this might be fixable by revising the code in
dinamicTree.js :: toggleOpenState like so:

try {
    // ...
    // (expand/collapse)
} catch(e){
    alert( 'toggleOpenState - ' + e);
} finally {

lsemel | Wed, 2009-11-25 21:23

It completely locks up the editor and I have to do a Force Quit to restore it, as if something is stuck in an endless loop. The lockup happens a few seconds after opening the "infected" folder.

As part of diagnosing this, I tried disabling all the other extensions/plugins but to no avail.

I was going to try to edit the extension, but having never worked with any Mozilla extension before and knowing only Javascript as it applies to the web, it's a little beyond my knowledge.


lsemel | Wed, 2009-11-25 21:29

It beach balls for a second or so as it reads the directory, goes to an arrow for a second or so, then beach balls and locks up the editor.

flynsarmy | Wed, 2009-12-30 04:14

Issue 1. Each time Komodo starts up, the left panel is open but it's set to 'Projects' instead of 'Files'.

Issue 2. If i navigate to the folder I want, after restarting komodo (and reopening the 'Files' tab) it hasn't saved the folder I was in and I need to navigate back to it...

Issue 3. Why can't we have files appearing below folders so the tab isn't split into 2 sections? This is my biggest beef with all the file navigation plugins - they all seem to do this.

Komodo IDE on Ubuntu Karmic (Gnome)

gabs | Wed, 2010-01-13 07:33

You Sir (and the maker of a similar extension) have made Komodo IDE something I can actually use.
It is beyond my comprehension why this is not a standard feature of Komodo IDE.
I and most of my colleagues work on remote servers 99% of the time.


lsemel | Tue, 2010-01-19 14:11

The fact that this locks up the editor for me prevents me from using Komodo at all.

cyber | Wed, 2010-03-31 06:33

Please keep up the good work! You made my Komodo time awesomer ;)

outsidethebox | Wed, 2010-03-31 18:47

This extension is an essential addition to Komodo since the built-in file management in Komodo has some real problems.

What's lacking in JSTreeDrive is the ability to copy/move files and folders.

Any chance of that?

twooten | Wed, 2010-04-07 05:39

Here are the stats on my machine.

Komodo Edit, version 5.2.4, build 4343, platform linux-libcpp6-x86.
Built on Tue Dec 8 19:32:58 2009.

Everything was fine until I saw there was an update to Komodo. So I did that and now when I click on a remote server in jstreedrive, komodo locks up and all I can do is kill the process.

I'd love to get this working again. Either by fixing the issue or rolling back to a previous version of Komodo. Can anyone tell me how to do either of those things?


adam | Thu, 2010-10-14 23:54

Great extension, thanks a lot.
Any chance of update for Komodo 6?
I know Komodo 6 has "Places" functionality, but it's not the same ;)


ausi | Mon, 2010-11-22 04:21

I was using this extension for a long time with Komodo 5.
Now i want to update to Komodo 6.
Will there be an update in the future?

brabitom | Tue, 2011-06-07 03:18

Hi everyone,

if You want JSTreeDrive for Komodo 6, You can download it from here: http://brabenec.net/misc/komodo/jstreedrive-0.7.3-ko-_komodo-6.xpi
It's current official version only with little changes for work with Komodo 6. I tested it on Windows (Komodo Edit, version 6.1.1, build 7295, platform win32-x86.) and Linux (Komodo Edit, version 6.1.1, build 7295, platform linux-libcpp6-x86. Built on Fri Feb 18 20:30:50 2011.)
This version is without any warranty.

I'm not developer of this extension, I'm only active user and I want use it in Komodo 6.

This is a great extension and as long as I can, I'll try to keep it working even more versions of Komodo.


P.S.: Work in Komodo 7 alfa too (Komodo IDE, version 7.0.0-alpha2, build 63376, platform win32-x86. Built on Thu May 05 21:34:46 2011.) ;-)

brabitom | Tue, 2011-06-14 00:14

If You want JSTreeDrive for Komodo 7 too, You can try new extension called Sites. Sites is based on code of JSTreeDrive originally developed by Joker. Sites is only renamed (to avoid confusion with the original project) original project and include some bug fixes for work with Komodo 6 and Komodo 7.

brabitom | Tue, 2011-11-01 01:13

Sites as add-on on Komodo extensions site: http://community.activestate.com/node/6894