ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

File​Dialog

by shagabutdinov ST2/ST3

Replacement for default "save as...", "open" of sublime

Details

Installs

  • Total 863
  • Win 493
  • OS X 194
  • Linux 176
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4
Windows 0 1 1 0 0 0 0 2 2 2 0 1 0 0 0 0 1 0 0 1 0 1 2 1 0 0 0 1 0 3 0 2 1 0 0 1 1 0 0 0 0 0 1 0 0
OS X 0 0 0 0 0 0 1 0 0 0 0 0 0 1 3 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime FileDialog plugin

Replacement for default “save as…”, “open” sublime functionality. Also provides “rename file…” feature.

Reason

I don't like OS's default “save as…” and “open” dialog because there is no way to navigate through files and directories in fuzzy way and there is no way to put default file name into the “save as…” file name field even if I can detect it pretty precisely (for most mvc framework filename will be name of class in file text). So it is attempt to replace this default dialogs and I found it quite usable after a bit training.

Demo

Demo

WARNING

This plugin replaces default sublime “save as…”, “open” functionality in unobvious way. When saving new file you should enter then name of file into the dialog and hit “tab” (not “enter”) to save file. “Enter” will open directory or file.

By default it tries to detect your file name and put this file name into the file name field. It will hide other files or directories that not match this file name so if you want to save file under different directory you should delete (or cut) file name and navigate to directory you need. Current directory is listed in status bar.

Installation

This plugin is part of sublime-enhanced plugin set. You can install sublime-enhanced and this plugin will be installed automatically.

If you would like to install this package separately check “Installing packages separately” section of sublime-enhanced package.

Usage

To open file: hit keyboard shortcut than select file you need and hit enter. You can use fuzzy search to quickly find file or directory you need.

To save file: hit keyboard shortcut than navigate to directory you need than than enter file name and hit “tab”.

To rename file: hit keyboard shortcut than navigate to directory you need than than enter new file name and hit “tab”.

There is keyboard shortcuts to go up and down in directory stack. Please refer sublime-file-folder plugin to find out keyboard shortcuts.

FileDialog works over sublime-folder-files so its shortcuts will work here.

Commands

Title Keyboard shortcut Command palette
Save ctrl+s FileDialog: Save
Save as ctrl+shift+s FileDialog: Save as…
Open ctrl+u, ctrl+o FileDialog: Open
Rename ctrl+u, ctrl+r FileDialog: Rename
Complete operation tab

Dependencies