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

File​Prompt

by loquens ALL

Sublime Text open/save file prompt with tab completion and configurable suggestions variants.

Details

Installs

  • Total 205
  • Win 132
  • Mac 37
  • Linux 36
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 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 0 0 0
Mac 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

subl-open-file-prompt

Sublime Text 3 plugin, which implements 'Linux-styled' file open and save prompt with suggestions and autocompletion by 'Tab' key.

It has three different types of suggestions list (configurable in keyboard shortcut): * scratch buffer * matched files and dirs displayed in columns in scratch buffer * files could be selected by mouse also * status bar * matched files and dirs displayed only in status bar * quick panel * matched files and directories displayed in quick panel

Basic idea and source for improvements was taken from prompt_open_file_path.py from cg-sublime by Chris Guilbeau.

Usage

Installation

From Package control

It is preffered way of installation. * Install Package control package. * Go to Preferences - “Package Control” - “Install Package” - FilePrompt, and press Enter.

From source

Clone git repository and put subl-open-file-prompt directory inside Packages directory of Sublime Text, which could be located by selecting “Preferences - Browse Packages…” command from Sublime Text menu.

Keybindings

Suggested keybindings:

{ "keys": ["ctrl+o"], "command": "open_file_prompt" },
{ "keys": ["ctrl+shift+s"], "command": "save_file_prompt" },

It is possible to add one or more arguments for both commands. For example:

{ "keys": ["ctrl+o"], "command": "open_file_prompt", "args": { "suggestions_list_type": 0, "directories_first" : true } }

Values for suggestions_list_type: * 0 - scratch buffer (default) * 1 - status line * 2 - quick panel

Values for directories_first: * true - show directories before files in suggestions list (default) * false - show files and directories in alphabetical order

Changelog

  • 0.0.9
    • input panel does not need “tab_completions” set to “False” in settings to work correctly
  • 0.0.8
    • (scratch) added ability to open file/select directory by mouse click
    • small improvements and bug fixes
  • 0.0.1 to 0.0.7
    • implementation steps