The tab bar, located towards the top of the window, allows for quick file switching and closing. It also provides information about the current file being edited, the locked/readonly status of the file and whether the file is a difference view or not.
But there is more that this powerful UI control provides within TKE.
Changing Tab Location
If you have several tabs opened and are frequently switching between two files that are far apart from each other in the tab bar, you can drag and drop tabs in the same tab bar to rearrange them and bring them closer together. Additionally, by default,
when a new file is opened, its tab will be inserted at the end of the tab bar; however, you can cause it to be inserted alphabetically by changing the “View/OpenTabsAlphabetically” preference option to a value of 1. You can also sort the current
tabs alphabetically at any time by using the “View / Tabs / Sort Tabs” option.
Speaking of the “View / Tabs” submenu, you’ll notice there are some other nice goto features there as well like goto next, goto previous and goto last. By default, no keyboard shortcuts are set for these features, but you can easily setup your own
via the “Edit / Menu Bindings” feature or use the command launcher to get quick keyboard access to these navigation features.
Managing Lots of Tabs
As more and more tabs are added to the tab bar, all tabs are reduced in size. By default, at a given point when each tab reaches its minimally allowed width, adding a new tab will display to arrow buttons on the right and left side of the tab.
Left-clicking on the arrows will shift the tab bar view over by one tab in the given direction. Right-clicking (or Option clicking for Mac OSX) on one of the arrows, however, will display a dropdown list of all tabs (even those not currently displayed).
Clicking on one of these names will open the file in the tab bar and make it visible. If you are the type of person that just likes to see all tabs, regardless of how small they get, you can accomplish this by setting the “View/AllowTabScrolling”
preference value to 0. Additionally, cause lots of tabs can cause filenames to be elided, you can hover the mouse over a tab and after a second a tooltip will display the full pathname of the tab’s file.
Accessing Other Tab Functionality
Finally, you can access other tab functions by right-clicking on a tab to view the tab’s menu of options. Included in this list is the ability to close the tab, close all other tabs, close all tabs, display a split view of the current file, lock
and favorite the current file, show the file in the sidebar and move the tab to the other editing pane. Each TKE window can display up to two editing panes side-by-side, each editing pane containing its own tab bar and associated files.
Now that you are an official TKE tab ninja, use those new skills wisely and take your coding to new levels.
To see more information about the TKE code editor, visit http://tke.sourceforge.net