FuzzyImports
SublimeText 3 plugin to browse file system from quick panel and add javascript module imports.
Details
Installs
- Total 766
- Win 316
- Mac 261
- Linux 189
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 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
FuzzyImports
FuzzyImports is a SublimeText 3 plugin that allows to browse file system via the quick panel and add javascript module imports. It is greatly influenced by FuzzyFileNav.
How to Use
- Open JS file where you want to add an import.
- Press
Cmd
+Alt
+i
combindation (osx) orWin
+Alt
+i
(win, Linux) to bring up the FuzzyImport's quick panel. It will show you a content of the opened file's directory. - Navigate to the file you want to add and press Enter.
- If it is a js file and it has named exports it will show them in quick panel and give an ability to add it as a named import.
- Otherwise it will add a file as a default import
Features
- Browse files from quick panel starting from target file's directory
- Quickly add javascript default exports
- View non-default exports and choose directly from quick panel
- Add non-js imports too
Installation
The easiest way to install FuzzyImports is via Package Control.
- Press ctrl + shift + p (Win, Linux) or cmd + shift + p (OSX) to bring up the quick panel and select “Package Control: Install Package”. It will show a list of installable plugins
- Select FuzzyImports and press Enter.
- Restart Sublime to make sure everything is loaded properly
Development
Use https://github.com/SublimeText/UnitTesting to run tests.
Credits
- FuzzyFileNav - for idea and mechanics
- Lark - robust and easy to use parser for exports extraction