-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find into Folder #6
Comments
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. |
Sorry for my english)
Thanks. |
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. |
Added shortcut |
Yeah, I now use it and very happy. But: I think for best usability needed:
I click Ctrl + F and search at current directory. This cool, and now work.
Folder1/ (<- select default) 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.
Big thanks for you great work and cool Sublime package 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. |
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}) |
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. |
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. |
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. |
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. |
Hi there. I just set my bookmarks like so: When I want to contex click to start FuzzyFileNav, I get the error window: What did I do wrong??? |
How find into folder, when I example use bookmark?
Ctrl + Shift + F
Into "Where" write my select path now. For fast navigate and find text into folder, when project very large, that more effective.
The text was updated successfully, but these errors were encountered: