Author Topic: Beta 3 File In Files, Liike in "workspace", misses a bunch of stuff.  (Read 1710 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1901
  • Hero Points: 184
  • Text
I've got a workspace with 3 android projects with a total of about 750 files.
When I Find in Workspace, Slick doesn't find as many results as if I Find in directory path recursively.

Just now I searched for TEXT in workspace, slick failed to find it.
I repeated the search with a "LookIn" of the root path for the 3 projects for the same TEXT and slick found it in SomeFile.java as expected.
I verified that SomeFile.java is in fact in the workspace by finding it in  list-buffers->Workspace tab.


Earlier today with Beta2 I inserted STRING into File.java, and then without saving I did a FindInFiles for STRING. Slick found STRING in other files, but not in File.java.
Once I saved File.java, then Slick was able to find it.
I tried reproing this problem tonight but I haven't been able to.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Find in Files, Workspace is failing?   Are your project and workspace SlickEdit native or imported from another project type? And are your projects populated by wildcard?  If you could zip up just your workspace and project files, I can try to replicate the issue.

jporkkahtc

  • Senior Community Member
  • Posts: 1901
  • Hero Points: 184
  • Text
They are projects created via "Open other Workspace, Android Project".
I did that for each of the three projects - creating 3 slick workspaces.
Then from one of those workspaces I added the other two projects - so that I have a single workspace with 3 imported Android projects.

Another test:
Find all ".", Regular expression (UNIX), List filenames only, "<Workspace>", "*.apk;*.cfg;*.dex;*.java;*.png;*.prop;*.properties;*.xml", Exclude: "*.ex;*.dll;*.lib;*.pyc;*.exe;R.java;*.class;"
ListFileNames only.
This should give me a complete list of files searched.
Comparing this to search by path I see an apparently random selection of excluded files.

The projects are using wildcards.
How can I send you files privately?


Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Sending you details via PM.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
I cannot thank you enough for the detailed bug reports and sending in reproducible samples.  There is an error in processing the Exclude parameters.  Instead of excluding R.java, it is excluding *r.java.  This will be fixed in an upcoming beta drop.