Announcement

Collapse
No announcement yet.

Combining reference files for easy search

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    Maybe more people should ask PB if PBEdit could offer the possibility of user defined tools in a future release?
    Not quite the same thing, but "command prompt" is available from IDE .. it's on the File menu, not the Tools menu. (Nope, I don't know why not).

    Leave a comment:


  • Dave Biggs
    replied
    For ease of search, some programmers editors have "Find in files" type search tools built in (Ultra Edit, EditPlus etc).

    Otherwise Windows Grep http://www.wingrep.com/ is very capable too.

    Maybe more people should ask PB if PBEdit could offer the possibility of user defined tools in a future release?

    Leave a comment:


  • Erich Schulman
    replied
    You can also do something like this:
    Code:
    for %f in (*.bas) do type %f >> everything.bas
    If you do this in a batch file, use %%f instead of %f. I like to use "f" for file, but any letter will do.

    The DOS command FOR works like the for of Python, not like the statement in PB or C. Think of it like "foreach".

    Leave a comment:


  • Gary Beene
    started a topic Combining reference files for easy search

    Combining reference files for easy search

    For ease of search, I've found it very useful to combine multiple text files into a single file. For example, I made a file consisting of all the .bas files in the sample folders. I've made similar merged files for other file types.

    The freeware tool I used to do this is called TXTcollector, at http://bluefive.pair.com/txtcollector.htm

    It can combine text file types of different extensions into a single text file.

    It's excellent for easily browsing the content of all the reference files without having to jump from file to file.

    Just thought others would benefit from it as well.

    It's not a PowerBASIC 3rd party tool, so I thought mentioning it here would be appropriate, rather than in the other forum.
Working...
X