Unfortunately the file list resides in a XUL tree, which isn’t “really” part of the DOM, so your knowledge of the DOM is mostly irrelevant when dealing with them. To be frank, XUL trees are a giant pain in the ass.
Click the Gear menu > Manage Views. Unfortunately Komodo’s Includes and Excludes tooling doesn’t support full paths but you should still be able to accomplished what you need with what we provide.
Note that you can either set the managed view to Current Project or make a custom one for some generic project type you might work with.
Commando is too slow in my workflow.
Sometimes I don’t know the name of the next file or the folder that I’ll have to open (I’ll open two or three files and check), so I need a quick visual representation of the file tree (is it in this folder ? one folder up ?).
Or I’ll have to switch quickly between two folders and typing the name and navigating each time is time consuming.
Commando shouldn’t be any slower than the manual task of exploring the folders. I wonder if you are using it right? You can type partial names, including parent folders. In whatever order you want.
Let’s say you have the following file:
/path/to/my/file.txt
All of the following queries will show you the file:
This isn’t necessary. Search from the top level (root) folder of your project. I can find a file in the Komodo source in less than a second using the technique @nathanr mentions (substrings of path and/or filename). Komodo source has over 10000 files in it.
Commando is technically fast, and I like the fuzzy search. But in my workflow it is not well suited.
Just now I had this scenario where I tried to use commando :
I know my file is in the “social” folder, I type “social” in commando but I realize that I don’t know which is the template file that has the string “card” in it. I revert to use the file tree, I scroll to the social folder, right click on it to launch the “Find” command.
That’s one example where the file tree is more useful, I can’t right click in commando to find or delete files…
Anyway what I initially wanted to know is if there is an api (or dom access) to this file tree ?
I should clarify, we have many APIs to play with many aspects of Komodo BUT you happened across one aspect of Komodo that has been very difficult to extend, augment or enhance with a user friendly API. Sorry to be the bearer of bad news