Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Search in C# files

Search in C# files

Scheduled Pinned Locked Moved C#
csharphelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Osbahr
    wrote on last edited by
    #1

    Using Windows XP explorer I just tried to search for some words that I know are in comments within some of my .cs files. All the searches turned up empty! I double checked the directory and the spelling. I checked all of the options to be sure case or some other setting was not the issue. Anyone seen this, know why it doesn't work, or what I might be doing wrong? >>>-----> MikeO

    H 1 Reply Last reply
    0
    • M Mike Osbahr

      Using Windows XP explorer I just tried to search for some words that I know are in comments within some of my .cs files. All the searches turned up empty! I double checked the directory and the spelling. I checked all of the options to be sure case or some other setting was not the issue. Anyone seen this, know why it doesn't work, or what I might be doing wrong? >>>-----> MikeO

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Check the Index Server catelog, System, to make sure it indexes files with unknown extensions (you can get to this from the Computer Management MMC snap-in, or by right-clicking on My Computer and clicking Manage). Also, the Index Server does not index files immediately. It catelogs at certain times, usually when your computer is idle. It doesn't happen immediately.

      -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

      K 1 Reply Last reply
      0
      • H Heath Stewart

        Check the Index Server catelog, System, to make sure it indexes files with unknown extensions (you can get to this from the Computer Management MMC snap-in, or by right-clicking on My Computer and clicking Manage). Also, the Index Server does not index files immediately. It catelogs at certain times, usually when your computer is idle. It doesn't happen immediately.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        K Offline
        K Offline
        Kentamanos
        wrote on last edited by
        #3

        I thought the file searching features were just buggy. I was close to having a hit put out on that little wizard guy and his puppy dog friend :). I had no idea... I resorted to installing Cygwin32 just so I could use grep. Any idea how bad the perfomance hit is to have this service constantly indexing all file types (I assume this goes on in the background constantly)?


        I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
        -David St. Hubbins

        H 1 Reply Last reply
        0
        • K Kentamanos

          I thought the file searching features were just buggy. I was close to having a hit put out on that little wizard guy and his puppy dog friend :). I had no idea... I resorted to installing Cygwin32 just so I could use grep. Any idea how bad the perfomance hit is to have this service constantly indexing all file types (I assume this goes on in the background constantly)?


          I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
          -David St. Hubbins

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          As I said, the Indexing Service runs when your computer is idle. To see this in action, see the Indexing Service snap-in. Clicking on the root node will show you the stats and status for each catalog.

          -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups