Messages - stahlworks [ switch to compact view ]

Pages: [1] 2 3next
1
Depeche View Lite is a high speed text file search tool for source code, text data (XML, CSV, SQL) and log files.

Main features:
  • loads all text files of a folder into memory
  • shows all file contents in one window as one long text
  • fly over all text by dragging the mouse, like on a Smartphone
  • search as you type, across all files, instantly
  • search a word by clicking on it, instantly
  • side by side view of same text in multiple windows
  • no installation, instant use
  • Free for personal, non commercial use

[attach=#1][/attach]

The download is available here.


2
> Is there any reason the '*' in front of directory inclusions is needed? From the help it seems it is not required
> in the workspace options dialog, but it is from the command line?

the reason is: on the command line, you can specify two kinds of things can be supplied after -dir :
root directory names, and sub folder masks. the latter are identified by "!" or a wildcard "*" anywhere in their name.
For example,
-dir source include *.svn
loads text from root directories source and include if it's located within .svn sub folders.

In the workspace options dialog, it is not possible to supply multiple root directories in the sub directory filter,
as this would be too complicated. instead, every word in "sub directory filter" is auto prefixed by "*" internally,
to make sure it's used as a sub dir filter.

In a nutshell, the command line is more flexible, but for that it requires a more complex syntax.
And the GUI version is reduced but easier to use and understand.

> Would it be possible to add a recently used folder list of some kind?

I'll put it on the todo, but this will take some time.

What can be done right now, especially with DView Pro, is to simply load everything you might need together into memory,
with a long list of -dir folder1 folder2 folder3 -file ... -dir ... -file ... statements, or by specifying a fileset definition file
(dview -h then search for "defining filesets").

Even faster: create snapfiles with SFK, which are archive files containting many text files,
then load that with DView. Snapfiles can also be created from fileset definition files (sfk snapto=cache.txt -fileset myset.txt).

This way, I load a set of 20000 files everyday, containing everything I might need (sourcecode of multiple projects, include files
of different operating systems, open source libraries ...) and then I set the path mask to where I really need to search.

> use the open dialog instead of the browse for folder dialog

I use "GetOpenFileName" for the file open dialog, which cannot be used to select folders.
Also I don't see a big difference: no matter if you select "Load folder" or "Load file",
in both cases you can copy/paste a path into the given text entry field.

3
There is now a pre-release available for download here,
with completely reworked sub folder and file selection.
to select all dirs of current dir except something:
-dir . !foo       -> exclude subdirs like *foo*
-dir . !.foo      -> exclude with extension .foo
-dir . !\foo      -> exclude starting with foo
-dir . !foo\      -> exclude ending with foo
-dir . !\foo\     -> exclude exactly foo
-dir . !\foo\bar\ -> exclude subdir combi
-dir . !*.foo*    -> exclude with .foo anywhere

to select only sub dirs of current dir with something:
-dir . *foo*      -> include paths having *foo*
-dir . *\foo      -> include paths having *\foo
-dir . *foo\      -> include paths having *foo
-dir . *\foo\     -> include paths exactly foo
-dir . *.foo      -> include with extension .foo
-dir . *\foo\bar\ -> include subdir combi

exclusion by filename:
-file !foo        -> exclude all files like *foo*
-file !\foo       -> exclude starting with foo
-file !foo\       -> exclude ending with foo
-file !\foo\      -> exclude exactly foo
-file !.foo       -> exclude extension foo

inclusion by filename:
-file foo         -> include all files like *foo*
-file \foo        -> include starting with foo
-file foo\        -> include ending with foo
-file \foo\       -> include exactly foo
-file .foo .bar   -> select .foo and .bar files
whoever cares, please test:
- loading from command line using -dir ... -file ... parameters.
- running dview without parameters, then configure Setup / Workspace, then load interactively.
- the help text, as shown in Setup / Workspace.
- the help text via help button, then search for "loading filters".
give feedback if the functionality is working as expected, and if it matches the documentation.

4
Please create a config file, then search for "run" or "runback".
I use DView everyday in a multi server environment, running batch files that sync source files to a server,
run a remote compile, then download the results and display that in DView. For example,
on key xbutton1up
   set first.findmask = ""
   set first.pathmask = "c:\project\log.txt"
   first.runback -min "c:\project\zz-compile.bat"
   first.monitor "c:\project\log.txt" delay=300 maxwait=5000 show=bottom
Runs a batch on the 2nd top button of a Razer Naga mouse.
This batch produces an output file "log.txt" which is reloaded and displayed
in the first DView window as long as the file changes.

You may test this all with the 30-days Trial Demo from:
http://stahlworks.com/dev/sfk/DViewProDemoSetup.exe

To repeat, this is typically used to call batch files; try yourself if it allows a smooth
TFS integration, and if you think external command execution could be done better,
please give feedback.

5
No, that's good, you even analyzed all possible workarounds yourself already. Fact is,

> It seems like there is no way to exclude an exact folder name that is a direct subfolder of the
> root of the tree that dview reads?

is true and this is a shortcoming that will be fixed - not just in DView, but also in my command line tool SFK.
I'll keep you updated when it is done!

Pages: [1] 2 3next
Go to full version