"Find in Files" equivalent in Atelier?

Is there a function in Atelier that's equivalent to Studio's "Find in Files"? Namely, to search for assets containing a given search pattern across an entire namespace -- not just across files that are currently in the local project.

I've been playing with the search functions in Eclipse, and so far haven't found a combination of options that will search against assets that are only on the server -- I can only get results for assets that are already in my workspace.

  • + 2
  • 0
  • 453
  • 2
  • 5

Answers

Hi Marc,

This feature is not yet implemented and is scheduled for Atelier 1.1. Stay tuned!

Best,

Joyce

Was this added in 1.1, and if so, what are the requirements to use it?

In Eclipse, I go to Search, Atelier Search tab. Near the bottom, I select a Scope, but every server/namespace I select has the red x to the side, indicating that server connection "does not support Atelier text search. Consider updating server." This is with 2017.1.1 HS installs.

For project code, searching locally is not a problem. But occasionally I search in system packages (HS, Ens, EnsLib,...), and I'd rather not pull them locally, since I won't be editing, only looking for how something was implemented.

Scott, Server-side text search is available in projects with connections to servers 2017.2 and higher.

Just as an FYI - Find In Files in Studio is painfully slow. You will find that moving resources in to Atelier will deliver results with much better speed and options for searching. We will be adding a feature as noted to search the server from Atelier but in general I find a client search way more effective.

I don't know about other users but we heavily rely on Find In Files feature of Studio. It becomes very useful and efficient when we're searching for a common change key in all of our DTL classes.  In our experience the search is very reliable and fast   

I've worked around this by creating a comprehensive work-space with Atelier projects for all the databases I need to search. Then I can just drop into shell and use grep/ack. Definitely not as good as Find-in-Files but good enough until Atelier 1.1 and definitely better than firing up a windows VM.

Warning - there is a large storage overhead - mostly in the Atelier/Eclipse .metadata cache especially for large codebases. However operations such as synchronizing and autocomplete perform well.

 

Find in files is a nice Studio feature, but I would say that the Atelier paradigm allows for a much more powerful search by using grep.  All the files that are in your workspace will exist on your hard drive in  your workspace directory in UDL (that is, plaintext format).  So if you wanted to find in files for, say, ^KMB, you can do this:

 

kbaxterMAC:User kbaxter$ grep -iR "KMB" ./

.//TwoGWQueries.mac: s ^KMB = 1

 

Remember, the whole point of Atelier is to move the source of truth from the Database to your Source Control, which will in some cases be linked into your filesystem.  I think grep is a great solution here.