Comments (12)
Not sure what you mean. Are you saying you want to populate the find in folder widget with the current folder you are in via Fuzzy File Nav? If so, I could probably look into to that.
from fuzzyfilenav.
Sorry for my english)
- I have very large project (many files/folders), more 10 000;
- I create bookmark for 20 favorite directory;
- I need always find some text at my favorite directory in bookmark;
- I open bookmark (Ctrl+Shift+O);
- Go to may folders;
- How I find sometext of this folder?
- I can not use Sidebar at left part of Sublime (Find in Folder), because list of directories and files very long;
- Very cool if in open bookmark (folders list) I can open "Find in Folder" my select folder now;
- If I need use shortcut Ctrl + Shift + F, I not remember correct folder path.
Thanks.
from fuzzyfilenav.
I think I understand what you are asking for. I will try and add the ability to open "Find in Folder" with the current FuzzyFileNav directory.
from fuzzyfilenav.
Added shortcut ctrl+f
or super+f
in OSX to open the Find in Folder
with the current Fuzzy File Nav directory. Please let me know if this is what you wanted.
from fuzzyfilenav.
Yeah, I now use it and very happy. But:
I think for best usability needed:
- If in FuzzyFileNav (Ctrl+O) select currect directory (files only). I see:
.. (<- select default)
file1.txt
file2.txt
file3.txt
I click Ctrl + F and search at current directory. This cool, and now work.
- If in FuzzyFileNav (Ctrl+O) or (Ctrl+Shift+O) select only directory list, not files. I see:
Folder1/ (<- select default)
Folder2/
Folder3/
If I select (Folder2), may be keyboard bottom down, or may be fast search enter key "er2" automatic select Folder 2, but if I use Ctrl+F then for search not use this folder. Use parent directory.
-
I think may be needed if select folder, then Ctrl+F search at select (in FuzzyFileNav) directory. But not search in ".." folder. If select file than use current directory.
-
I think this most correct:
- If I needed search at folder I select it in FuzzyFileNav and click Ctrl+F;
- If I needed search at current folder I select one files of this folder or top folder ".." (exception for folder .. because it always select default);
- If I needed search at current file I open it and use standart Sublime Ctrl+F on source file (for this not needed FuzzyFileNav);
Big thanks for you great work and cool Sublime package FuzzyFileNav.
from fuzzyfilenav.
I am not entirely clear yet on your last descriptions. I will try and read through it a couple of times and post back with what I think you are describing.
It sounds like the new feature is working for you though, but that you have some other suggestions. I am having a difficult time understanding what those suggestions are, so give me some time to try and understand. Any clarification you can give might be helpful as well.
from fuzzyfilenav.
May be I think this code:
class FuzzySearchFolderCommand(sublime_plugin.WindowCommand): def run(self): full_name = path.join(FuzzyFileNavCommand.cwd, FuzzyPanelText.get_content()) # Select path: folder or file if os.path.isdir(full_name) == True or full_name != '..': # If directory and not ".." (prev. dir) search at select dir self.window.run_command("show_panel", {"panel": "find_in_files", "where": full_name}) else: # if select file or ".." dir, then search at current dir self.window.run_command("show_panel", {"panel": "find_in_files", "where": FuzzyFileNavCommand.cwd})
from fuzzyfilenav.
Okay, I think I see now. You want to be able to enter a directory name in the FuzzyFileNav Panel and have it use that folder name in the "Find in Files" Panel. I can do that.
from fuzzyfilenav.
I experiment with code. And think that I say not possible, because for view elements use:
show_quick_panel(items, on_done, )
it not have event on_change and we not have what element now select in our panel. Only when click for them - on_done event.
from fuzzyfilenav.
Unless I misunderstand what you want, I should be able to do what you need; I have just had a lot going on right now, so I haven't had a chance.
from fuzzyfilenav.
Sorry it took so long. This should work now. If you enter a folder name in the quick panel and press the search shortcut, it should use the folder you specified.
from fuzzyfilenav.
Hi there. I just set my bookmarks like so:
"bookmarks": [
{"name": "My Computer", "path": {"#multiconf#": [{"os:windows": "c:\users\Mehdi\AppData\Roaming"}]}},
{"name": "Root", "path": {"#multiconf#": [{"os:linux": "/"}, {"os:osx": "/"}]}}
]
When I want to contex click to start FuzzyFileNav, I get the error window:
Error tying to parse settings:Unexpected trailing characters in C:\Useres\Mehdi-2\AppData\Roaming\Sublime Text 2\Packages\User\fuzzy_nav.sublime-settings:1:13
What did I do wrong???
from fuzzyfilenav.
Related Issues (20)
- Setting up Bookmarks HOT 5
- Open folder HOT 11
- Doesn't work on ST3 rMBP 10.8.3 HOT 2
- Disabled menus and broken key bindings in ST3 HOT 1
- ST3 Errors HOT 3
- Open multiple files with key binding HOT 4
- Better Save support HOT 15
- Not showing in context menu Windows 8.1 ST3 HOT 3
- regex_exclude not working HOT 2
- Readme needs heading named "Installing" HOT 1
- Can't install plugin HOT 3
- Open folder instead of file? HOT 2
- Feature Request. HOT 9
- feature request: a command to insert path of selected file into view
- fuzzy_get_cwd is called each second if Nav quick panel is open HOT 4
- Default Extension HOT 1
- Copy Multiple and Paste Multiple files
- [feature] open a folder in new window HOT 2
- Get new version out HOT 5
- Add option to load files from folder recursively HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzyfilenav.