AdvancedNewFile
AdvancedNewFile copied to clipboard
Feature: Show directory contents with "nix" completion on double-TAB
Basically, I'm thinking of something similar to the Emacs (or shell) behavior. With "nix"-style completion enabled, if the user presses TAB twice when the completion is ambiguous, show a list of all options. This could be done with a minihtml hover, or (preferably) by expanding the panel to include the file list above the file bar (ideally with sidebar-derived icons, but really it doesn't matter).
As it stands, windows-style completion is almost the only useful one (despite its annoying behavior), since it's the only way to explore a directory structure.
Thanks for the suggestion. I'll look at the ST3 api to see what can be done. U agree though that in the current form, windows style completion is the useful version. Unfortunately, it's the best I could do (cleanly) with the ST2 api.
At least with ST4, it should be possible to simply use the normal auto complete popup for this feature. If I eventually end up adding this feature, I'll see if it feals more natural
- to have the popup open immediately as you start typing, like in code views,
- to show the popup when a tab is pressed, like for text views (e.g. html), or
- to use nix behavior where a single tab completes the first result and the second shows a full list.
The latter could turn out to be difficult to implement with ST native tools, however, and would likely end up looking similar to #185 using minihtml popups.