The open file list and tab switching should be done by the built-in openfiles panel, because it just does that better. I added there tab numbering and hotkey tab switching. See https://github.com/agroszer/komodo-openfiles2. A TODO is to add configuration to enable/disable tab numbering.
The goal would be to merge the changes upstream.
BTW, I’m using tab switching by assigning hotkeys to tabs, so I hit ctrl+2, and tab number 2 gets activated. After 9 it’s a, b, c and so on, the hotkey is ctrl+q, a.
We added clipboard history in K11 btw, though it doesn’t include completion history.
I’m not sure you’re aware of quick bookmarks. Your keybindings will override the Quick Bookmark key bindings of Ctrl +[0-1]. Not the end of the world, just pointing it out.
I’m not 100% what you’re asking for feedback on though. Are you asking if you should rip out the tab switching?
As long as they are configurable I likely would accept them. It’s mainly just the numbering right? Or is there more?
Note all Open Files prefs are currently handled via its cog menu. Also I would want the order to be configurable for being based on tab order or Open Files order as not everyone uses tabs.
Give it a try… open some files, start typing, it will offer completions from all files.
Assign hotkeys to items to insert one of the options (I have Alt-1, Alt-2, etc)
File types don’t matter, this way completion works across python, python doctest, rst, txt
It’s not codeintel, but try “variable.m”, it shall offer “variable.method”, space also works as a separator there, type: "Give " it will offer “Give it”.
The options order is determined by “distance” from the current text position and recently used tab order.
Ah I see, I was looking for a completion panel. Fwiw we intend to make CodeIntel extendable for 11.1, so you should be able to show completions as actual completions.
Very curious to see how you’re querying other files for completions. What are you using for this?
Other files: those are just the currently open “other” files… it iterates on ko.windowManager.getWindows() and window.ko.views.manager.topView.viewhistory._recentViews, grabs the text, does a regexp. No big science.
The idea is that you’ll have your work stuff open.
Sorry, was prolly unclear, I want to get rid of the filelist-item icon: