Find File (in directory)

Started by Arthur, March 18, 2009, 04:39:04 AM

Previous topic - Next topic

Arthur

Idea: how about adding to the Find dialog scope "File name"? It must be a search in a directory(s).

Stefan

Hi Arthur,
would you please explain some more what you want?

AFAIS there is  Scope "Files" to search in directory to chose. (see picture, (don't know if my syntax is correct?) )
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Just want to add, that you can also search in specific file without opening it, if you select scope Files, and put as path full file name.
Another thing you can use current file directory, to search all files in directory of current file.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

I am sorry for not being specific enough.

To elaborate: the new scope I meant is to enable search for a certain file name.

Stefan

You mean to search for an file like with >>>WinExplorer<<<  Ctrl+F feature ?
To open it if found?
Or what is your intention?
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan


Interesting idea.  But as "work around"..... here is an hint for you and/or others finding this thread:


Normal one do this the other way around: find an file with WinExplorer and then open this with your editor.

Option 1)
With HippoEDIT you can create an link in (right click) context menu "Open File With HippoEDIT".
see ==>  Tools > File Associations.. > Shell Integration
But this needs admin rights one time, because of writing to Registry HKLM-hive.

Option 2)
Users with non-Admin rights can use this way:
- create an "Shortcut to HippoEDIT.exe"
- copy or move this to your "Send To"- folder  "C:\Documents and Settings\<yourName>\SendTo\..."  (on Windows XP)
Now you can, if you have an file(s) to open selected, chose "Send to > Shortcut to HippoEDIT.exe" to open the file(s) with HE
Hints:
* you can rename the name of this link "Shortcut to HippoEDIT.exe"  to something like "HippoEDIT"
* you may want to set or not option "Allow multiple instances" with "Tools > Options >General"  to open this files in an already opened HE (or not)

HTH?
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hm.. for me it is till not clear what Arthur mean.

Just search for file (not content) or file list (if mask is used) and open it then in editor?
Something like Windows File search?

If this, I do not think that this is a good place. Because it does not fit by result to all other search types, that looks for content... 
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

For "Find File in Directory"  we can just use an grep tool

Command Line:
C:\WINDOWS\grep.exe -l  -i "5\.2"  c:\test\*.txt
  c:\test\VC1vor.txt
-------------------------------------------- Done --------------------------------------------
Execution Time : 00:00:00


And if once the output is redirected to an new document ...
... we can put the cursor in one of the file names and execute "File > Open Selected File"
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Quote from: alex on March 18, 2009, 11:03:01 PM
Hm.. for me it is till not clear what Arthur mean.

Just search for file (not content) or file list (if mask is used) and open it then in editor?
Something like Windows File search?

If this, I do not think that this is a good place. Because it does not fit by result to all other search types, that looks for content... 

I feel important to clarify that I am missing the "File Search" capability.
Typically, I need to open for edit a file I worked say 3 months ago on. I may recall only a portion of its name, and I need to quickly open it, so I do not want to reach out to external tools just to return back to HE for the file to look at and start submitting its path, for me it is more convenient to use the same Find Dialog because more often than not I end up searching inside this just opened file. I hope this clarifies, otherwise please let me know, besides, UNIX-ish tools like Grep drain my productivity down the pipe.

alex

Hi guys,

I have in ideas something called File Crawler. Which maybe would cover all you needs.
It is not yet implemented, but would be some when.

The idea is following: HE trace all you file activities (inside of HE of course). For example opening files, project, file search directories etc, recent files. Collect all directories involved, and then build a file index in background.
When you want to open any file, you do not need a file open dialog any more (ok, mostly). You use filtering input field for entering file name and open file by enter. Something similar to extended version of project file filter, you have now.

Think about it ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

JJK

QuoteFile Crawler
Wow ! Nice idea... and surely nice feature !

Arthur

Quote from: alex on April 15, 2009, 04:17:36 PM
File Crawler. Think about it ;)

:) :) THAT'S Even Better! :) :)

Perhaps can be done similar to the Clipboard Ring??

PS: I need it already - it is a killer feature!